From b7dceccc3941eb5c87ba0bb671199d0d6c8ffc09 Mon Sep 17 00:00:00 2001 From: Syphax Bouazzouni Date: Thu, 2 Nov 2023 07:25:29 +0100 Subject: [PATCH] tmp --- .eslintrc.js | 26 + .../workflows/dependencies-security-audit.yml | 25 + .github/workflows/js-lint.yml | 35 + .github/workflows/lint-rubocop.yml | 48 + .github/workflows/tests.yml | 51 + Capfile | 8 +- Dockerfile | 34 +- Gemfile | 51 +- Gemfile.lock | 76 +- Rakefile | 4 +- .../agent_search_input_component.rb | 3 +- app/components/alerts_container_component.rb | 1 - .../buttons/regular_button_component.rb | 86 +- app/components/card_message_component.rb | 46 +- app/components/chip_button_component.rb | 18 +- app/components/chips_component.rb | 27 +- .../circle_progress_bar_component.rb | 3 +- app/components/collapsable_block_component.rb | 3 +- app/components/concept_details_component.rb | 42 +- app/components/date_time_field_component.rb | 4 +- app/components/display/alert_component.rb | 67 +- .../display/button_loader_component.rb | 30 +- app/components/display/header_component.rb | 28 +- app/components/display/image_component.rb | 47 +- .../display/info_tooltip_component.rb | 19 +- app/components/dropdown_button_component.rb | 1 - .../dropdown_container_component.rb | 2 +- .../dropdown_section_button_component.rb | 1 - .../external_link_text_component.rb | 1 - app/components/field_container_component.rb | 1 - app/components/infinite_scroll_component.rb | 2 - app/components/input/date_component.rb | 21 +- app/components/input/email_component.rb | 15 +- app/components/input/file_input_component.rb | 11 +- app/components/input/input_field_component.rb | 68 +- .../input/language_selector_component.rb | 38 +- app/components/input/password_component.rb | 15 +- app/components/input/select_component.rb | 35 +- app/components/input/text_area_component.rb | 10 +- app/components/input/text_input_component.rb | 19 +- app/components/input/url_component.rb | 15 +- app/components/label_link_component.rb | 1 - app/components/language_field_component.rb | 8 +- .../language_field_component.html.haml | 2 +- app/components/layout/card_component.rb | 16 +- .../layout/horizontal_list_component.rb | 21 +- app/components/layout/list_component.rb | 23 +- .../layout/progress_pages_component.rb | 13 +- app/components/layout/reveal_component.rb | 30 +- app/components/license_field_component.rb | 4 +- app/components/link_field_component.rb | 3 - app/components/link_text_component.rb | 1 - .../nested_agent_search_input_component.rb | 6 +- .../nested_form_inputs_component.rb | 1 - app/components/notification_component.rb | 4 +- .../ontology_browse_card_component.rb | 4 +- .../ontology_search_input_component.rb | 1 - app/components/pill_button_component.rb | 1 - app/components/popup_link_text_component.rb | 2 - app/components/rounded_button_component.rb | 19 +- app/components/search_input_component.rb | 9 +- app/components/select_input_component.rb | 8 +- app/components/square_badge_component.rb | 5 +- .../submission_metadata_component.rb | 50 +- app/components/submission_status_component.rb | 21 +- app/components/summary_section_component.rb | 2 +- app/components/switch_input_component.rb | 6 +- app/components/tab_item_component.rb | 3 - app/components/table_cell_component.rb | 3 +- app/components/table_component.rb | 5 +- app/components/table_row_component.rb | 7 +- app/components/tabs_container_component.rb | 1 - app/components/text_area_field_component.rb | 6 +- .../tree_infinite_scroll_component.rb | 2 +- app/components/turbo_frame_component.rb | 4 +- app/components/turbo_modal_component.rb | 1 - app/controllers/about_controller.rb | 5 +- .../admin/categories_controller.rb | 183 +- app/controllers/admin/groups_controller.rb | 178 +- app/controllers/admin/licenses_controller.rb | 42 +- app/controllers/admin_controller.rb | 196 +- app/controllers/agents_controller.rb | 36 +- app/controllers/ajax_proxy_controller.rb | 61 +- app/controllers/analytics_controller.rb | 42 +- app/controllers/annotator_controller.rb | 187 +- app/controllers/annotatorplus_controller.rb | 178 +- app/controllers/application_controller.rb | 435 +- app/controllers/collections_controller.rb | 10 +- app/controllers/concepts_controller.rb | 117 +- .../concerns/mapping_statistics.rb | 29 +- app/controllers/concerns/ontology_updater.rb | 16 +- app/controllers/concerns/submission_filter.rb | 33 +- .../concerns/submission_updater.rb | 65 +- app/controllers/errors_controller.rb | 4 +- app/controllers/fair_score_controller.rb | 5 +- app/controllers/history_controller.rb | 21 +- app/controllers/home_controller.rb | 44 +- app/controllers/instances_controller.rb | 17 +- app/controllers/label_xl_controller.rb | 7 +- app/controllers/landscape_controller.rb | 620 +- app/controllers/language_controller.rb | 32 +- app/controllers/login_controller.rb | 91 +- app/controllers/mappings_controller.rb | 98 +- .../ncbo_annotatorplus_controller.rb | 178 +- app/controllers/notes_controller.rb | 74 +- app/controllers/ontolobridge_controller.rb | 37 +- app/controllers/ontologies_controller.rb | 170 +- .../ontologies_metadata_curator_controller.rb | 54 +- app/controllers/precache_controller.rb | 27 +- app/controllers/projects_controller.rb | 46 +- app/controllers/recommender_controller.rb | 9 +- app/controllers/redirect_controller.rb | 17 +- app/controllers/reviews_controller.rb | 68 +- app/controllers/robots_controller.rb | 14 +- app/controllers/schemes_controller.rb | 8 +- app/controllers/search_controller.rb | 101 +- app/controllers/submissions_controller.rb | 41 +- app/controllers/subscriptions_controller.rb | 51 +- app/controllers/users_controller.rb | 147 +- .../virtual_appliance_controller.rb | 11 +- app/controllers/visits_controller.rb | 8 +- app/decorators/base_decorator.rb | 6 +- app/decorators/note_decorator.rb | 30 +- app/decorators/view_decorator.rb | 9 +- app/helpers/about_helper.rb | 2 + app/helpers/admin/licenses_helper.rb | 29 +- app/helpers/admin_helper.rb | 2 + app/helpers/agent_helper.rb | 24 +- app/helpers/application_helper.rb | 351 +- app/helpers/collections_helper.rb | 14 +- app/helpers/components_helper.rb | 15 +- app/helpers/concepts_helper.rb | 27 +- app/helpers/error_helpers.rb | 16 +- app/helpers/fair_score_helper.rb | 52 +- app/helpers/home_helper.rb | 13 +- app/helpers/inputs_helper.rb | 12 +- app/helpers/instances_helper.rb | 33 +- app/helpers/label_xl_helper.rb | 5 +- app/helpers/landscape_helper.rb | 2 + app/helpers/mappings_helper.rb | 107 +- app/helpers/metadata_helper.rb | 34 +- app/helpers/modal_helper.rb | 3 +- app/helpers/multi_languages_helper.rb | 6 +- app/helpers/notes_helper.rb | 65 +- app/helpers/ontologies_helper.rb | 173 +- app/helpers/ontology_metrics_helper.rb | 34 +- app/helpers/reviews_helper.rb | 4 +- app/helpers/schemes_helper.rb | 19 +- app/helpers/submission_inputs_helper.rb | 78 +- app/helpers/submissions_helper.rb | 104 +- app/helpers/turbo_helper.rb | 17 +- app/jobs/application_job.rb | 2 + app/lib/kgcl/issue_content_generator.rb | 2 +- app/mailers/application_mailer.rb | 3 +- app/mailers/notifier.rb | 30 +- app/mailers/subscribe_mailer.rb | 75 +- app/models/analytics.rb | 2 + app/models/application_record.rb | 4 +- app/models/bpid_resolver.rb | 23 +- app/models/history.rb | 4 +- app/models/license.rb | 8 +- app/models/mapping_page.rb | 2 + app/models/ontology.rb | 4 +- app/models/remote_file.rb | 32 +- .../resource_index_result_paginatable.rb | 10 +- app/models/virtual_appliance_user.rb | 2 + app/services/application_service.rb | 4 +- app/services/issue_creator_service.rb | 4 +- app/services/license_key_decrypter.rb | 10 +- app/validators/encrypted_key_validator.rb | 12 +- .../virtual_appliance_id_validator.rb | 22 +- app/views/projects/index.html.haml | 2 +- bin/bundle | 2 + bin/rails | 8 +- bin/rake | 6 +- bin/setup | 18 +- bin/update | 2 + bin/wait-for-it | 182 + bin/yarn | 16 +- config.ru | 4 +- config/application.rb | 15 +- config/bioportal_config_test.rb | 172 + config/boot.rb | 6 +- config/database.yml.sample | 3 +- config/deploy.rb | 19 +- config/deploy/appliance.rb | 18 +- config/deploy/production.rb | 14 +- config/deploy/staging.rb | 14 +- config/environment.rb | 4 +- config/environments/appliance.rb | 8 +- config/environments/development.rb | 14 +- config/environments/production.rb | 19 +- config/environments/staging.rb | 9 +- config/environments/test.rb | 10 +- .../application_controller_renderer.rb | 1 + config/initializers/assets.rb | 4 +- config/initializers/backtrace_silencers.rb | 4 +- config/initializers/cache_output.rb | 3 +- .../initializers/content_security_policy.rb | 1 + config/initializers/cookies_serializer.rb | 2 + config/initializers/cube_reporter.rb | 22 +- .../initializers/filter_parameter_logging.rb | 6 +- config/initializers/haml.rb | 4 +- config/initializers/inflections.rb | 1 + config/initializers/mime_types.rb | 1 + config/initializers/miniprofiler.rb | 2 + config/initializers/monkeypatches.rb | 4 +- .../new_framework_defaults_6_0.rb | 2 + .../new_framework_defaults_6_1.rb | 1 + .../new_framework_defaults_7_0.rb | 1 + config/initializers/omniauth.rb | 7 +- config/initializers/ontologies_api_client.rb | 2 + config/initializers/open_uri_no_temp_files.rb | 11 +- .../initializers/passenger_memcache_reset.rb | 26 +- config/initializers/permissions_policy.rb | 1 + config/initializers/recaptcha.rb | 2 + config/initializers/session_store.rb | 2 + config/initializers/sigtrap.rb | 4 +- config/initializers/wrap_parameters.rb | 2 + config/initializers/zeitwerk.rb | 8 + config/puma.rb | 8 +- config/routes.rb | 84 +- config/spring.rb | 6 +- ...14000857_create_virtual_appliance_users.rb | 2 + .../20120223203256_create_timeouts_table.rb | 2 + db/migrate/20120719010735_create_analytics.rb | 2 + ...3_change_virtual_appliance_user_id_type.rb | 2 + db/migrate/20140306012927_drop_old_tables.rb | 40 +- ...20150806211835_change_slice_column_name.rb | 2 + db/migrate/20200220191815_create_licenses.rb | 2 + .../20200921120918_create_ontologies.rb | 2 + db/schema.rb | 66 +- db/seeds.rb | 1 + docker-compose.yml | 24 +- eslint-output.json | 1 + lib/log.rb | 28 +- lib/resolver/acronym_from_virtual.rb | 1070 +- lib/resolver/virtual_from_acronym.rb | 1066 +- lib/resolver/virtual_from_version.rb | 14288 ++++++++-------- lib/tasks/generate_component_previews.rake | 26 +- package.json | 16 +- public/dispatch.fcgi | 4 +- public/dispatch.rb | 13 +- script/about | 6 +- script/breakpointer | 6 +- script/console | 4 +- script/dbconsole | 4 +- script/destroy | 6 +- script/generate | 6 +- script/performance/benchmarker | 4 +- script/performance/profiler | 4 +- script/plugin | 6 +- script/process/inspector | 4 +- script/process/reaper | 4 +- script/process/spawner | 4 +- script/rails | 6 +- script/runner | 6 +- script/server | 4 +- script/ssl_server | 83 +- .../alerts_container_component_spec.rb | 2 +- spec/components/turbo_frame_component_spec.rb | 2 +- spec/components/turbo_modal_component_spec.rb | 2 +- spec/mailers/subscribe_spec.rb | 32 +- spec/models/license_spec.rb | 86 +- spec/rails_helper.rb | 4 +- spec/spec_helper.rb | 98 +- .../buttons/chip_button_component_preview.rb | 18 +- ...logy_subscribe_button_component_preview.rb | 8 +- .../buttons/pill_button_component_preview.rb | 10 +- .../regular_button_component_preview.rb | 83 +- .../rounded_button_component_preview.rb | 15 +- .../concept_details_component_preview.rb | 31 +- .../display/alert_component_preview.rb | 67 +- .../circle_progress_bar_component_preview.rb | 13 +- .../date_time_field_component_preview.rb | 16 +- .../field_container_component_preview.rb | 15 +- .../display/header_component_preview.rb | 13 +- .../display/image_component_preview.rb | 8 +- .../display/info_tooltip_component_preview.rb | 11 +- .../language_field_component_preview.rb | 14 +- .../license_field_component_preview.rb | 14 +- .../display/link_field_component_preview.rb | 14 +- .../display/link_text_component_preview.rb | 37 +- .../text_area_field_component_preview.rb | 21 +- .../previews/input/chips_component_preview.rb | 14 +- .../input/input_field_component_preview.rb | 183 +- .../nested_form_input_component_preview.rb | 27 +- .../input/select_component_preview.rb | 45 +- .../input/switch_input_component_preview.rb | 11 +- .../previews/layout/card_component_preview.rb | 12 +- .../layout/card_message_component_preview.rb | 31 +- .../dropdown_container_component_preview.rb | 17 +- .../previews/layout/list_component_preview.rb | 22 +- .../progress_pages_component_preview.rb | 17 +- .../summary_section_component_preview.rb | 27 +- .../layout/table_component_preview.rb | 56 +- .../tabs_container_component_preview.rb | 110 +- .../layout/turbo_modal_component_preview.rb | 20 +- .../previews/loader_component_preview.rb | 1 - .../notification_component_preview.rb | 9 +- .../application_controller_test.rb | 15 + test/controllers/landscape_controller_test.rb | 6 +- .../controllers/ontologies_controller_test.rb | 21 + test/models/virtual_appliance_user_test.rb | 4 +- test/test_helper.rb | 18 +- yarn-error.log | 2216 +++ yarn.lock | 1902 ++ 307 files changed, 17389 insertions(+), 12314 deletions(-) create mode 100644 .eslintrc.js create mode 100644 .github/workflows/dependencies-security-audit.yml create mode 100644 .github/workflows/js-lint.yml create mode 100644 .github/workflows/lint-rubocop.yml create mode 100644 .github/workflows/tests.yml mode change 100644 => 100755 Rakefile create mode 100755 bin/wait-for-it create mode 100644 config/bioportal_config_test.rb create mode 100644 config/initializers/zeitwerk.rb create mode 100644 eslint-output.json create mode 100644 test/controllers/application_controller_test.rb create mode 100644 test/controllers/ontologies_controller_test.rb create mode 100644 yarn-error.log diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000000..bc47b8fe31 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,26 @@ +module.exports = { + env: { + browser: true, + es2021: true + }, + extends: 'standard', + overrides: [ + { + env: { + node: true + }, + files: [ + '.eslintrc.{js,cjs}' + ], + parserOptions: { + sourceType: 'script' + } + } + ], + parserOptions: { + ecmaVersion: 'latest', + sourceType: 'module' + }, + rules: { + } +} diff --git a/.github/workflows/dependencies-security-audit.yml b/.github/workflows/dependencies-security-audit.yml new file mode 100644 index 0000000000..90489c65b8 --- /dev/null +++ b/.github/workflows/dependencies-security-audit.yml @@ -0,0 +1,25 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. +# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake +# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby +name: "Security audit dependencies" +on: + push: + branches: [ master , development ] + pull_request: + branches: [ master , development] +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Install Ruby and gems + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.7.8 + bundler-cache: true + - name: Security audit dependencies + run: bundle exec bundler-audit --update \ No newline at end of file diff --git a/.github/workflows/js-lint.yml b/.github/workflows/js-lint.yml new file mode 100644 index 0000000000..1f7e4a9cd7 --- /dev/null +++ b/.github/workflows/js-lint.yml @@ -0,0 +1,35 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. +# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake +# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby +name: "Lint JS files using eslint" + +on: + push: + pull_request_target: + types: [ opened, reopened ] +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v1 + with: + node-version: '16' + + - name: Install dependencies + run: yarn install --frozen-lockfile + + - name: Run ESLint and generate SARIF output + run: bach -c "yarn lint:report | exit 0" + - name: Upload SARIF output + uses: github/codeql-action/upload-sarif@v1 + with: + sarif_file: eslint-results.sarif + wait-for-processing: true \ No newline at end of file diff --git a/.github/workflows/lint-rubocop.yml b/.github/workflows/lint-rubocop.yml new file mode 100644 index 0000000000..7cf318db03 --- /dev/null +++ b/.github/workflows/lint-rubocop.yml @@ -0,0 +1,48 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. +# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake +# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby +name: "Lint Ruby files using Rubocop" + +on: + push: + pull_request_target: + types: [ opened, reopened ] + +jobs: + rubocop: + runs-on: ubuntu-latest + strategy: + fail-fast: false + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + # If running on a self-hosted runner, check it meets the requirements + # listed at https://github.com/ruby/setup-ruby#using-self-hosted-runners + - name: Set up Ruby + uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 + with: + ruby-version: 2.7.8 + + # This step is not necessary if you add the gem to your Gemfile + - name: Install Code Scanning integration + run: bundle add code-scanning-rubocop --version 0.3.0 --skip-install + + - name: Install dependencies + run: bundle install + + - name: Rubocop run + run: | + bash -c " + bundle exec rubocop --require code_scanning --format CodeScanning::SarifFormatter -o rubocop.sarif + [[ $? -ne 2 ]] + " + + - name: Upload Sarif output + uses: github/codeql-action/upload-sarif@v2 + with: + sarif_file: rubocop.sarif diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000000..ec6dde7e74 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,51 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. +# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake +# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby +name: "Ruby on Rails CI" + +on: + push: + pull_request_target: + types: [ opened, reopened ] +env: + API_URL: ${{ secrets.API_URL }} + API_KEY: ${{ secrets.API_KEY }} + BIOMIXER_URL: ${{ secrets.BIOMIXER_URL }} + FAIRNESS_URL: ${{ secrets.FAIRNESS_URL }} + ANNOTATOR_URL: ${{ secrets.ANNOTATOR_URL }} +jobs: + test: + runs-on: ubuntu-latest + services: + mysql: + image: mysql:latest + ports: + - "3306:3306" + env: + MYSQL_ROOT_PASSWORD: 'bp_user' + memcached: + image: memcached:1.6 + ports: + - 11211:11211 + steps: + - name: Checkout code + uses: actions/checkout@v3 + # Add or replace dependency steps here + - name: Install Ruby and gems + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.7.8 + bundler-cache: true + # Add or replace database setup steps here + - name: set up config file + run: cp config/database.yml.sample config/database.yml + - name: Set up database schema + run: RAILS_ENV=test bin/rails db:setup + - name: Set up yarn + run: yarn install + # Add or replace test runners here + - name: Run tests + run: RAILS_ENV=test bin/rails test -v \ No newline at end of file diff --git a/Capfile b/Capfile index 8cbf6f87e4..1b52aa2baa 100644 --- a/Capfile +++ b/Capfile @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # Load DSL and Setup Up Stages require 'capistrano/setup' @@ -18,10 +20,10 @@ require 'capistrano/deploy' # require 'capistrano/rbenv' # require 'capistrano/chruby' require 'capistrano/bundler' -require "capistrano/scm/git" +require 'capistrano/scm/git' install_plugin Capistrano::SCM::Git -#require 'capistrano/rails/assets' -#require 'capistrano/rails/migrations' +# require 'capistrano/rails/assets' +# require 'capistrano/rails/migrations' require 'capistrano/rails' require 'capistrano/yarn' require 'capistrano/locally' diff --git a/Dockerfile b/Dockerfile index 88f019fdb5..d5950edb14 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:2.7.5-alpine AS app +FROM ruby:2.7.8-alpine AS app WORKDIR /app @@ -17,34 +17,26 @@ RUN apk add --no-cache \ less \ && addgroup --gid ${GID} ruby \ && adduser -u ${UID} -G ruby -D ruby \ - && chown ruby:ruby -R /app \ - && mkdir /node_modules \ - && chown ruby:ruby -R /node_modules /app + && mkdir /node_modules -USER ruby - -COPY --chown=ruby:ruby bin/ ./bin -RUN chmod 0755 bin/* +COPY --chown=ruby:ruby Gemfile* ./ +COPY --chown=ruby:ruby package.json *yarn* ./ -ARG RAILS_ENV="production" +# Set ownership and permissions +RUN chown -R ruby:ruby /app -ENV RAILS_ENV="${RAILS_ENV}" \ - NODE_ENV="${NODE_ENV}" \ - PATH="${PATH}:/home/ruby/.local/bin:/node_modules/.bin" \ - USER="ruby" \ - BUNDLE_PATH=/usr/local/bundle +USER ruby -COPY --chown=ruby:ruby Gemfile* ./ +# Install dependencies RUN bundle install --jobs "$(nproc)" -RUN gem install rails - - +RUN gem install rails +RUN yarn install RUN echo "--modules-folder /node_modules" > .yarnrc -COPY --chown=ruby:ruby package.json *yarn* ./ -RUN yarn install +# Copy application code +COPY --chown=ruby:ruby . . EXPOSE 3000 -CMD ["sh"] \ No newline at end of file +CMD ["bash"] \ No newline at end of file diff --git a/Gemfile b/Gemfile index fd3d45f4bb..b51aff080a 100644 --- a/Gemfile +++ b/Gemfile @@ -5,8 +5,8 @@ gem 'rails', '7.0.3' gem 'jsbundling-rails' -gem 'sassc-rails' #sass-rails replacent -gem 'terser' #ugilifer replacent +gem 'sassc-rails' # sass-rails replacent +gem 'terser' # ugilifer replacent # See https://github.com/rails/execjs#readme for more supported runtimes # gem 'therubyracer', platforms: :ruby @@ -18,11 +18,9 @@ gem 'jquery-rails' gem 'jquery-ui-rails' gem 'select2-rails' - # The original asset pipeline for Rails [https://github.com/rails/sprockets-rails] gem 'sprockets-rails' - # Use the Puma web server [https://github.com/puma/puma] gem 'puma', '~> 5.0' @@ -36,10 +34,10 @@ gem 'turbo-rails' gem 'stimulus-rails' # Build JSON APIs with ease [https://github.com/rails/jbuilder] -#gem "jbuilder" +# gem "jbuilder" # Windows does not include zoneinfo files, so bundle the tzinfo-data gem -gem 'tzinfo-data', platforms: %i[ mingw mswin x64_mingw jruby ] +gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby] # To use ActiveModel has_secure_password # gem 'bcrypt-ruby', '~> 3.0.0' @@ -50,41 +48,42 @@ gem 'bootsnap', require: false gem 'cube-ruby', require: 'cube' gem 'dalli' +gem 'flag-icons-rails', '~> 3.4' gem 'flamegraph' gem 'graphql-client' gem 'haml', '~> 5.1' gem 'i18n' -gem 'rails-i18n', '~> 7.0.0' gem 'iconv' +gem 'inline_svg' +gem 'iso-639', '~> 0.3.6' +gem 'lookbook', '~> 1.5.5' gem 'multi_json' -gem 'mysql2', '0.5.3' +gem 'mysql2' gem 'oj' +gem 'ontologies_api_client', git: 'https://github.com/ontoportal-lirmm/ontologies_api_ruby_client.git', + branch: 'development' gem 'open_uri_redirections' gem 'pry' -gem 'psych', '< 4' +gem 'psych' gem 'rack-mini-profiler' gem 'rails_autolink' +gem 'rails-i18n', '~> 7.0.0' gem 'rdoc' gem 'recaptcha', '~> 5.9.0' gem 'rest-client' gem 'stackprof', require: false gem 'thin' -gem 'view_component', '~> 2.72' gem 'turnout' +gem 'view_component', '~> 2.72' gem 'will_paginate', '~> 3.0' -gem 'inline_svg' -gem "lookbook", '~> 1.5.5' -gem 'ontologies_api_client', git: 'https://github.com/ontoportal-lirmm/ontologies_api_ruby_client.git', branch: 'development' -gem "flag-icons-rails", "~> 3.4" -gem "iso-639", "~> 0.3.6" # Multi-Provider Authentication gem 'omniauth' -gem "omniauth-rails_csrf_protection" gem 'omniauth-github' gem 'omniauth-google-oauth2' -gem 'omniauth-orcid' gem 'omniauth-keycloak' +gem 'omniauth-orcid' +gem 'omniauth-rails_csrf_protection' group :staging, :production, :appliance do # application monitoring @@ -106,21 +105,22 @@ group :development do gem 'ed25519', '>= 1.2', '< 2.0', require: false # https://github.com/miloserdow/capistrano-deploy/issues/42 gem 'html2haml' gem 'listen' - # static code analysis - gem 'brakeman', require: false - gem 'rubocop', require: false # gem 'i18n-debug' # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem - gem 'debug', platforms: %i[ mri mingw x64_mingw ] + gem 'debug', platforms: %i[mri mingw x64_mingw] # Use console on exceptions pages [https://github.com/rails/web-console] - gem 'web-console' - gem 'i18n-tasks' gem 'deepl-rb' + gem 'i18n-tasks' + gem 'web-console' end group :test, :development do + gem 'brakeman' gem 'rspec-rails' + gem 'rubocop' + gem 'rubocop-rails' + gem 'ruby_audit' end group :test do @@ -130,7 +130,4 @@ group :test do gem 'webdrivers' end - -gem "net-ftp", "~> 0.2.0", require: false -gem "net-http" - +gem 'net-ftp', '~> 0.2.0', require: false \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index e1035012ca..01f503b979 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -101,7 +101,7 @@ GEM smart_properties bindata (2.4.15) bindex (0.8.1) - bootsnap (1.16.0) + bootsnap (1.17.0) msgpack (~> 1.2) bootstrap (4.2.1) autoprefixer-rails (>= 9.1.0) @@ -109,6 +109,9 @@ GEM sassc-rails (>= 2.0.0) brakeman (5.4.1) builder (3.2.4) + bundler-audit (0.9.1) + bundler (>= 1.2.0, < 3) + thor (~> 1.0) capistrano (3.18.0) airbrussh (>= 1.0.0) i18n @@ -156,7 +159,7 @@ GEM erubi (1.12.0) erubis (2.7.0) eventmachine (1.2.7) - excon (0.103.0) + excon (0.104.0) execjs (2.9.1) faraday (2.0.1) faraday-net_http (~> 2.0) @@ -169,13 +172,13 @@ GEM faraday-multipart (1.0.4) multipart-post (~> 2) faraday-net_http (2.1.0) - ffi (1.16.1) + ffi (1.16.3) flag-icons-rails (3.4.6.1) sass-rails flamegraph (0.9.5) globalid (1.2.1) activesupport (>= 6.1) - graphql (2.1.3) + graphql (2.1.6) racc (~> 1.4) graphql-client (0.18.0) activesupport (>= 3.0) @@ -197,20 +200,21 @@ GEM domain_name (~> 0.5) i18n (1.14.1) concurrent-ruby (~> 1.0) - i18n-tasks (1.0.12) + i18n-tasks (1.0.13) activesupport (>= 4.0.2) ast (>= 2.1.0) better_html (>= 1.0, < 3.0) erubi highline (>= 2.0.0) i18n - parser (>= 2.2.3.0) + parser (>= 3.2.2.1) rails-i18n rainbow (>= 2.2.2, < 4.0) terminal-table (>= 1.5.1) iconv (1.0.8) - importmap-rails (1.2.1) + importmap-rails (1.2.3) actionpack (>= 6.0.0) + activesupport (>= 6.0.0) railties (>= 6.0.0) inline_svg (1.9.0) activesupport (>= 3.0) @@ -274,13 +278,11 @@ GEM multi_json (1.15.0) multi_xml (0.6.0) multipart-post (2.3.0) - mysql2 (0.5.3) + mysql2 (0.5.5) net-ftp (0.2.0) net-protocol time - net-http (0.3.2) - uri - net-imap (0.4.1) + net-imap (0.4.3) date net-protocol net-pop (0.1.2) @@ -293,7 +295,8 @@ GEM net-protocol net-ssh (7.2.0) netrc (0.11.0) - newrelic_rpm (9.5.0) + newrelic_rpm (9.6.0) + base64 nio4r (2.5.9) nokogiri (1.15.4-x86_64-darwin) racc (~> 1.4) @@ -341,11 +344,12 @@ GEM pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) - psych (3.3.4) + psych (5.1.1.1) + stringio public_suffix (5.0.3) puma (5.6.7) nio4r (~> 2.0) - racc (1.7.1) + racc (1.7.2) rack (2.2.8) rack-accept (0.4.5) rack (>= 0.4) @@ -391,16 +395,17 @@ GEM thor (~> 1.0) zeitwerk (~> 2.5) rainbow (3.1.1) - rake (13.0.6) + rake (13.1.0) rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) - rdoc (6.3.3) + rdoc (6.5.0) + psych (>= 4.0.0) recaptcha (5.9.0) json redcarpet (3.6.0) - regexp_parser (2.8.1) - reline (0.3.8) + regexp_parser (2.8.2) + reline (0.3.9) io-console (~> 0.5) rest-client (2.1.0) http-accept (>= 1.7.0, < 2.0) @@ -408,7 +413,7 @@ GEM mime-types (>= 1.16, < 4.0) netrc (~> 0.8) rexml (3.2.6) - rouge (4.1.3) + rouge (4.2.0) rspec-core (3.12.2) rspec-support (~> 3.12.0) rspec-expectations (3.12.3) @@ -426,8 +431,7 @@ GEM rspec-mocks (~> 3.12) rspec-support (~> 3.12) rspec-support (3.12.1) - rubocop (1.56.3) - base64 (~> 0.1.1) + rubocop (1.57.2) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -438,10 +442,16 @@ GEM rubocop-ast (>= 1.28.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.29.0) + rubocop-ast (1.30.0) parser (>= 3.2.1.0) + rubocop-rails (2.22.1) + activesupport (>= 4.2.0) + rack (>= 1.1) + rubocop (>= 1.33.0, < 2.0) ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) + ruby_audit (2.2.0) + bundler-audit (~> 0.9.0) ruby_dig (0.0.2) ruby_parser (3.20.3) sexp_processor (~> 4.16) @@ -480,16 +490,17 @@ GEM stackprof (0.2.25) stimulus-rails (1.3.0) railties (>= 6.0.0) - temple (0.10.2) + stringio (3.0.8) + temple (0.10.3) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) - terser (1.1.18) + terser (1.1.19) execjs (>= 0.3.0, < 3) thin (1.8.2) daemons (~> 1.0, >= 1.0.9) eventmachine (~> 1.0, >= 1.0.4) rack (>= 1, < 3) - thor (1.2.2) + thor (1.3.0) tilt (2.3.0) time (0.2.2) date @@ -509,7 +520,6 @@ GEM unf_ext unf_ext (0.0.8.2) unicode-display_width (2.5.0) - uri (0.12.2) version_gem (1.1.3) view_component (2.82.0) activesupport (>= 5.2.0, < 8.0) @@ -532,12 +542,11 @@ GEM xpath (3.2.0) nokogiri (~> 1.8) yard (0.9.34) - zeitwerk (2.6.11) + zeitwerk (2.6.12) PLATFORMS - x86_64-darwin-21 + x86_64-darwin-23 x86_64-linux - x86_64-linux-musl DEPENDENCIES bcrypt_pbkdf (>= 1.0, < 2.0) @@ -574,9 +583,8 @@ DEPENDENCIES listen lookbook (~> 1.5.5) multi_json - mysql2 (= 0.5.3) + mysql2 net-ftp (~> 0.2.0) - net-http newrelic_rpm oj omniauth @@ -588,7 +596,7 @@ DEPENDENCIES ontologies_api_client! open_uri_redirections pry - psych (< 4) + psych puma (~> 5.0) rack-mini-profiler rails (= 7.0.3) @@ -599,6 +607,8 @@ DEPENDENCIES rest-client rspec-rails rubocop + rubocop-rails + ruby_audit sassc-rails select2-rails selenium-webdriver @@ -616,4 +626,4 @@ DEPENDENCIES will_paginate (~> 3.0) BUNDLED WITH - 2.4.12 + 2.4.21 diff --git a/Rakefile b/Rakefile old mode 100644 new mode 100755 index 59ea504776..78cd2cb4f9 --- a/Rakefile +++ b/Rakefile @@ -1,7 +1,9 @@ #!/usr/bin/env rake +# frozen_string_literal: true + # Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. -require File.expand_path('../config/application', __FILE__) +require File.expand_path('config/application', __dir__) BioportalWebUi::Application.load_tasks diff --git a/app/components/agent_search_input_component.rb b/app/components/agent_search_input_component.rb index 3bebfa5655..a9e4ce63ab 100644 --- a/app/components/agent_search_input_component.rb +++ b/app/components/agent_search_input_component.rb @@ -1,8 +1,7 @@ # frozen_string_literal: true class AgentSearchInputComponent < ViewComponent::Base - - def initialize(id:, agent_type: nil, name_prefix: nil, parent_id: , edit_on_modal: false) + def initialize(id:, parent_id:, agent_type: nil, name_prefix: nil, edit_on_modal: false) super @id = id @agent_type = agent_type diff --git a/app/components/alerts_container_component.rb b/app/components/alerts_container_component.rb index 43681a9e02..ca602af644 100644 --- a/app/components/alerts_container_component.rb +++ b/app/components/alerts_container_component.rb @@ -5,5 +5,4 @@ class AlertsContainerComponent < ViewComponent::Base def initialize(id:) @id = id end - end diff --git a/app/components/buttons/regular_button_component.rb b/app/components/buttons/regular_button_component.rb index 1e994e8039..e422d0cf8a 100644 --- a/app/components/buttons/regular_button_component.rb +++ b/app/components/buttons/regular_button_component.rb @@ -1,49 +1,57 @@ -class Buttons::RegularButtonComponent < ViewComponent::Base - renders_one :icon_left - renders_one :icon_right +# frozen_string_literal: true - def initialize(id: , value:, variant: "primary", color: "normal", href: "", size: "normal", state: "animate", type: 'button') - @id = id - @value = value - @variant = variant - @color = color - @href = href - @size = size - @state = state - @type = type - end +module Buttons + class RegularButtonComponent < ViewComponent::Base + renders_one :icon_left + renders_one :icon_right - def button_label - hide_icon_left = icon_left == nil ? "hide" : " " - hide_icon_right = icon_right == nil ? "hide" : " " - content_tag(:span, icon_left, class: "#{@variant}-button-icon left-button-icon #{hide_icon_left}") + content_tag(:div, @value) + content_tag(:span, icon_right, class: "#{@variant}-button-icon right-button-icon #{hide_icon_right}") - end + def initialize(id:, value:, variant: 'primary', color: 'normal', href: '', size: 'normal', state: 'animate', + type: 'button') + @id = id + @value = value + @variant = variant + @color = color + @href = href + @size = size + @state = state + @type = type + end - def button_elem - slim_class = @size == "slim" ? "slim " : " " - danger_class = @color == "danger" ? "danger-button " : " " - warning_class = @color == "warning" ? "warning-button " : " " - disabled_class = @state == "disabled" ? "disabled-button " : " " - class_style = "#{@variant}-button regular-button " + danger_class + warning_class + disabled_class + slim_class - on_click_event = load_animation? ? "displayAnimation(this, '#{@id}-loading-animation')" : '' + def button_label + hide_icon_left = icon_left.nil? ? 'hide' : ' ' + hide_icon_right = icon_right.nil? ? 'hide' : ' ' + content_tag(:span, icon_left, + class: "#{@variant}-button-icon left-button-icon #{hide_icon_left}") + content_tag(:div, + @value) + content_tag( + :span, icon_right, class: "#{@variant}-button-icon right-button-icon #{hide_icon_right}" + ) + end - if link? - link_to(@href, class: class_style, onclick: on_click_event, id: @id) do - button_label - end - else - button_tag(type: @type, class: class_style, onclick: on_click_event, id: @id) do - button_label + def button_elem + slim_class = @size == 'slim' ? 'slim ' : ' ' + danger_class = @color == 'danger' ? 'danger-button ' : ' ' + warning_class = @color == 'warning' ? 'warning-button ' : ' ' + disabled_class = @state == 'disabled' ? 'disabled-button ' : ' ' + class_style = "#{@variant}-button regular-button " + danger_class + warning_class + disabled_class + slim_class + on_click_event = load_animation? ? "displayAnimation(this, '#{@id}-loading-animation')" : '' + + if link? + link_to(@href, class: class_style, onclick: on_click_event, id: @id) do + button_label + end + else + button_tag(type: @type, class: class_style, onclick: on_click_event, id: @id) do + button_label + end end end - end - def link? - @href && !@href.empty? - end + def link? + @href && !@href.empty? + end - def load_animation? - @state == "animate" + def load_animation? + @state == 'animate' + end end - end diff --git a/app/components/card_message_component.rb b/app/components/card_message_component.rb index d0f15d0622..76b9dc401a 100644 --- a/app/components/card_message_component.rb +++ b/app/components/card_message_component.rb @@ -1,28 +1,30 @@ +# frozen_string_literal: true + class CardMessageComponent < ViewComponent::Base - def initialize(title: nil ,message:, button_text: nil, button_link: "/" ,type:) - @title = title - @message = message - @button_text = button_text - @type = type - @button_link = button_link - end + def initialize(message:, type:, title: nil, button_text: nil, button_link: '/') + @title = title + @message = message + @button_text = button_text + @type = type + @button_link = button_link + end - def no_title? - @title.nil? - end + def no_title? + @title.nil? + end - def no_button? - @button_text.nil? - end + def no_button? + @button_text.nil? + end - def icon - case @type - when "success" - "green-check.svg" - when "failure" - "red-warning.svg" - when "warning" - "orange-warning.svg" - end + def icon + case @type + when 'success' + 'green-check.svg' + when 'failure' + 'red-warning.svg' + when 'warning' + 'orange-warning.svg' end + end end diff --git a/app/components/chip_button_component.rb b/app/components/chip_button_component.rb index f503dca5aa..2205daafe4 100644 --- a/app/components/chip_button_component.rb +++ b/app/components/chip_button_component.rb @@ -1,9 +1,11 @@ +# frozen_string_literal: true + class ChipButtonComponent < ViewComponent::Base - def initialize(url: nil, text: nil, type: "static", disabled: false, **html_options) - @url = url - @text = text - @type = type - @disabled = disabled - @html_options = html_options.merge({href: @url}) - end -end \ No newline at end of file + def initialize(url: nil, text: nil, type: 'static', disabled: false, **html_options) + @url = url + @text = text + @type = type + @disabled = disabled + @html_options = html_options.merge({ href: @url }) + end +end diff --git a/app/components/chips_component.rb b/app/components/chips_component.rb index 0e9628bec9..1dfb2a0227 100644 --- a/app/components/chips_component.rb +++ b/app/components/chips_component.rb @@ -1,15 +1,16 @@ -class ChipsComponent < ViewComponent::Base +# frozen_string_literal: true - renders_one :count - def initialize(id:nil, name:, label: nil, value:, checked: false) - @id = id || name - @name = name - @value = value - @checked = checked - @label = label || @value - end +class ChipsComponent < ViewComponent::Base + renders_one :count + def initialize(name:, value:, id: nil, label: nil, checked: false) + @id = id || name + @name = name + @value = value + @checked = checked + @label = label || @value + end - def checked? - @checked - end -end \ No newline at end of file + def checked? + @checked + end +end diff --git a/app/components/circle_progress_bar_component.rb b/app/components/circle_progress_bar_component.rb index e3e746b605..d7a7e03e67 100644 --- a/app/components/circle_progress_bar_component.rb +++ b/app/components/circle_progress_bar_component.rb @@ -1,8 +1,7 @@ # frozen_string_literal: true class CircleProgressBarComponent < ViewComponent::Base - - def initialize(count: , max: ) + def initialize(count:, max:) super @count = count @max = max diff --git a/app/components/collapsable_block_component.rb b/app/components/collapsable_block_component.rb index 7941f2d960..b1bb6a80a2 100644 --- a/app/components/collapsable_block_component.rb +++ b/app/components/collapsable_block_component.rb @@ -3,7 +3,6 @@ class CollapsableBlockComponent < ViewComponent::Base renders_one :header - def initialize(id: '', parent_id: '', collapsed: true, title: '') super @id = id @@ -17,6 +16,6 @@ def collapsed? end def collapsed_class - collapsed? ? 'collapsed' : 'show' + collapsed? ? 'collapsed' : 'show' end end diff --git a/app/components/concept_details_component.rb b/app/components/concept_details_component.rb index 87c6d3572d..52ef2da853 100644 --- a/app/components/concept_details_component.rb +++ b/app/components/concept_details_component.rb @@ -29,7 +29,6 @@ def add_sections(keys, &block) table_row.create(*row) end end - end def row_hash_properties(properties_set, ontology_acronym, &block) @@ -43,12 +42,10 @@ def row_hash_properties(properties_set, ontology_acronym, &block) ajax_links = values.map do |v| if block_given? block.call(v) + elsif v.is_a?(String) + get_link_for_cls_ajax(v, ontology_acronym, '_blank') else - if v.is_a?(String) - get_link_for_cls_ajax(v, ontology_acronym, '_blank') - else - display_in_multiple_languages([v].to_h) - end + display_in_multiple_languages([v].to_h) end end @@ -111,37 +108,41 @@ def concept_properties2hash(properties) next if properties[key].nil? # ignore :context and :links when nil. # Shorten the key into a simple label - k = key.to_s if key.kind_of?(Symbol) + k = key.to_s if key.is_a?(Symbol) k ||= key label = key - if k.start_with?("http") - label = LinkedData::Client::HTTP.get("/ontologies/#{@ontology.acronym}/properties/#{CGI.escape(k)}/label").label rescue "" + if k.start_with?('http') + label = begin + LinkedData::Client::HTTP.get("/ontologies/#{@ontology.acronym}/properties/#{CGI.escape(k)}/label").label + rescue StandardError + '' + end if label.nil? || label.empty? k = k.gsub(/.*#/, '') # greedy regex replace everything up to last '#' - k = k.gsub(/.*\//, '') # greedy regex replace everything up to last '/' + k = k.gsub(%r{.*/}, '') # greedy regex replace everything up to last '/' # That might take care of nearly everything to be shortened. label = k end end begin # Try to simplify the property values, when they are a struct. - if properties[key].is_a?(OpenStruct) - values = language_hash(properties[key]) - else - values = properties[key].map { |v| v.string } - end - rescue + values = if properties[key].is_a?(OpenStruct) + language_hash(properties[key]) + else + properties[key].map(&:string) + end + rescue StandardError # Each value is probably a simple datatype already. values = properties[key] end - data = { :key => key, :values => values } + data = { key: key, values: values } properties_data[label] = data end - return properties_data + properties_data end def exclude_relation?(relation_to_check, ontology = nil) - excluded_relations = ["type", "rdf:type", "[R]", "SuperClass", "InstanceCount"] + excluded_relations = ['type', 'rdf:type', '[R]', 'SuperClass', 'InstanceCount'] # Show or hide property based on the property and ontology settings if ontology @@ -155,7 +156,6 @@ def exclude_relation?(relation_to_check, ontology = nil) excluded_relations.each do |relation| return true if relation_to_check.include?(relation) end - return false + false end - end diff --git a/app/components/date_time_field_component.rb b/app/components/date_time_field_component.rb index 35ec91b38d..657ac84aa0 100644 --- a/app/components/date_time_field_component.rb +++ b/app/components/date_time_field_component.rb @@ -1,8 +1,7 @@ # frozen_string_literal: true class DateTimeFieldComponent < ViewComponent::Base - - def initialize(value: , format: :monthfull_day_year) + def initialize(value:, format: :monthfull_day_year) super @value = value @format = format @@ -11,5 +10,4 @@ def initialize(value: , format: :monthfull_day_year) def call l(Date.parse(@value), format: @format.to_sym) if @value end - end diff --git a/app/components/display/alert_component.rb b/app/components/display/alert_component.rb index c381f2a37e..f528819b67 100644 --- a/app/components/display/alert_component.rb +++ b/app/components/display/alert_component.rb @@ -1,47 +1,48 @@ -class Display::AlertComponent < ViewComponent::Base - def initialize(message: nil, closable: true, type: "info", auto_close_delay: nil) - @message = message - @closable = closable - @type = type - @auto_close_delay = auto_close_delay +# frozen_string_literal: true + +module Display + class AlertComponent < ViewComponent::Base + def initialize(message: nil, closable: true, type: 'info', auto_close_delay: nil) + @message = message + @closable = closable + @type = type + @auto_close_delay = auto_close_delay end def closable? - @closable + @closable end - def message - @message - end + attr_reader :message def alert_type_class - case @type - when "info" - "alert-info-type" - when "warning" - "alert-warning-type" - when "danger" - "alert-danger-type" - when "success" - "alert-success-type" - end + case @type + when 'info' + 'alert-info-type' + when 'warning' + 'alert-warning-type' + when 'danger' + 'alert-danger-type' + when 'success' + 'alert-success-type' + end end def alert_icon - case @type - when "info" - "info.svg" - when "warning" - "warning.svg" - when "danger" - "danger.svg" - when "success" - "success.svg" - end + case @type + when 'info' + 'info.svg' + when 'warning' + 'warning.svg' + when 'danger' + 'danger.svg' + when 'success' + 'success.svg' + end end def auto_close? - !@auto_close_delay.nil? + !@auto_close_delay.nil? end - -end \ No newline at end of file + end +end diff --git a/app/components/display/button_loader_component.rb b/app/components/display/button_loader_component.rb index 202cd4cf9d..ec9dab61c8 100644 --- a/app/components/display/button_loader_component.rb +++ b/app/components/display/button_loader_component.rb @@ -1,22 +1,22 @@ # frozen_string_literal: true -class Display::ButtonLoaderComponent < ViewComponent::Base - - def initialize(id: nil, slim: false, color: 'normal') - @slim = slim - @color = color - @id = id - end - +module Display + class ButtonLoaderComponent < ViewComponent::Base + def initialize(id: nil, slim: false, color: 'normal') + @slim = slim + @color = color + @id = id + end - def call - slim_class = @slim ? "slim " : "" - danger_class = @color == "danger" ? "danger-button " : "" - warning_class = @color == "warning" ? "warning-button " : "" + def call + slim_class = @slim ? 'slim ' : '' + danger_class = @color == 'danger' ? 'danger-button ' : '' + warning_class = @color == 'warning' ? 'warning-button ' : '' - content_tag(:div, class: "animation-container #{danger_class} #{warning_class} #{slim_class}", id: @id) do - content_tag(:div, class: "lds-ellipsis") do - 4.times.map { content_tag(:div) }.join.html_safe + content_tag(:div, class: "animation-container #{danger_class} #{warning_class} #{slim_class}", id: @id) do + content_tag(:div, class: 'lds-ellipsis') do + 4.times.map { content_tag(:div) }.join.html_safe + end end end end diff --git a/app/components/display/header_component.rb b/app/components/display/header_component.rb index b814f55fc1..7aa8b08809 100644 --- a/app/components/display/header_component.rb +++ b/app/components/display/header_component.rb @@ -1,23 +1,21 @@ # frozen_string_literal: true -class Display::HeaderComponent < ViewComponent::Base +module Display + class HeaderComponent < ViewComponent::Base + renders_one :text - renders_one :text - - def initialize(text: nil, tooltip: nil) - super - @text = text - @info = tooltip - end + def initialize(text: nil, tooltip: nil) + super + @text = text + @info = tooltip + end - def call - content_tag(:div, class: 'header-component') do - out = content_tag(:p, text || @text) - if @info && !@info.empty? - out = out + render(Display::InfoTooltipComponent.new(text: @info)) + def call + content_tag(:div, class: 'header-component') do + out = content_tag(:p, text || @text) + out += render(Display::InfoTooltipComponent.new(text: @info)) if @info && !@info.empty? + out end - out end end - end diff --git a/app/components/display/image_component.rb b/app/components/display/image_component.rb index 36bcb10fe7..8015598c4a 100644 --- a/app/components/display/image_component.rb +++ b/app/components/display/image_component.rb @@ -1,34 +1,35 @@ # frozen_string_literal: true -class Display::ImageComponent < ViewComponent::Base - include ModalHelper +module Display + class ImageComponent < ViewComponent::Base + include ModalHelper - def initialize(src: , title: '', enable_zoom: true) - super - @src = src - @title = title - @enable_zoom = enable_zoom - end + def initialize(src:, title: '', enable_zoom: true) + super + @src = src + @title = title + @enable_zoom = enable_zoom + end - def call - content_tag(:div, class: 'image-container ') do - depiction_with_modal(@src) + def call + content_tag(:div, class: 'image-container ') do + depiction_with_modal(@src) + end end - end - def depiction_with_modal(depiction_url) - img_tag = image_tag(depiction_url, class: 'image-content') - loop_icon_tag = content_tag(:span , image_tag('icons/loop.svg'), class: 'loop_icon') - modal_url = "/ajax/images/show?url=#{depiction_url}" - modal_options = { data: { show_modal_title_value: @title, show_modal_size_value: 'modal-xl' } } + def depiction_with_modal(depiction_url) + img_tag = image_tag(depiction_url, class: 'image-content') + loop_icon_tag = content_tag(:span, image_tag('icons/loop.svg'), class: 'loop_icon') + modal_url = "/ajax/images/show?url=#{depiction_url}" + modal_options = { data: { show_modal_title_value: @title, show_modal_size_value: 'modal-xl' } } - if @enable_zoom - link_to_modal(nil, modal_url, modal_options) do - loop_icon_tag + img_tag + if @enable_zoom + link_to_modal(nil, modal_url, modal_options) do + loop_icon_tag + img_tag + end + else + img_tag end - else - img_tag end - end end diff --git a/app/components/display/info_tooltip_component.rb b/app/components/display/info_tooltip_component.rb index 824ae908e9..af77f2f610 100644 --- a/app/components/display/info_tooltip_component.rb +++ b/app/components/display/info_tooltip_component.rb @@ -1,14 +1,15 @@ # frozen_string_literal: true -class Display::InfoTooltipComponent < ViewComponent::Base +module Display + class InfoTooltipComponent < ViewComponent::Base + def initialize(text: nil, icon: 'info.svg') + super + @text = text + @icon = icon + end - def initialize(text: nil , icon: "info.svg") - super - @text = text - @icon = icon + def call + image_tag("icons/#{@icon}", data: { controller: 'tooltip', 'tooltip-interactive-value': 'true' }, title: @text) + end end - def call - image_tag("icons/#{@icon}", data:{controller:'tooltip', 'tooltip-interactive-value': 'true'}, title: @text) - end - end diff --git a/app/components/dropdown_button_component.rb b/app/components/dropdown_button_component.rb index 08c97795cc..a091fa27ea 100644 --- a/app/components/dropdown_button_component.rb +++ b/app/components/dropdown_button_component.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true class DropdownButtonComponent < ViewComponent::Base - renders_one :header renders_many :sections, DropdownSectionButtonComponent diff --git a/app/components/dropdown_container_component.rb b/app/components/dropdown_container_component.rb index 3d785f85e8..3d727bf789 100644 --- a/app/components/dropdown_container_component.rb +++ b/app/components/dropdown_container_component.rb @@ -2,7 +2,7 @@ class DropdownContainerComponent < ViewComponent::Base renders_one :empty_state - def initialize(title:, id:, tooltip:nil) + def initialize(title:, id:, tooltip: nil) super @title = title @id = id diff --git a/app/components/dropdown_section_button_component.rb b/app/components/dropdown_section_button_component.rb index c46074f758..56a8d6fcda 100644 --- a/app/components/dropdown_section_button_component.rb +++ b/app/components/dropdown_section_button_component.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true class DropdownSectionButtonComponent < ViewComponent::Base - renders_one :header renders_many :items diff --git a/app/components/external_link_text_component.rb b/app/components/external_link_text_component.rb index 05bed2cfbb..28e18b47f8 100644 --- a/app/components/external_link_text_component.rb +++ b/app/components/external_link_text_component.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true class ExternalLinkTextComponent < LinkTextComponent - def initialize(text:) super(text: text, icon: 'icons/external-link.svg') end diff --git a/app/components/field_container_component.rb b/app/components/field_container_component.rb index d45e42e0ea..7fff131f63 100644 --- a/app/components/field_container_component.rb +++ b/app/components/field_container_component.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true class FieldContainerComponent < ViewComponent::Base - renders_one :label def initialize(label: nil, value: nil) super diff --git a/app/components/infinite_scroll_component.rb b/app/components/infinite_scroll_component.rb index ecbfa3a88d..426b4c8071 100644 --- a/app/components/infinite_scroll_component.rb +++ b/app/components/infinite_scroll_component.rb @@ -14,7 +14,5 @@ def initialize(id:, collection:, next_url:, current_page:, next_page:) @next_url = next_url @current_page = current_page @next_page = next_page - end - end diff --git a/app/components/input/date_component.rb b/app/components/input/date_component.rb index 6d26ad4c20..fd03790806 100644 --- a/app/components/input/date_component.rb +++ b/app/components/input/date_component.rb @@ -1,14 +1,19 @@ # frozen_string_literal: true -class Input::DateComponent < Input::InputFieldComponent - def initialize(label: '', name:, value: Date.today, placeholder: '', error_message: '', helper_text: '', id: nil, max_date: nil) - data_flat_picker = { controller: "flatpickr", flatpickr_date_format: "Y-m-d", flatpickr_alt_input: "true", flatpickr_alt_format: "F j, Y"} - data_flat_picker[:flatpickr_max_date] = max_date if max_date +module Input + class DateComponent < Input::InputFieldComponent + def initialize(name:, label: '', value: Date.today, placeholder: '', error_message: '', helper_text: '', id: nil, + max_date: nil) + data_flat_picker = { controller: 'flatpickr', flatpickr_date_format: 'Y-m-d', flatpickr_alt_input: 'true', + flatpickr_alt_format: 'F j, Y' } + data_flat_picker[:flatpickr_max_date] = max_date if max_date - super(label: label, name: name, value: value, placeholder: placeholder, error_message: error_message, helper_text: helper_text, data: data_flat_picker, id: id) - end + super(label: label, name: name, value: value, placeholder: placeholder, error_message: error_message, helper_text: helper_text, data: data_flat_picker, id: id) + end - def call - render Input::InputFieldComponent.new(label: @label, name: @name, value: @value, placeholder: @placeholder, error_message: @error_message, helper_text: @helper_text, data: @data, type: 'date', id: @id) + def call + render Input::InputFieldComponent.new(label: @label, name: @name, value: @value, placeholder: @placeholder, + error_message: @error_message, helper_text: @helper_text, data: @data, type: 'date', id: @id) + end end end diff --git a/app/components/input/email_component.rb b/app/components/input/email_component.rb index 8d68ba3bc7..ba88f55a19 100644 --- a/app/components/input/email_component.rb +++ b/app/components/input/email_component.rb @@ -1,11 +1,14 @@ # frozen_string_literal: true -class Input::EmailComponent < Input::InputFieldComponent - def initialize(label: '', name:, value: nil, placeholder: '', error_message: '', helper_text: '') - super(label: label, name: name, value: value, placeholder: placeholder, error_message: error_message, helper_text: helper_text) - end +module Input + class EmailComponent < Input::InputFieldComponent + def initialize(name:, label: '', value: nil, placeholder: '', error_message: '', helper_text: '') + super(label: label, name: name, value: value, placeholder: placeholder, error_message: error_message, helper_text: helper_text) + end - def call - render Input::InputFieldComponent.new(label: @label, name: @name, value: @value, placeholder: @placeholder, error_message: @error_message, helper_text: @helper_text, type: "email") + def call + render Input::InputFieldComponent.new(label: @label, name: @name, value: @value, placeholder: @placeholder, + error_message: @error_message, helper_text: @helper_text, type: 'email') + end end end diff --git a/app/components/input/file_input_component.rb b/app/components/input/file_input_component.rb index 41de28bce3..639585e6b5 100644 --- a/app/components/input/file_input_component.rb +++ b/app/components/input/file_input_component.rb @@ -1,9 +1,10 @@ # frozen_string_literal: true -class Input::FileInputComponent < ViewComponent::Base - def initialize(name:, html_options: '') - @name = name - @html_options = html_options +module Input + class FileInputComponent < ViewComponent::Base + def initialize(name:, html_options: '') + @name = name + @html_options = html_options + end end - end diff --git a/app/components/input/input_field_component.rb b/app/components/input/input_field_component.rb index bed61a95fd..eae9ac73f6 100644 --- a/app/components/input/input_field_component.rb +++ b/app/components/input/input_field_component.rb @@ -1,33 +1,35 @@ -class Input::InputFieldComponent < ViewComponent::Base - def initialize(label: "" , name:, value: '', type: 'text', placeholder: "", error_message: "", helper_text: "", disabled: false, data: nil, id: '') - @label = label - @name = name - @placeholder = placeholder - @error_message = error_message - @helper_text = helper_text - @value = value - @type = type - @disabled = disabled - @id = id - @data = data - end - - - def error_style - "border-color: var(--error-color);" if error? - end - - def error? - !@error_message&.empty? - end - - def help? - !@helper_text&.empty? - end - - def label? - !@label&.empty? - end -end - - +# frozen_string_literal: true + +module Input + class InputFieldComponent < ViewComponent::Base + def initialize(name:, label: '', value: '', type: 'text', placeholder: '', error_message: '', helper_text: '', + disabled: false, data: nil, id: '') + @label = label + @name = name + @placeholder = placeholder + @error_message = error_message + @helper_text = helper_text + @value = value + @type = type + @disabled = disabled + @id = id + @data = data + end + + def error_style + 'border-color: var(--error-color);' if error? + end + + def error? + !@error_message&.empty? + end + + def help? + !@helper_text&.empty? + end + + def label? + !@label&.empty? + end + end +end diff --git a/app/components/input/language_selector_component.rb b/app/components/input/language_selector_component.rb index 3a7ec435c3..f7f2be8ac5 100644 --- a/app/components/input/language_selector_component.rb +++ b/app/components/input/language_selector_component.rb @@ -1,26 +1,28 @@ # frozen_string_literal: true -class Input::LanguageSelectorComponent < ViewComponent::Base - - def initialize(languages:, selected: nil, id: '', name: '' ) - super - @languages = languages - @id = id - @name = languages - @selected = selected - end +module Input + class LanguageSelectorComponent < ViewComponent::Base + def initialize(languages:, selected: nil, id: '', name: '') + super + @languages = languages + @id = id + @name = languages + @selected = selected + end - def languages_options - values = [['All languages', 'all']] + def languages_options + values = [['All languages', 'all']] - @languages.each do |key, label| - option = "
#{render(LanguageFieldComponent.new(value: key.to_s.downcase, label: label))}
" - values += [[option, key.to_s.downcase]] + @languages.each do |key, label| + option = "
#{render(LanguageFieldComponent.new(value: key.to_s.downcase, label: label))}
" + values += [[option, key.to_s.downcase]] + end + values end - values - end - def call - render SelectInputComponent.new(id: @id, name: @name, values: languages_options, selected: @selected, placeholder: 'Select a language') + def call + render SelectInputComponent.new(id: @id, name: @name, values: languages_options, selected: @selected, + placeholder: 'Select a language') + end end end diff --git a/app/components/input/password_component.rb b/app/components/input/password_component.rb index 435692a5b5..3b612ad29e 100644 --- a/app/components/input/password_component.rb +++ b/app/components/input/password_component.rb @@ -1,11 +1,14 @@ # frozen_string_literal: true -class Input::PasswordComponent < Input::InputFieldComponent - def initialize(label: '', name:, value: nil, placeholder: '', error_message: '', helper_text: '') - super(label: label, name: name, value: value, placeholder: placeholder, error_message: error_message, helper_text: helper_text) - end +module Input + class PasswordComponent < Input::InputFieldComponent + def initialize(name:, label: '', value: nil, placeholder: '', error_message: '', helper_text: '') + super(label: label, name: name, value: value, placeholder: placeholder, error_message: error_message, helper_text: helper_text) + end - def call - render Input::InputFieldComponent.new(label: @label, name: @name, value: @value, placeholder: @placeholder, error_message: @error_message, helper_text: @helper_text, type: "password") + def call + render Input::InputFieldComponent.new(label: @label, name: @name, value: @value, placeholder: @placeholder, + error_message: @error_message, helper_text: @helper_text, type: 'password') + end end end diff --git a/app/components/input/select_component.rb b/app/components/input/select_component.rb index 5e08a37056..13875c375f 100644 --- a/app/components/input/select_component.rb +++ b/app/components/input/select_component.rb @@ -1,22 +1,25 @@ # frozen_string_literal: true -class Input::SelectComponent < Input::InputFieldComponent - - def initialize(id: nil, label: '', name:, value: [], selected: '', placeholder: '', error_message: '', helper_text: '', multiple: false, open_to_add_values: false, data: {}, tooltip: nil) - super(label: label, name: name, value: value, placeholder: placeholder, error_message: error_message, - helper_text: helper_text, data: data) - @values = value - @selected = selected - @open_to_add_values = open_to_add_values - @multiple = multiple - @id = id - end +module Input + class SelectComponent < Input::InputFieldComponent + def initialize(name:, id: nil, label: '', value: [], selected: '', placeholder: '', error_message: '', + helper_text: '', multiple: false, open_to_add_values: false, data: {}, tooltip: nil) + super(label: label, name: name, value: value, placeholder: placeholder, error_message: error_message, + helper_text: helper_text, data: data) + @values = value + @selected = selected + @open_to_add_values = open_to_add_values + @multiple = multiple + @id = id + end - def call - render Input::InputFieldComponent.new(name: @name, error_message: @error_message, helper_text: @helper_text, label: @label) do - render SelectInputComponent.new(id: @id, name: @name, values: @values, selected: @selected, - placeholder: @placeholder, - multiple: @multiple, open_to_add_values: @open_to_add_values, data: @data) + def call + render Input::InputFieldComponent.new(name: @name, error_message: @error_message, helper_text: @helper_text, + label: @label) do + render SelectInputComponent.new(id: @id, name: @name, values: @values, selected: @selected, + placeholder: @placeholder, + multiple: @multiple, open_to_add_values: @open_to_add_values, data: @data) + end end end end diff --git a/app/components/input/text_area_component.rb b/app/components/input/text_area_component.rb index 940a8b9352..c950b274be 100644 --- a/app/components/input/text_area_component.rb +++ b/app/components/input/text_area_component.rb @@ -1,8 +1,10 @@ # frozen_string_literal: true -class Input::TextAreaComponent < Input::InputFieldComponent - def initialize(label: '', name:, value: nil, placeholder: '', error_message: '', helper_text: '', rows: "5") - super(label: label, name: name, value: value, placeholder: placeholder, error_message: error_message, helper_text: helper_text) - @rows = rows +module Input + class TextAreaComponent < Input::InputFieldComponent + def initialize(name:, label: '', value: nil, placeholder: '', error_message: '', helper_text: '', rows: '5') + super(label: label, name: name, value: value, placeholder: placeholder, error_message: error_message, helper_text: helper_text) + @rows = rows + end end end diff --git a/app/components/input/text_input_component.rb b/app/components/input/text_input_component.rb index aad3006da9..09f72c42e8 100644 --- a/app/components/input/text_input_component.rb +++ b/app/components/input/text_input_component.rb @@ -1,13 +1,16 @@ # frozen_string_literal: true -class Input::TextInputComponent < Input::InputFieldComponent - def initialize(label: '', name:, value: nil, placeholder: '', error_message: '', helper_text: '', disabled: false, id: '', data: {}) - super(label: label, name: name, value: value, placeholder: placeholder, error_message: error_message, helper_text: helper_text, disabled: disabled, id: id) - end +module Input + class TextInputComponent < Input::InputFieldComponent + def initialize(name:, label: '', value: nil, placeholder: '', error_message: '', helper_text: '', disabled: false, + id: '', data: {}) + super(label: label, name: name, value: value, placeholder: placeholder, error_message: error_message, helper_text: helper_text, disabled: disabled, id: id) + end - def call - render Input::InputFieldComponent.new(label: @label, name: @name, value: @value, placeholder: @placeholder, - error_message: @error_message, helper_text: @helper_text, - type: @type, disabled: @disabled) + def call + render Input::InputFieldComponent.new(label: @label, name: @name, value: @value, placeholder: @placeholder, + error_message: @error_message, helper_text: @helper_text, + type: @type, disabled: @disabled) + end end end diff --git a/app/components/input/url_component.rb b/app/components/input/url_component.rb index 01db0eb682..8d342124f3 100644 --- a/app/components/input/url_component.rb +++ b/app/components/input/url_component.rb @@ -1,11 +1,14 @@ # frozen_string_literal: true -class Input::UrlComponent < Input::InputFieldComponent - def initialize(label: '', name:, value: nil, placeholder: '', error_message: '', helper_text: '') - super(label: label, name: name, value: value, placeholder: placeholder, error_message: error_message, helper_text: helper_text) - end +module Input + class UrlComponent < Input::InputFieldComponent + def initialize(name:, label: '', value: nil, placeholder: '', error_message: '', helper_text: '') + super(label: label, name: name, value: value, placeholder: placeholder, error_message: error_message, helper_text: helper_text) + end - def call - render Input::InputFieldComponent.new(label: @label, name: @name, value: @value, placeholder: @placeholder, error_message: @error_message, helper_text: @helper_text, type: "url") + def call + render Input::InputFieldComponent.new(label: @label, name: @name, value: @value, placeholder: @placeholder, + error_message: @error_message, helper_text: @helper_text, type: 'url') + end end end diff --git a/app/components/label_link_component.rb b/app/components/label_link_component.rb index 3d8ecee988..9343e4d745 100644 --- a/app/components/label_link_component.rb +++ b/app/components/label_link_component.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true class LabelLinkComponent < ViewComponent::Base - def initialize(id:, text:, icon: 'popup-link') @id = id @text = text diff --git a/app/components/language_field_component.rb b/app/components/language_field_component.rb index f4080d0980..08834c595d 100644 --- a/app/components/language_field_component.rb +++ b/app/components/language_field_component.rb @@ -1,14 +1,14 @@ # frozen_string_literal: true + require 'iso-639' class LanguageFieldComponent < ViewComponent::Base - include FlagIconsRails::Rails::ViewHelpers def initialize(value:, label: nil) super @value = value - @lang_code = ISO_639.find(value.split('/').last)&.alpha2 || nil + @lang_code = value&.is_a?(String) ? ISO_639.find(value.split('/').last)&.alpha2 : nil @label = label end @@ -16,4 +16,8 @@ def lang_code @lang_code = 'gb' if @lang_code.eql?('en') @lang_code end + + def value + @value&.is_a?(String) ? @value.to_s.split('/').last : 'NO-LANG' + end end diff --git a/app/components/language_field_component/language_field_component.html.haml b/app/components/language_field_component/language_field_component.html.haml index e5ebf47b32..8530fae3d4 100644 --- a/app/components/language_field_component/language_field_component.html.haml +++ b/app/components/language_field_component/language_field_component.html.haml @@ -5,4 +5,4 @@ %div.ml-1 = @label - else - = render ChipButtonComponent.new(text: @value ? @value.split('/').last : 'NO-LANG') \ No newline at end of file + = render ChipButtonComponent.new(text: value) \ No newline at end of file diff --git a/app/components/layout/card_component.rb b/app/components/layout/card_component.rb index ceebc820c0..7e160ffe77 100644 --- a/app/components/layout/card_component.rb +++ b/app/components/layout/card_component.rb @@ -1,13 +1,15 @@ # frozen_string_literal: true -class Layout::CardComponent < ViewComponent::Base - renders_one :header, Display::HeaderComponent +module Layout + class CardComponent < ViewComponent::Base + renders_one :header, Display::HeaderComponent - def call - content_tag(:div, class: 'summary-card') do - out = '' - out = header if header? - raw(out.to_s + content) + def call + content_tag(:div, class: 'summary-card') do + out = '' + out = header if header? + raw(out.to_s + content) + end end end end diff --git a/app/components/layout/horizontal_list_component.rb b/app/components/layout/horizontal_list_component.rb index aed504b7af..ab5340a439 100644 --- a/app/components/layout/horizontal_list_component.rb +++ b/app/components/layout/horizontal_list_component.rb @@ -1,18 +1,19 @@ # frozen_string_literal: true -class Layout::HorizontalListComponent < ViewComponent::Base - renders_many :elements +module Layout + class HorizontalListComponent < ViewComponent::Base + renders_many :elements - def call - return if elements.empty? + def call + return if elements.empty? - content_tag(:div, class: 'd-flex flex-wrap') do - out = '' - elements.each do |element| - out = out + content_tag(:div, element, class: 'mr-1 mb-1 text-truncate overflow-hidden') + content_tag(:div, class: 'd-flex flex-wrap') do + out = '' + elements.each do |element| + out += content_tag(:div, element, class: 'mr-1 mb-1 text-truncate overflow-hidden') + end + raw out end - raw out end end - end diff --git a/app/components/layout/list_component.rb b/app/components/layout/list_component.rb index edf75b865d..37653d297b 100644 --- a/app/components/layout/list_component.rb +++ b/app/components/layout/list_component.rb @@ -1,20 +1,21 @@ # frozen_string_literal: true -class Layout::ListComponent < ViewComponent::Base +module Layout + class ListComponent < ViewComponent::Base + renders_many :rows - renders_many :rows + def call + return if rows.map(&:to_s).reject(&:empty?).empty? - def call - return if rows.map(&:to_s).reject(&:empty?).empty? + content_tag(:div, style: 'padding: 0px 20px 20px 20px;') do + out = '' + rows.each do |row| + next if row.nil? || row.to_s.empty? - content_tag(:div, style: 'padding: 0px 20px 20px 20px;') do - out = "" - rows.each do |row| - next if row.nil? || row.to_s.empty? - out = out + content_tag(:div, row.to_s, class: 'mb-1') + out += content_tag(:div, row.to_s, class: 'mb-1') + end + out.html_safe end - out.html_safe end end - end diff --git a/app/components/layout/progress_pages_component.rb b/app/components/layout/progress_pages_component.rb index 1680e4e494..bafa12be4f 100644 --- a/app/components/layout/progress_pages_component.rb +++ b/app/components/layout/progress_pages_component.rb @@ -1,10 +1,11 @@ # frozen_string_literal: true -class Layout::ProgressPagesComponent < ViewComponent::Base - - renders_many :pages - def initialize(pages_title: []) - super - @pages_title = pages_title +module Layout + class ProgressPagesComponent < ViewComponent::Base + renders_many :pages + def initialize(pages_title: []) + super + @pages_title = pages_title + end end end diff --git a/app/components/layout/reveal_component.rb b/app/components/layout/reveal_component.rb index f6211ffed7..42b444cbc1 100644 --- a/app/components/layout/reveal_component.rb +++ b/app/components/layout/reveal_component.rb @@ -1,20 +1,22 @@ # frozen_string_literal: true -class Layout::RevealComponent < ViewComponent::Base - renders_one :button +module Layout + class RevealComponent < ViewComponent::Base + renders_one :button - def initialize(init_show: false, show_condition: nil,hidden_class: 'd-none') - @hidden_class = hidden_class - @init_show = init_show - @show_condition = show_condition - end + def initialize(init_show: false, show_condition: nil, hidden_class: 'd-none') + @hidden_class = hidden_class + @init_show = init_show + @show_condition = show_condition + end - def container_data - out = { - controller: 'reveal-component', - 'reveal-component-hidden-class': @hidden_class - } - out['reveal-component-condition-value'] = @show_condition if @show_condition - out + def container_data + out = { + controller: 'reveal-component', + 'reveal-component-hidden-class': @hidden_class + } + out['reveal-component-condition-value'] = @show_condition if @show_condition + out + end end end diff --git a/app/components/license_field_component.rb b/app/components/license_field_component.rb index 6baf0f86fa..5b108b5395 100644 --- a/app/components/license_field_component.rb +++ b/app/components/license_field_component.rb @@ -1,10 +1,8 @@ # frozen_string_literal: true class LicenseFieldComponent < ViewComponent::Base - - def initialize(value: ) + def initialize(value:) super @value = value end - end diff --git a/app/components/link_field_component.rb b/app/components/link_field_component.rb index 211851b715..0608a45e48 100644 --- a/app/components/link_field_component.rb +++ b/app/components/link_field_component.rb @@ -1,16 +1,13 @@ # frozen_string_literal: true class LinkFieldComponent < ViewComponent::Base - def initialize(value:, raw: false) super @value = value @raw = raw end - def internal_link? @value.to_s.include?(URI.parse($REST_URL).hostname) || @value.to_s.include?($UI_HOSTNAME) end - end diff --git a/app/components/link_text_component.rb b/app/components/link_text_component.rb index ffd3b8b089..25efbab8ec 100644 --- a/app/components/link_text_component.rb +++ b/app/components/link_text_component.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true class LinkTextComponent < ViewComponent::Base - def initialize(text:, icon: nil) @text = text @icon = icon diff --git a/app/components/nested_agent_search_input_component.rb b/app/components/nested_agent_search_input_component.rb index 98cbbd4893..9d10de62da 100644 --- a/app/components/nested_agent_search_input_component.rb +++ b/app/components/nested_agent_search_input_component.rb @@ -1,10 +1,10 @@ # frozen_string_literal: true class NestedAgentSearchInputComponent < ViewComponent::Base + include AgentHelper + include Turbo::FramesHelper - include Turbo::FramesHelper, AgentHelper - - def initialize(label: nil, agents:, agent_type:, name_prefix:, edit_on_modal: false, parent_id: nil) + def initialize(agents:, agent_type:, name_prefix:, label: nil, edit_on_modal: false, parent_id: nil) super @agents = agents @agent_type = agent_type diff --git a/app/components/nested_form_inputs_component.rb b/app/components/nested_form_inputs_component.rb index f538185805..d064607023 100644 --- a/app/components/nested_form_inputs_component.rb +++ b/app/components/nested_form_inputs_component.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true class NestedFormInputsComponent < ViewComponent::Base - renders_one :template renders_one :header renders_many :rows diff --git a/app/components/notification_component.rb b/app/components/notification_component.rb index 49f82354a3..7c2e9e944f 100644 --- a/app/components/notification_component.rb +++ b/app/components/notification_component.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true class NotificationComponent < ViewComponent::Base - def initialize(title:, comment: '', type: 'success', auto_remove: true) super @title = title @@ -31,9 +30,8 @@ def notification_class end private + def svg_icon(name) inline_svg_tag("icons/#{name}.svg", class: notification_type_class) end - - end diff --git a/app/components/ontology_browse_card_component.rb b/app/components/ontology_browse_card_component.rb index 84251d7f0d..f21536fbcc 100644 --- a/app/components/ontology_browse_card_component.rb +++ b/app/components/ontology_browse_card_component.rb @@ -8,7 +8,5 @@ def initialize(ontology: nil) @ontology = ontology end - def ontology - @ontology - end + attr_reader :ontology end diff --git a/app/components/ontology_search_input_component.rb b/app/components/ontology_search_input_component.rb index 2bbecab9d4..68eeb32edb 100644 --- a/app/components/ontology_search_input_component.rb +++ b/app/components/ontology_search_input_component.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true class OntologySearchInputComponent < ViewComponent::Base - def initialize(name: 'search', placeholder: t('ontologies.ontology_search_prompt'), scroll_down: true) @name = name @placeholder = placeholder diff --git a/app/components/pill_button_component.rb b/app/components/pill_button_component.rb index 5371bee439..4b51ee0ec0 100644 --- a/app/components/pill_button_component.rb +++ b/app/components/pill_button_component.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true class PillButtonComponent < ViewComponent::Base - def initialize(text: nil) super @text = text diff --git a/app/components/popup_link_text_component.rb b/app/components/popup_link_text_component.rb index d6dbc41e4d..d269e926ff 100644 --- a/app/components/popup_link_text_component.rb +++ b/app/components/popup_link_text_component.rb @@ -1,9 +1,7 @@ # frozen_string_literal: true class PopupLinkTextComponent < LinkTextComponent - def initialize(text:) super(text: text, icon: 'icons/popup-link.svg') end - end diff --git a/app/components/rounded_button_component.rb b/app/components/rounded_button_component.rb index b2a0ce49c6..76f5ab08ab 100644 --- a/app/components/rounded_button_component.rb +++ b/app/components/rounded_button_component.rb @@ -1,5 +1,7 @@ +# frozen_string_literal: true + class RoundedButtonComponent < ViewComponent::Base - def initialize(icon: "json.svg", link: "#", size: "small", target: '', title: '') + def initialize(icon: 'json.svg', link: '#', size: 'small', target: '', title: '') @icon = icon @link = link @size = size @@ -9,13 +11,12 @@ def initialize(icon: "json.svg", link: "#", size: "small", target: '', title: '' def size case @size - when "small" - ["32px", "1", "16px"] - when "medium" - ["45px", "1", "23px"] - when "big" - ["100px", "2.5", "50px"] + when 'small' + %w[32px 1 16px] + when 'medium' + %w[45px 1 23px] + when 'big' + ['100px', '2.5', '50px'] end end - -end \ No newline at end of file +end diff --git a/app/components/search_input_component.rb b/app/components/search_input_component.rb index 97b5c8b78d..ee8ff03128 100644 --- a/app/components/search_input_component.rb +++ b/app/components/search_input_component.rb @@ -1,14 +1,10 @@ # frozen_string_literal: true class SearchInputComponent < ViewComponent::Base - renders_one :template - def initialize(name: '', placeholder: '', actions_links: {}, + def initialize(ajax_url:, item_base_url:, id_key:, name: '', placeholder: '', actions_links: {}, scroll_down: true, use_cache: true, - ajax_url:, - item_base_url:, - id_key:, links_target: '_top') super @name = name @@ -21,9 +17,10 @@ def initialize(name: '', placeholder: '', actions_links: {}, @id_key = id_key @links_target = links_target end + def action_link_info(value) if value.is_a?(Hash) - [value[:link] , value[:target]] + [value[:link], value[:target]] else [value, '_top'] end diff --git a/app/components/select_input_component.rb b/app/components/select_input_component.rb index 6aee690253..d359a0baae 100644 --- a/app/components/select_input_component.rb +++ b/app/components/select_input_component.rb @@ -1,8 +1,8 @@ # frozen_string_literal: true class SelectInputComponent < ViewComponent::Base - - def initialize(id:, name:, values:, selected: nil, multiple: false, open_to_add_values: false, data: {}, placeholder: '') + def initialize(id:, name:, values:, selected: nil, multiple: false, open_to_add_values: false, data: {}, + placeholder: '') super @id = id || '' @name = name @@ -15,7 +15,8 @@ def initialize(id:, name:, values:, selected: nil, multiple: false, open_to_add_ end def call - select_input_tag(@id, @name, @values, @selected, multiple: @multiple, open_to_add_values: @open_to_add_values, placeholder: @placeholder) + select_input_tag(@id, @name, @values, @selected, multiple: @multiple, open_to_add_values: @open_to_add_values, + placeholder: @placeholder) end private @@ -38,6 +39,5 @@ def select_input_tag(id, name, values, selected, options = {}) data: data } select_tag(name, options_for_select(values, selected), select_html_options) - end end diff --git a/app/components/square_badge_component.rb b/app/components/square_badge_component.rb index 9d85a8c34f..65ac08a7a1 100644 --- a/app/components/square_badge_component.rb +++ b/app/components/square_badge_component.rb @@ -1,12 +1,12 @@ # frozen_string_literal: true class SquareBadgeComponent < ViewComponent::Base - - def initialize(label: , count: ,link: nil) + def initialize(label:, count:, link: nil) @label = label @count = count @link = link end + def call return if @count.to_i.zero? @@ -15,5 +15,4 @@ def call concat(content_tag(:p, @label, class: 'browse-card-text')) end end - end diff --git a/app/components/submission_metadata_component.rb b/app/components/submission_metadata_component.rb index 69c23f9bdf..f48e1d6008 100644 --- a/app/components/submission_metadata_component.rb +++ b/app/components/submission_metadata_component.rb @@ -1,9 +1,12 @@ # frozen_string_literal: true class SubmissionMetadataComponent < ViewComponent::Base - include ApplicationHelper, MetadataHelper,OntologiesHelper, AgentHelper + include AgentHelper + include OntologiesHelper + include MetadataHelper + include ApplicationHelper - def initialize(submission: , submission_metadata:) + def initialize(submission:, submission_metadata:) super @submission = submission @@ -11,42 +14,39 @@ def initialize(submission: , submission_metadata:) metadata_list = {} # Get extracted metadata and put them in a hash with their label, if one, as value @json_metadata.each do |metadata| - metadata_list[metadata["attribute"]] = metadata["label"] + metadata_list[metadata['attribute']] = metadata['label'] end @metadata_list = metadata_list.sort end def display_attributes(metadata) - if Array(@submission.send(metadata)).empty? - out = 'N/A' - else - out = Array(@submission.send(metadata)).map do |value| - content_tag(:div, class: 'm-1 f32') do - display_attribute(metadata, value) - end - end.join - end + out = if Array(@submission.send(metadata)).empty? + 'N/A' + else + Array(@submission.send(metadata)).map do |value| + content_tag(:div, class: 'm-1 f32') do + display_attribute(metadata, value) + end + end.join + end out.html_safe end + def attribute_help_text(attr) - if !attr["namespace"].nil? - help_text = "#{attr["namespace"]}:#{attr["attribute"]}" - else - help_text = "bioportal:#{attr["attribute"]}" - end + help_text = if !attr['namespace'].nil? + "#{attr['namespace']}:#{attr['attribute']}" + else + "bioportal:#{attr['attribute']}" + end - if (attr["metadataMappings"] != nil) - help_text += " (#{attr["metadataMappings"].join(", ")})" - end + help_text += " (#{attr['metadataMappings'].join(', ')})" unless attr['metadataMappings'].nil? - if (!attr["enforce"].nil? && attr["enforce"].include?("uri")) - help_text += "
This metadata should be an URI" + if !attr['enforce'].nil? && attr['enforce'].include?('uri') + help_text += '
This metadata should be an URI' end - if (attr["helpText"] != nil) - help_text += "

#{attr["helpText"]}" - end + help_text += "

#{attr['helpText']}" unless attr['helpText'].nil? help_text.html_safe end end diff --git a/app/components/submission_status_component.rb b/app/components/submission_status_component.rb index eb33b10bec..1d12012449 100644 --- a/app/components/submission_status_component.rb +++ b/app/components/submission_status_component.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class SubmissionStatusComponent < ViewComponent::Base include OntologiesHelper @@ -7,23 +9,22 @@ def initialize(submission, latest) end def submission_version - @submission.version.to_s if @submission.version.present? + @submission.version.to_s if @submission.version.present? end def submission_link - if @submission.version.present? - if @submission.ontology.summaryOnly || !@latest - submission_version - else - link_to submission_version, ontology_path(@submission.ontology.acronym) - end + return unless @submission.version.present? + + if @submission.ontology.summaryOnly || !@latest + submission_version + else + link_to submission_version, ontology_path(@submission.ontology.acronym) end end def submission_status return unless @submission.submissionStatus.present? - statuses = submission_status2string(@submission) - end + submission_status2string(@submission) + end end - \ No newline at end of file diff --git a/app/components/summary_section_component.rb b/app/components/summary_section_component.rb index 0ca33932f6..ea26a08cf1 100644 --- a/app/components/summary_section_component.rb +++ b/app/components/summary_section_component.rb @@ -3,7 +3,7 @@ class SummarySectionComponent < ViewComponent::Base renders_many :action_links - def initialize(title: , link: nil, link_title: nil, show_card: true) + def initialize(title:, link: nil, link_title: nil, show_card: true) super @title = title @link = link diff --git a/app/components/switch_input_component.rb b/app/components/switch_input_component.rb index 3b7f677817..83346a2f0a 100644 --- a/app/components/switch_input_component.rb +++ b/app/components/switch_input_component.rb @@ -1,9 +1,7 @@ # frozen_string_literal: true class SwitchInputComponent < ViewComponent::Base - - - def initialize(id:, name: , label: '', value: '', checked: false, boolean_switch: false) + def initialize(id:, name:, label: '', value: '', checked: false, boolean_switch: false) super @id = id @name = name @@ -22,6 +20,6 @@ def check_box_name end def check_box_id - @boolean_switch ? @id +"_checkbox" :@id + @boolean_switch ? "#{@id}_checkbox" : @id end end diff --git a/app/components/tab_item_component.rb b/app/components/tab_item_component.rb index b6612bb5be..4e5f39590f 100644 --- a/app/components/tab_item_component.rb +++ b/app/components/tab_item_component.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true class TabItemComponent < ViewComponent::Base - include ActionView::Helpers::UrlHelper def initialize(id: nil, title: nil, path: nil, page_name: '', selected: false) @@ -25,7 +24,6 @@ def target_id "#{item_id}_content" end - def id @title || @id end @@ -47,5 +45,4 @@ def call end end end - end diff --git a/app/components/table_cell_component.rb b/app/components/table_cell_component.rb index 2e459cb32a..7ea9c43317 100644 --- a/app/components/table_cell_component.rb +++ b/app/components/table_cell_component.rb @@ -1,8 +1,7 @@ # frozen_string_literal: true class TableCellComponent < ViewComponent::Base - - def initialize(width: nil, colspan: nil,type: 'td') + def initialize(width: nil, colspan: nil, type: 'td') super @width = width @type = type diff --git a/app/components/table_component.rb b/app/components/table_component.rb index 9670464db6..af4f1cfdfc 100644 --- a/app/components/table_component.rb +++ b/app/components/table_component.rb @@ -1,11 +1,10 @@ # frozen_string_literal: true class TableComponent < ViewComponent::Base - renders_one :header, TableRowComponent renders_many :rows, TableRowComponent - def initialize(id: '', stripped: true, borderless: false, layout_fixed: false ) + def initialize(id: '', stripped: true, borderless: false, layout_fixed: false) super @id = id @stripped = stripped @@ -26,6 +25,6 @@ def layout_fixed_class end def add_row(*array, &block) - self.row.create(*array, &block) + row.create(*array, &block) end end diff --git a/app/components/table_row_component.rb b/app/components/table_row_component.rb index 68620a05c3..31f640fce8 100644 --- a/app/components/table_row_component.rb +++ b/app/components/table_row_component.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true class TableRowComponent < ViewComponent::Base - renders_many :cells, TableCellComponent def initialize(id: '', class_css: '') @@ -13,16 +12,16 @@ def initialize(id: '', class_css: '') def create(*array, &block) array.each do |key_value| key, value = key_value.to_a.first - self.cell(type: key) { value&.to_s } + cell(type: key) { value&.to_s } end block.call(self) if block_given? end def th(width: nil, colspan: nil, &block) - self.cell(type: 'th', width: width, colspan: colspan, &block) + cell(type: 'th', width: width, colspan: colspan, &block) end def td(width: nil, colspan: nil, &block) - self.cell(type: 'td', width: width, colspan: colspan, &block) + cell(type: 'td', width: width, colspan: colspan, &block) end end diff --git a/app/components/tabs_container_component.rb b/app/components/tabs_container_component.rb index bb9ecaa21c..1b1eb7ed42 100644 --- a/app/components/tabs_container_component.rb +++ b/app/components/tabs_container_component.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true class TabsContainerComponent < ViewComponent::Base - renders_many :items, TabItemComponent renders_many :item_contents renders_one :pinned_right diff --git a/app/components/text_area_field_component.rb b/app/components/text_area_field_component.rb index 5da424e33f..36aa9b7a08 100644 --- a/app/components/text_area_field_component.rb +++ b/app/components/text_area_field_component.rb @@ -1,12 +1,10 @@ # frozen_string_literal: true class TextAreaFieldComponent < ViewComponent::Base - - def initialize(value: , see_more_text:'See more...' , see_less_text: 'See less...') + def initialize(value:, see_more_text: 'See more...', see_less_text: 'See less...') super @value = value @see_more_text = see_more_text @see_less_text = see_less_text end - -end \ No newline at end of file +end diff --git a/app/components/tree_infinite_scroll_component.rb b/app/components/tree_infinite_scroll_component.rb index 4d751bf17b..07666cee9d 100644 --- a/app/components/tree_infinite_scroll_component.rb +++ b/app/components/tree_infinite_scroll_component.rb @@ -1,8 +1,8 @@ # frozen_string_literal: true class TreeInfiniteScrollComponent < ViewComponent::Base - attr_reader :collection + renders_one :error def initialize(id:, collection:, next_url:, current_page:, next_page:, auto_click: false) diff --git a/app/components/turbo_frame_component.rb b/app/components/turbo_frame_component.rb index d25322e154..3190f9aadb 100644 --- a/app/components/turbo_frame_component.rb +++ b/app/components/turbo_frame_component.rb @@ -30,9 +30,7 @@ def turbo_frame_html_options @html_options[:class] += " #{out[:class]}" end - if @src && !@src.empty? - @html_options[:src] = @src - end + @html_options[:src] = @src if @src && !@src.empty? @html_options end diff --git a/app/components/turbo_modal_component.rb b/app/components/turbo_modal_component.rb index 3cb4af7782..cf8624bd9f 100644 --- a/app/components/turbo_modal_component.rb +++ b/app/components/turbo_modal_component.rb @@ -10,5 +10,4 @@ def initialize(id: '', title: '', size: 'modal-lg', show: false) @size = size @show = show end - end diff --git a/app/controllers/about_controller.rb b/app/controllers/about_controller.rb index 4b9b5e8366..36fa1938d7 100644 --- a/app/controllers/about_controller.rb +++ b/app/controllers/about_controller.rb @@ -1,5 +1,6 @@ +# frozen_string_literal: true + class AboutController < ApplicationController layout 'ontology' - def index - end + def index; end end diff --git a/app/controllers/admin/categories_controller.rb b/app/controllers/admin/categories_controller.rb index 8d52212bb1..8784974f38 100644 --- a/app/controllers/admin/categories_controller.rb +++ b/app/controllers/admin/categories_controller.rb @@ -1,111 +1,120 @@ -class Admin::CategoriesController < ApplicationController - include SubmissionUpdater +# frozen_string_literal: true - layout :determine_layout - before_action :unescape_id, only: [:edit, :show, :update, :destroy] - before_action :authorize_admin +module Admin + class CategoriesController < ApplicationController + include SubmissionUpdater - CATEGORIES_URL = "#{LinkedData::Client.settings.rest_url}/categories" - ATTRIBUTE_TO_INCLUDE = 'name,acronym,created,description,parentCategory,ontologies' + layout :determine_layout + before_action :unescape_id, only: %i[edit show update destroy] + before_action :authorize_admin - def index - response = _categories - render :json => response - end - - def new - @category = LinkedData::Client::Models::Category.new + CATEGORIES_URL = "#{LinkedData::Client.settings.rest_url}/categories" + ATTRIBUTE_TO_INCLUDE = 'name,acronym,created,description,parentCategory,ontologies' - respond_to do |format| - format.html { render "new", :layout => false } + def index + response = _categories + render json: response end - end - def edit - @category = LinkedData::Client::Models::Category.find_by_acronym(params[:id], include:'name,acronym,created,description,parentCategory,ontologies' ).first - @ontologies_category = LinkedData::Client::Models::Ontology.all(include: 'acronym').map {|o|[o.acronym, o.id] } - respond_to do |format| - format.html { render "edit", :layout => false } - end - end + def new + @category = LinkedData::Client::Models::Category.new - def create - response = { errors: '', success: '' } - start = Time.now - begin - category = LinkedData::Client::Models::Category.new(values: category_params) - category_saved = category.save - if response_error?(category_saved) - response[:errors] = response_errors(category_saved) - else - response[:success] = "category successfully created in #{Time.now - start}s" + respond_to do |format| + format.html { render 'new', layout: false } end - rescue Exception => e - response[:errors] = "Problem creating the category - #{e.message}" end - render json: response, status: (response[:errors] == '' ? :created : :internal_server_error) - end + def edit + @category = LinkedData::Client::Models::Category.find_by_acronym(params[:id], + include: 'name,acronym,created,description,parentCategory,ontologies').first + @ontologies_category = LinkedData::Client::Models::Ontology.all(include: 'acronym').map { |o| [o.acronym, o.id] } + respond_to do |format| + format.html { render 'edit', layout: false } + end + end - def update - response = { errors: '', success: ''} - start = Time.now - begin - category = LinkedData::Client::Models::Category.find_by_acronym(params[:id], include: ATTRIBUTE_TO_INCLUDE ).first - add_ontologies_to_object(category_params[:ontologies],category) if (category_params[:ontologies].present? && category_params[:ontologies].size > 0 && category_params[:ontologies].first != '') - delete_ontologies_from_object(category_params[:ontologies],category.ontologies,category) - category.update_from_params(category_params) - category_update = category.update - if response_error?(category_update) - response[:errors] = response_errors(category_update) - else - response[:success] = "category successfully updated in #{Time.now - start}s" + def create + response = { errors: '', success: '' } + start = Time.now + begin + category = LinkedData::Client::Models::Category.new(values: category_params) + category_saved = category.save + if response_error?(category_saved) + response[:errors] = response_errors(category_saved) + else + response[:success] = "category successfully created in #{Time.now - start}s" + end + rescue Exception => e + response[:errors] = "Problem creating the category - #{e.message}" end - rescue Exception => e - response[:errors] = "Problem updating the category - #{e.message}" + render json: response, status: (response[:errors] == '' ? :created : :internal_server_error) end - render json: response, status: (response[:errors] == '' ? :ok : :internal_server_error) - end - def destroy - response = { errors: '', success: ''} - start = Time.now - begin - category = LinkedData::Client::Models::Category.find_by_acronym(params[:id]).first - error_response = category.delete - - if response_error?(error_response) - response[:errors] = response_errors(error_response) - else - response[:success] = "category successfully deleted in #{Time.now - start}s" + def update + response = { errors: '', success: '' } + start = Time.now + begin + category = LinkedData::Client::Models::Category.find_by_acronym(params[:id], + include: ATTRIBUTE_TO_INCLUDE).first + if category_params[:ontologies].present? && category_params[:ontologies].size.positive? && category_params[:ontologies].first != '' + add_ontologies_to_object(category_params[:ontologies], + category) + end + delete_ontologies_from_object(category_params[:ontologies], category.ontologies, category) + category.update_from_params(category_params) + category_update = category.update + if response_error?(category_update) + response[:errors] = response_errors(category_update) + else + response[:success] = "category successfully updated in #{Time.now - start}s" + end + rescue Exception => e + response[:errors] = "Problem updating the category - #{e.message}" end - rescue Exception => e - response[:errors] = "Problem deleting the category - #{e.message}" + render json: response, status: (response[:errors] == '' ? :ok : :internal_server_error) end - render json: response, status: (response[:errors] == '' ? :ok : :internal_server_error) - end - private + def destroy + response = { errors: '', success: '' } + start = Time.now + begin + category = LinkedData::Client::Models::Category.find_by_acronym(params[:id]).first + error_response = category.delete + + if response_error?(error_response) + response[:errors] = response_errors(error_response) + else + response[:success] = "category successfully deleted in #{Time.now - start}s" + end + rescue Exception => e + response[:errors] = "Problem deleting the category - #{e.message}" + end + render json: response, status: (response[:errors] == '' ? :ok : :internal_server_error) + end - def unescape_id - params[:id] = CGI.unescape(params[:id]) - end + private - def category_params - params.require(:category).permit(:acronym, :name, :description, :parentCategory, {ontologies:[]}).to_h - end + def unescape_id + params[:id] = CGI.unescape(params[:id]) + end - def _categories - response = { categories: Hash.new, errors: '', success: '' } - start = Time.now - begin - response[:categories] = JSON.parse(LinkedData::Client::HTTP.get(CATEGORIES_URL, { include: ATTRIBUTE_TO_INCLUDE }, raw: true)) + def category_params + params.require(:category).permit(:acronym, :name, :description, :parentCategory, { ontologies: [] }).to_h + end - response[:success] = "categories successfully retrieved in #{Time.now - start}s" - LOG.add :debug, "Categories - retrieved #{response[:categories].length} groups in #{Time.now - start}s" - rescue Exception => e - response[:errors] = "Problem retrieving categories - #{e.message}" + def _categories + response = { categories: {}, errors: '', success: '' } + start = Time.now + begin + response[:categories] = + JSON.parse(LinkedData::Client::HTTP.get(CATEGORIES_URL, { include: ATTRIBUTE_TO_INCLUDE }, raw: true)) + + response[:success] = "categories successfully retrieved in #{Time.now - start}s" + LOG.add :debug, "Categories - retrieved #{response[:categories].length} groups in #{Time.now - start}s" + rescue Exception => e + response[:errors] = "Problem retrieving categories - #{e.message}" + end + response end - response end end diff --git a/app/controllers/admin/groups_controller.rb b/app/controllers/admin/groups_controller.rb index 3df27d2e02..207608b310 100644 --- a/app/controllers/admin/groups_controller.rb +++ b/app/controllers/admin/groups_controller.rb @@ -1,111 +1,117 @@ -class Admin::GroupsController < ApplicationController - include SubmissionUpdater +# frozen_string_literal: true - layout :determine_layout - before_action :unescape_id, only: [:edit, :show, :update, :destroy] - before_action :authorize_admin +module Admin + class GroupsController < ApplicationController + include SubmissionUpdater - GROUPS_URL = "#{LinkedData::Client.settings.rest_url}/groups" + layout :determine_layout + before_action :unescape_id, only: %i[edit show update destroy] + before_action :authorize_admin - def index - response = _groups - render :json => response - end - - def new - @group = LinkedData::Client::Models::Group.new + GROUPS_URL = "#{LinkedData::Client.settings.rest_url}/groups" - respond_to do |format| - format.html { render "new", :layout => false } + def index + response = _groups + render json: response end - end - def edit - @group = LinkedData::Client::Models::Group.find_by_acronym(params[:id]).first - @acronyms = @group.ontologies.map { |url| url.match(/\/([^\/]+)$/)[1] } - @ontologies_group = LinkedData::Client::Models::Ontology.all(include: 'acronym').map {|o|[o.acronym, o.id] } - respond_to do |format| - format.html { render "edit", :layout => false } + def new + @group = LinkedData::Client::Models::Group.new + + respond_to do |format| + format.html { render 'new', layout: false } + end end - end - def create - response = { errors: '', success: '' } - start = Time.now - begin - group = LinkedData::Client::Models::Group.new(values: group_params) - group_saved = group.save - if response_error?(group_saved) - response[:errors] = response_errors(group_saved) - else - response[:success] = "group successfully created in #{Time.now - start}s" + def edit + @group = LinkedData::Client::Models::Group.find_by_acronym(params[:id]).first + @acronyms = @group.ontologies.map { |url| url.match(%r{/([^/]+)$})[1] } + @ontologies_group = LinkedData::Client::Models::Ontology.all(include: 'acronym').map { |o| [o.acronym, o.id] } + respond_to do |format| + format.html { render 'edit', layout: false } end - rescue Exception => e - response[:errors] = "Problem creating the group - #{e.message}" end - render json: response, status: (response[:errors] == '' ? :created : :internal_server_error) - end + def create + response = { errors: '', success: '' } + start = Time.now + begin + group = LinkedData::Client::Models::Group.new(values: group_params) + group_saved = group.save + if response_error?(group_saved) + response[:errors] = response_errors(group_saved) + else + response[:success] = "group successfully created in #{Time.now - start}s" + end + rescue Exception => e + response[:errors] = "Problem creating the group - #{e.message}" + end + render json: response, status: (response[:errors] == '' ? :created : :internal_server_error) + end - def update - response = { errors: '', success: ''} - start = Time.now - begin - group = LinkedData::Client::Models::Group.find_by_acronym(params[:id]).first - add_ontologies_to_object(group_params[:ontologies],group) if (group_params[:ontologies].present? && group_params[:ontologies].size > 0 && group_params[:ontologies].first != '') - delete_ontologies_from_object(group_params[:ontologies],group.ontologies,group) - group.update_from_params(group_params) - group_updated = group.update - if response_error?(group_updated) - response[:errors] = response_errors(group_updated) - else - response[:success] = "group successfully updated in #{Time.now - start}s" + def update + response = { errors: '', success: '' } + start = Time.now + begin + group = LinkedData::Client::Models::Group.find_by_acronym(params[:id]).first + if group_params[:ontologies].present? && group_params[:ontologies].size.positive? && group_params[:ontologies].first != '' + add_ontologies_to_object(group_params[:ontologies], + group) + end + delete_ontologies_from_object(group_params[:ontologies], group.ontologies, group) + group.update_from_params(group_params) + group_updated = group.update + if response_error?(group_updated) + response[:errors] = response_errors(group_updated) + else + response[:success] = "group successfully updated in #{Time.now - start}s" + end + rescue Exception => e + response[:errors] = "Problem updating the group - #{e.message}" end - rescue Exception => e - response[:errors] = "Problem updating the group - #{e.message}" + render json: response, status: (response[:errors] == '' ? :ok : :internal_server_error) end - render json: response, status: (response[:errors] == '' ? :ok : :internal_server_error) - end - def destroy - response = { errors: '', success: ''} - start = Time.now - begin - group = LinkedData::Client::Models::Group.find_by_acronym(params[:id]).first - error_response = group.delete - - if response_error?(error_response) - response[:errors] = response_errors(error_response) - else - response[:success] = "group successfully deleted in #{Time.now - start}s" + def destroy + response = { errors: '', success: '' } + start = Time.now + begin + group = LinkedData::Client::Models::Group.find_by_acronym(params[:id]).first + error_response = group.delete + + if response_error?(error_response) + response[:errors] = response_errors(error_response) + else + response[:success] = "group successfully deleted in #{Time.now - start}s" + end + rescue Exception => e + response[:errors] = "Problem deleting the group - #{e.message}" end - rescue Exception => e - response[:errors] = "Problem deleting the group - #{e.message}" + render json: response, status: (response[:errors] == '' ? :ok : :internal_server_error) end - render json: response, status: (response[:errors] == '' ? :ok : :internal_server_error) - end - private + private - def unescape_id - params[:id] = CGI.unescape(params[:id]) - end + def unescape_id + params[:id] = CGI.unescape(params[:id]) + end - def group_params - params.require(:group).permit(:acronym, :name, :description, {ontologies:[]}).to_h() - end + def group_params + params.require(:group).permit(:acronym, :name, :description, { ontologies: [] }).to_h + end - def _groups - response = { groups: Hash.new, errors: '', success: '' } - start = Time.now - begin - response[:groups] = JSON.parse(LinkedData::Client::HTTP.get(GROUPS_URL, { include: 'all' }, raw: true)) + def _groups + response = { groups: {}, errors: '', success: '' } + start = Time.now + begin + response[:groups] = JSON.parse(LinkedData::Client::HTTP.get(GROUPS_URL, { include: 'all' }, raw: true)) - response[:success] = "groups successfully retrieved in #{Time.now - start}s" - LOG.add :debug, "Groups - retrieved #{response[:groups].length} groups in #{Time.now - start}s" - rescue Exception => e - response[:errors] = "Problem retrieving groups - #{e.message}" + response[:success] = "groups successfully retrieved in #{Time.now - start}s" + LOG.add :debug, "Groups - retrieved #{response[:groups].length} groups in #{Time.now - start}s" + rescue Exception => e + response[:errors] = "Problem retrieving groups - #{e.message}" + end + response end - response end end diff --git a/app/controllers/admin/licenses_controller.rb b/app/controllers/admin/licenses_controller.rb index 75cfbbdfa7..5f2b81a89a 100644 --- a/app/controllers/admin/licenses_controller.rb +++ b/app/controllers/admin/licenses_controller.rb @@ -1,30 +1,32 @@ -class Admin::LicensesController < ApplicationController +# frozen_string_literal: true - def index - @licenses = License.current_license - respond_to :js - end +module Admin + class LicensesController < ApplicationController + def index + @licenses = License.current_license + respond_to :js + end - def new - @license = License.new - end + def new + @license = License.new + end - def create - @license = License.new(license_params) + def create + @license = License.new(license_params) - respond_to do |format| - if @license.save - format.js { flash.now[:notice] = t(".success") } - else - format.js { render :new } + respond_to do |format| + if @license.save + format.js { flash.now[:notice] = t('.success') } + else + format.js { render :new } + end end end - end - private + private - def license_params - params.require(:license).permit(:encrypted_key) + def license_params + params.require(:license).permit(:encrypted_key) + end end - end diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 90af90d254..68b4a8f3b0 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -1,175 +1,168 @@ +# frozen_string_literal: true + class AdminController < ApplicationController include TurboHelper layout :determine_layout before_action :cache_setup - DEBUG_BLACKLIST = [:"$,", :$ADDITIONAL_ONTOLOGY_DETAILS, :$rdebug_state, - :$PROGRAM_NAME, :$LOADED_FEATURES, :$KCODE, :$-i, :$rails_rake_task, :$$, :$gems_build_rake_task, - :$daemons_stop_proc, :$VERBOSE, :$DAEMONS_ARGV, :$daemons_sigterm, - :$DEBUG_BEFORE, :$stdout, :$-0, :$-l, :$-I, :$DEBUG, :$', - :$gems_rake_task, :$_, :$CODERAY_DEBUG, :$-F, :$", :$0, :$=, :$FILENAME, :$?, - :$!, :$rdebug_in_irb, :$-K, :$TESTING, :$fileutils_rb_have_lchmod, - :$EMAIL_EXCEPTIONS, :$binding, :$-v, :$>, :$SAFE, :$/, - :$fileutils_rb_have_lchown, :$-p, :$-W, :$:, :$__dbg_interface, - :$stderr, :$\, :$&, :$<, :$debug, :$;, :$~, :$-a, - :$DEBUG_RDOC, :$CGI_ENV, :$LOAD_PATH, :$-d, :$*, :$., :$-w, :$+, - :$@, :$`, :$stdin, :$1, :$2, :$3, :$4, :$5, :$6, :$7, :$8, :$9] + DEBUG_BLACKLIST = [:$,, :$ADDITIONAL_ONTOLOGY_DETAILS, :$rdebug_state, :$PROGRAM_NAME, :$LOADED_FEATURES, :$KCODE, + :$-i, :$rails_rake_task, :$$, :$gems_build_rake_task, :$daemons_stop_proc, :$VERBOSE, :$DAEMONS_ARGV, :$daemons_sigterm, :$DEBUG_BEFORE, :$stdout, :$-0, :$-l, :$-I, :$DEBUG, :$', :$gems_rake_task, :$_, :$CODERAY_DEBUG, :$-F, :$", :$0, :$=, :$FILENAME, :$?, :$!, :$rdebug_in_irb, :$-K, :$TESTING, :$fileutils_rb_have_lchmod, :$EMAIL_EXCEPTIONS, :$binding, :$-v, :$>, :$SAFE, :$/, :$fileutils_rb_have_lchown, :$-p, :$-W, :$:, :$__dbg_interface, :$stderr, :'$ $&', :$<, :$debug, :$;, :$~, :$-a, :$DEBUG_RDOC, :$CGI_ENV, :$LOAD_PATH, :$-d, :$*, :$., :$-w, :$+, :$@, :$`, :$stdin, :$1, :$2, :$3, :$4, :$5, :$6, :$7, :$8, :$9].freeze ADMIN_URL = "#{LinkedData::Client.settings.rest_url}/admin/" ONTOLOGIES_URL = "#{ADMIN_URL}ontologies_report" USERS_URL = "#{LinkedData::Client.settings.rest_url}/users" - ONTOLOGY_URL = lambda { |acronym| "#{ADMIN_URL}ontologies/#{acronym}" } - PARSE_LOG_URL = lambda { |acronym| "#{ONTOLOGY_URL.call(acronym)}/log" } - REPORT_NEVER_GENERATED = "NEVER GENERATED" + ONTOLOGY_URL = ->(acronym) { "#{ADMIN_URL}ontologies/#{acronym}" } + PARSE_LOG_URL = ->(acronym) { "#{ONTOLOGY_URL.call(acronym)}/log" } + REPORT_NEVER_GENERATED = 'NEVER GENERATED' def index @users = LinkedData::Client::Models::User.all if session[:user].nil? || !session[:user].admin? - redirect_to :controller => 'login', :action => 'index', :redirect => '/admin' + redirect_to controller: 'login', action: 'index', redirect: '/admin' else - render action: "index" + render action: 'index' end end def update_info - response = {update_info: Hash.new, errors: '', success: '', notices: ''} + response = { update_info: {}, errors: '', success: '', notices: '' } json = LinkedData::Client::HTTP.get("#{ADMIN_URL}update_info", params, raw: true) begin update_info = JSON.parse(json) - if update_info["error"] - response[:errors] = update_info["error"] + if update_info['error'] + response[:errors] = update_info['error'] else response[:update_info] = update_info - response[:notices] = update_info["notes"] if update_info["notes"] - response[:success] = "Update info successfully retrieved" + response[:notices] = update_info['notes'] if update_info['notes'] + response[:success] = 'Update info successfully retrieved' end rescue Exception => e response[:errors] = "Problem retrieving update info - #{e.message}" end - render :json => response + render json: response end def update_check_enabled enabled = LinkedData::Client::HTTP.get("#{ADMIN_URL}update_check_enabled", {}, raw: false) - render :json => enabled + render json: enabled end def submissions @submissions = nil - @acronym = params["acronym"] - @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(params["acronym"]).first + @acronym = params['acronym'] + @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(params['acronym']).first begin submissions = @ontology.explore.submissions - @submissions = submissions.sort {|a,b| b.submissionId <=> a.submissionId } - rescue + @submissions = submissions.sort { |a, b| b.submissionId <=> a.submissionId } + rescue StandardError @submissions = [] end - render :partial => "layouts/ontology_report_submissions" + render partial: 'layouts/ontology_report_submissions' end def parse_log - @acronym = params["acronym"] - @parse_log = LinkedData::Client::HTTP.get(PARSE_LOG_URL.call(params["acronym"]), {}, raw: false) + @acronym = params['acronym'] + @parse_log = LinkedData::Client::HTTP.get(PARSE_LOG_URL.call(params['acronym']), {}, raw: false) ontologies_report = _ontologies_report - ontology = ontologies_report[:ontologies][params["acronym"].to_sym] + ontology = ontologies_report[:ontologies][params['acronym'].to_sym] @log_file_path = '' if ontology full_log_file_path = ontology[:logFilePath] - @log_file_path = /#{params["acronym"]}\/\d+\/[-a-zA-Z0-9_]+\.log$/.match(full_log_file_path) + @log_file_path = %r{#{params['acronym']}/\d+/[-a-zA-Z0-9_]+\.log$}.match(full_log_file_path) else - @parse_log = "No record exists for ontology #{params["acronym"]}" - @log_file_path = "None" + @parse_log = "No record exists for ontology #{params['acronym']}" + @log_file_path = 'None' end - render action: "parse_log" + render action: 'parse_log' end def clearcache - response = {errors: '', success: ''} + response = { errors: '', success: '' } if @cache.respond_to?(:flush_all) begin @cache.flush_all - response[:success] = "UI cache successfully flushed" + response[:success] = 'UI cache successfully flushed' rescue Exception => e response[:errors] = "Problem flushing the UI cache - #{e.class}: #{e.message}" end else response[:errors] = "The UI cache does not respond to the 'flush_all' command" end - render :json => response + render json: response end def resetcache - response = {errors: '', success: ''} + response = { errors: '', success: '' } if @cache.respond_to?(:reset) begin @cache.reset - response[:success] = "UI cache connection successfully reset" + response[:success] = 'UI cache connection successfully reset' rescue Exception => e response[:errors] = "Problem resetting the UI cache connection - #{e.message}" end else response[:errors] = "The UI cache does not respond to the 'reset' command" end - render :json => response + render json: response end def clear_goo_cache - response = {errors: '', success: ''} + response = { errors: '', success: '' } begin - response_raw = LinkedData::Client::HTTP.post("#{ADMIN_URL}clear_goo_cache", params, raw: true) - response[:success] = "Goo cache successfully flushed" + LinkedData::Client::HTTP.post("#{ADMIN_URL}clear_goo_cache", params, raw: true) + response[:success] = 'Goo cache successfully flushed' rescue Exception => e response[:errors] = "Problem flushing the Goo cache - #{e.class}: #{e.message}" end - render :json => response + render json: response end def clear_http_cache - response = {errors: '', success: ''} + response = { errors: '', success: '' } begin - response_raw = LinkedData::Client::HTTP.post("#{ADMIN_URL}clear_http_cache", params, raw: true) - response[:success] = "HTTP cache successfully flushed" + LinkedData::Client::HTTP.post("#{ADMIN_URL}clear_http_cache", params, raw: true) + response[:success] = 'HTTP cache successfully flushed' rescue Exception => e response[:errors] = "Problem flushing the HTTP cache - #{e.class}: #{e.message}" end - render :json => response + render json: response end def ontologies_report response = _ontologies_report - render :json => response + render json: response end def refresh_ontologies_report - response = {errors: '', success: ''} + response = { errors: '', success: '' } begin response_raw = LinkedData::Client::HTTP.post(ONTOLOGIES_URL, params, raw: true) - response_json = JSON.parse(response_raw, :symbolize_names => true) + response_json = JSON.parse(response_raw, symbolize_names: true) if response_json[:errors] _process_errors(response_json[:errors], response, true) else response = response_json - if params["ontologies"].nil? || params["ontologies"].empty? - response[:success] = "Refresh of ontologies report started successfully"; + if params['ontologies'].nil? || params['ontologies'].empty? + response[:success] = 'Refresh of ontologies report started successfully' else - ontologies = params["ontologies"].split(",").map {|o| o.strip} - response[:success] = "Refresh of report for ontologies: #{ontologies.join(", ")} started successfully"; + ontologies = params['ontologies'].split(',').map(&:strip) + response[:success] = "Refresh of report for ontologies: #{ontologies.join(', ')} started successfully" end end rescue Exception => e response[:errors] = "Problem refreshing report - #{e.class}: #{e.message}" # puts "#{e.class}: #{e.message}\n#{e.backtrace.join("\n\t")}" end - render :json => response + render json: response end def process_ontologies @@ -182,9 +175,9 @@ def delete_ontologies def delete_submission response = { errors: '', success: '' } - submission_id = params["id"] + submission_id = params['id'] begin - ont = params["acronym"] + ont = params['acronym'] ontology = LinkedData::Client::Models::Ontology.find_by_acronym(ont).first if ontology @@ -196,57 +189,56 @@ def delete_submission errors = response_errors(error_response) _process_errors(errors, response, true) else - response[:success] << "Submission #{params["id"]} for ontology #{ont} was deleted successfully" + response[:success] << "Submission #{params['id']} for ontology #{ont} was deleted successfully" end else - response[:errors] << "Submission #{params["id"]} for ontology #{ont} was not found in the system" + response[:errors] << "Submission #{params['id']} for ontology #{ont} was not found in the system" end else response[:errors] << "Ontology #{ont} was not found in the system" end rescue Exception => e - response[:errors] << "Problem deleting submission #{params["id"]} for ontology #{ont} - #{e.class}: #{e.message}" + response[:errors] << "Problem deleting submission #{params['id']} for ontology #{ont} - #{e.class}: #{e.message}" end if params[:turbo_stream] if response[:errors].empty? - render_turbo_stream( alert_success { response[:success] }, remove('submission_' + submission_id.to_s)) + render_turbo_stream(alert_success { response[:success] }, remove("submission_#{submission_id}")) else - render_turbo_stream alert_error { response[:errors] } + render_turbo_stream(alert_error { response[:errors] }) end else - render :json => response + render json: response end - end def users response = _users - render :json => response + render json: response end - private def cache_setup - @cache = Rails.cache.instance_variable_get("@data") + @cache = Rails.cache.instance_variable_get('@data') end def _ontologies_report - response = {ontologies: Hash.new, report_date_generated: REPORT_NEVER_GENERATED, errors: '', success: ''} + response = { ontologies: {}, report_date_generated: REPORT_NEVER_GENERATED, errors: '', success: '' } start = Time.now begin ontologies_data = LinkedData::Client::HTTP.get(ONTOLOGIES_URL, {}, raw: true) - ontologies_data_parsed = JSON.parse(ontologies_data, :symbolize_names => true) + ontologies_data_parsed = JSON.parse(ontologies_data, symbolize_names: true) if ontologies_data_parsed[:errors] _process_errors(ontologies_data_parsed[:errors], response, true) else response.merge!(ontologies_data_parsed) response[:success] = "Report successfully regenerated on #{ontologies_data_parsed[:report_date_generated]}" - LOG.add :debug, "Ontologies Report - retrieved #{response[:ontologies].length} ontologies in #{Time.now - start}s" + LOG.add :debug, + "Ontologies Report - retrieved #{response[:ontologies].length} ontologies in #{Time.now - start}s" end rescue Exception => e response[:errors] = "Problem retrieving ontologies report - #{e.message}" @@ -254,25 +246,24 @@ def _ontologies_report response end - def _process_errors(errors, response, remove_trailing_comma=true) + def _process_errors(errors, response, remove_trailing_comma = true) if errors.is_a?(Hash) errors.each do |_, v| - if v.kind_of?(Array) - response[:errors] << v.join(", ") - response[:errors] << ", " + if v.is_a?(Array) + response[:errors] << v.join(', ') + response[:errors] << ', ' else response[:errors] << "#{v}, " end end - elsif errors.kind_of?(Array) - errors.each {|err| response[:errors] << "#{err}, "} + elsif errors.is_a?(Array) + errors.each { |err| response[:errors] << "#{err}, " } end response[:errors] = response[:errors][0...-2] if remove_trailing_comma end - def _delete_ontology(ontology, params) - error_response = ontology.delete - error_response + def _delete_ontology(ontology, _params) + ontology.delete end def _process_ontology(ontology, params) @@ -280,50 +271,47 @@ def _process_ontology(ontology, params) end def _process_ontologies(success_keyword, error_keyword, process_proc) - response = {errors: '', success: ''} + response = { errors: '', success: '' } - if params["ontologies"].nil? || params["ontologies"].empty? - response[:errors] = "No ontologies parameter passed. Syntax: ?ontologies=ONT1,ONT2,...,ONTN" + if params['ontologies'].nil? || params['ontologies'].empty? + response[:errors] = 'No ontologies parameter passed. Syntax: ?ontologies=ONT1,ONT2,...,ONTN' else - ontologies = params["ontologies"].split(",").map {|o| o.strip} + ontologies = params['ontologies'].split(',').map(&:strip) ontologies.each do |ont| - begin - ontology = LinkedData::Client::Models::Ontology.find_by_acronym(ont).first - - if ontology - error_response = self.send(process_proc, ontology, params) - if response_error?(error_response) - errors = response_errors(error_response) # see application_controller::response_errors - _process_errors(errors, response, false) - else - response[:success] << "Ontology #{ont} #{success_keyword} successfully, " - end + ontology = LinkedData::Client::Models::Ontology.find_by_acronym(ont).first + + if ontology + error_response = send(process_proc, ontology, params) + if response_error?(error_response) + errors = response_errors(error_response) # see application_controller::response_errors + _process_errors(errors, response, false) else - response[:errors] << "Ontology #{ont} was not found in the system, " + response[:success] << "Ontology #{ont} #{success_keyword} successfully, " end - rescue Exception => e - response[:errors] << "Problem #{error_keyword} ontology #{ont} - #{e.class}: #{e.message}, " + else + response[:errors] << "Ontology #{ont} was not found in the system, " end + rescue Exception => e + response[:errors] << "Problem #{error_keyword} ontology #{ont} - #{e.class}: #{e.message}, " end response[:success] = response[:success][0...-2] unless response[:success].empty? response[:errors] = response[:errors][0...-2] unless response[:errors].empty? end - render :json => response + render json: response end def _users - response = {users: Hash.new , errors: '', success: ''} + response = { users: {}, errors: '', success: '' } start = Time.now begin - response[:users] = JSON.parse(LinkedData::Client::HTTP.get(USERS_URL, {include: 'all'}, raw: true)) + response[:users] = JSON.parse(LinkedData::Client::HTTP.get(USERS_URL, { include: 'all' }, raw: true)) response[:success] = "users successfully retrieved in #{Time.now - start}s" - LOG.add :debug, "Users - retrieved #{response[:users].length} users in #{Time.now - start}s" + LOG.add :debug, "Users - retrieved #{response[:users].length} users in #{Time.now - start}s" rescue Exception => e response[:errors] = "Problem retrieving users - #{e.message}" end response end - end diff --git a/app/controllers/agents_controller.rb b/app/controllers/agents_controller.rb index 9029a989fd..f0dd4811e7 100644 --- a/app/controllers/agents_controller.rb +++ b/app/controllers/agents_controller.rb @@ -1,6 +1,9 @@ +# frozen_string_literal: true + class AgentsController < ApplicationController - include TurboHelper, AgentHelper - before_action :authorize_and_redirect, :only => [:edit, :update, :create, :new] + include AgentHelper + include TurboHelper + before_action :authorize_and_redirect, only: %i[edit update create new] def index @agents = LinkedData::Client::Models::Agent.all @@ -56,7 +59,10 @@ def create streams << prepend('agents_table_content', partial: 'agents/show_line', locals: { agent: new_agent }) - streams << replace_agent_form(new_agent, frame_id: params[:id], parent_id: parent_id, name_prefix: name_prefix) if params[:parent_id] + if params[:parent_id] + streams << replace_agent_form(new_agent, frame_id: params[:id], parent_id: parent_id, + name_prefix: name_prefix) + end render_turbo_stream(*streams) end @@ -80,8 +86,7 @@ def update table_line_id = agent_table_line_id(agent_id(agent)) streams = [alert_success(id: alert_id) { success_message }, - replace(table_line_id, partial: 'agents/show_line', locals: { agent: agent }) - ] + replace(table_line_id, partial: 'agents/show_line', locals: { agent: agent })] streams << replace_agent_form(agent, parent_id: parent_id) if params[:parent_id] @@ -120,17 +125,15 @@ def destroy end format.html { render json: { success: success_text, error: error } } end - end private - def replace_agent_form(agent, frame_id: nil, parent_id:, partial: 'agents/agent_show', name_prefix: '') - + def replace_agent_form(agent, parent_id:, frame_id: nil, partial: 'agents/agent_show', name_prefix: '') frame_id = frame_id ? agent_id_frame_id(frame_id, parent_id) : agent_frame_id(agent, parent_id) replace(frame_id, partial: partial, - locals: { agent: agent, name_prefix: name_prefix, parent_id: parent_id, edit_on_modal: false }) + locals: { agent: agent, name_prefix: name_prefix, parent_id: parent_id, edit_on_modal: false }) end def save_agent(params) @@ -142,7 +145,10 @@ def save_agent(params) def update_agent(id = params[:id], params) agent = LinkedData::Client::Models::Agent.find("#{REST_URI}/Agents/#{id}") - params[:creator] = session[:user].id if (agent.creator.nil? || agent.creator.empty?) && (params[:creator] || '').empty? + if (agent.creator.nil? || agent.creator.empty?) && (params[:creator] || '').empty? + params[:creator] = + session[:user].id + end res = agent.update(values: params) [res, agent.update_from_params(params)] @@ -150,9 +156,8 @@ def update_agent(id = params[:id], params) def agent_params p = params.permit(:agentType, :name, :email, :acronym, :homepage, :creator, - { identifiers: [:notation, :schemaAgency, :creator] }, - { affiliations: [:id, :agentType, :name, :homepage, :acronym, :creator, { identifiers: [:notation, :schemaAgency, :creator] }] } - ) + { identifiers: %i[notation schemaAgency creator] }, + { affiliations: [:id, :agentType, :name, :homepage, :acronym, :creator, { identifiers: %i[notation schemaAgency creator] }] }) p = p.to_h p.transform_values do |v| if v.is_a? Hash @@ -166,7 +171,10 @@ def agent_params p[:identifiers] = (p[:identifiers] || {}).values p[:affiliations] = (p[:affiliations] || {}).values p[:affiliations].each do |affiliation| - affiliation[:identifiers] = affiliation[:identifiers].values if affiliation.is_a?(Hash) && affiliation[:identifiers] + if affiliation.is_a?(Hash) && affiliation[:identifiers] + affiliation[:identifiers] = + affiliation[:identifiers].values + end end p end diff --git a/app/controllers/ajax_proxy_controller.rb b/app/controllers/ajax_proxy_controller.rb index d1feda69af..403523a86d 100644 --- a/app/controllers/ajax_proxy_controller.rb +++ b/app/controllers/ajax_proxy_controller.rb @@ -1,17 +1,15 @@ +# frozen_string_literal: true + require 'open-uri' require 'net/http' require 'uri' require 'cgi' class AjaxProxyController < ApplicationController - - def get - page = open(params[:url]) - content = page.read - render :text => content - + content = page.read + render text: content end def jsonp @@ -27,23 +25,24 @@ def jsonp url = URI.parse($LEGACY_REST_URL + params[:path]) url.port = $REST_PORT.to_i - full_path = (url.query.blank?) ? url.path : "#{url.path}?#{url.query}" - full_path = full_path.include?("?") ? full_path + "&apikey=#{params[:apikey]}&userapikey=#{params[:userapikey]}" : full_path + "?apikey=#{params[:apikey]}&userapikey=#{params[:userapikey]}" + full_path = url.query.blank? ? url.path : "#{url.path}?#{url.query}" + full_path = full_path.include?('?') ? full_path + "&apikey=#{params[:apikey]}&userapikey=#{params[:userapikey]}" : full_path + "?apikey=#{params[:apikey]}&userapikey=#{params[:userapikey]}" http = Net::HTTP.new(url.host, url.port) - headers = { "Accept" => "application/json" } + headers = { 'Accept' => 'application/json' } res = http.get(full_path, headers) - response = res.code.to_i >= 400 ? { :status => res.code.to_i, :body => res.body }.to_json : res.body - render_json response, {:status => 200} + response = res.code.to_i >= 400 ? { status: res.code.to_i, body: res.body }.to_json : res.body + render_json response, { status: 200 } end def json_class concept_not_found if params[:conceptid].nil? || params[:conceptid].empty? params[:ontology] ||= params[:ontologyid] - if params[:ontologyid].to_i > 0 - params_cleanup_new_api() - stop_words = ["controller", "action", "ontologyid"] - redirect_to "#{request.path}#{params_string_for_redirect(params, stop_words: stop_words)}", :status => :moved_permanently + if params[:ontologyid].to_i.positive? + params_cleanup_new_api + stop_words = %w[controller action ontologyid] + redirect_to "#{request.path}#{params_string_for_redirect(params, stop_words: stop_words)}", + status: :moved_permanently return end @@ -56,7 +55,6 @@ def json_class render_json @concept.to_json end - def json_ontology @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(params[:ontology]).first ontology_not_found(params[:ontology]) if @ontology.nil? @@ -65,25 +63,24 @@ def json_ontology end def loading_spinner - render :partial => "loading_spinner" + render partial: 'loading_spinner' end private - def render_json(json, options={}) - callback, variable = params[:callback], params[:variable] - response = begin - if callback && variable - "var #{variable} = #{json};\n#{callback}(#{variable});" - elsif variable - "var #{variable} = #{json};" - elsif callback - "#{callback}(#{json});" - else - json - end - end - render({plain: response, content_type: "application/json"}.merge(options)) + def render_json(json, options = {}) + callback = params[:callback] + variable = params[:variable] + response = if callback && variable + "var #{variable} = #{json};\n#{callback}(#{variable});" + elsif variable + "var #{variable} = #{json};" + elsif callback + "#{callback}(#{json});" + else + json + end + + render({ plain: response, content_type: 'application/json' }.merge(options)) end - end diff --git a/app/controllers/analytics_controller.rb b/app/controllers/analytics_controller.rb index ccb9af6ca8..f2faf3616d 100644 --- a/app/controllers/analytics_controller.rb +++ b/app/controllers/analytics_controller.rb @@ -1,7 +1,8 @@ +# frozen_string_literal: true + require 'csv' class AnalyticsController < ApplicationController - def track entry = Analytics.new entry.segment = params[:segment] @@ -15,52 +16,53 @@ def track end def search_result_clicked - clicks = Analytics.where(:segment => "search", :action => "result_clicked").all - rows = [["query", "position_clicked", "ontology_clicked", "higher_rated_ontologies", "additional_result", "exact_match", "concept_id", "time", "user", "bp_slice", "ip_address"]] + clicks = Analytics.where(segment: 'search', action: 'result_clicked').all + rows = [%w[query position_clicked ontology_clicked higher_rated_ontologies additional_result + exact_match concept_id time user bp_slice ip_address]] clicks.each do |click| next if click.params.empty? + rows << [ - click.params["query"].delete("\t"), - click.params["position"], - click.params["ontology_clicked"], - click.params["higher_ontologies"].nil? ? "" : click.params["higher_ontologies"].join(";"), - click.params["additional_result"], - click.params["exact_match"], - click.params["concept_id"], + click.params['query'].delete("\t"), + click.params['position'], + click.params['ontology_clicked'], + click.params['higher_ontologies'].nil? ? '' : click.params['higher_ontologies'].join(';'), + click.params['additional_result'], + click.params['exact_match'], + click.params['concept_id'], click.created_at, click.user, click.bp_slice, click.ip ] end - respond_with_csv_file(rows, "search_result_clicked") + respond_with_csv_file(rows, 'search_result_clicked') end def user_intention_surveys - surveys = Analytics.where(:segment => "users", :action => "intention_survey").all - rows = [["page", "response", "email", "time", "user", "bp_slice", "ip_address"]] + surveys = Analytics.where(segment: 'users', action: 'intention_survey').all + rows = [%w[page response email time user bp_slice ip_address]] surveys.each do |survey| rows << [ - survey.params["page"], - survey.params["intention_response"], - survey.params["contest_email"], + survey.params['page'], + survey.params['intention_response'], + survey.params['contest_email'], survey.created_at, survey.user, survey.bp_slice, survey.ip ] end - respond_with_csv_file(rows, "user_intention_survey") + respond_with_csv_file(rows, 'user_intention_survey') end private - def respond_with_csv_file(rows, filename = "output") + def respond_with_csv_file(rows, filename = 'output') output = '' rows.each do |row| output << row.to_csv.force_encoding('UTF-8') end - send_data output, :type => 'text/csv', :disposition => "attachment; filename=#{filename}.csv" + send_data output, type: 'text/csv', disposition: "attachment; filename=#{filename}.csv" end - end diff --git a/app/controllers/annotator_controller.rb b/app/controllers/annotator_controller.rb index ae05a3a317..d6de7aef0c 100644 --- a/app/controllers/annotator_controller.rb +++ b/app/controllers/annotator_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'json' require 'cgi' @@ -5,7 +7,7 @@ class AnnotatorController < ApplicationController layout :determine_layout # REST_URI is defined in application_controller.rb - #ANNOTATOR_URI = REST_URI + "/annotator" + # ANNOTATOR_URI = REST_URI + "/annotator" ANNOTATOR_URI = $ANNOTATOR_URL def index @@ -13,97 +15,102 @@ def index @semantic_groups_for_select = [] @semantic_types ||= get_semantic_types @sem_type_ont = LinkedData::Client::Models::Ontology.find_by_acronym('STY').first - @semantic_groups ||= {"ACTI" => "Activities & Behaviors", "ANAT" => "Anatomy", "CHEM" => "Chemicals & Drugs","CONC" => "Concepts & Ideas","DEVI" => "Devices", "DISO" => "Disorders", "GENE" => "Genes & Molecular Sequences", "GEOG" => "Geographic Areas", "LIVB" => "Living Beings","OBJC" => "Objects", "OCCU" => "Occupations", "ORGA" => "Organizations", "PHEN" => "Phenomena", "PHYS" => "Physiology","PROC" => "Procedures"} + @semantic_groups ||= { 'ACTI' => 'Activities & Behaviors', 'ANAT' => 'Anatomy', 'CHEM' => 'Chemicals & Drugs', + 'CONC' => 'Concepts & Ideas', 'DEVI' => 'Devices', 'DISO' => 'Disorders', 'GENE' => 'Genes & Molecular Sequences', 'GEOG' => 'Geographic Areas', 'LIVB' => 'Living Beings', 'OBJC' => 'Objects', 'OCCU' => 'Occupations', 'ORGA' => 'Organizations', 'PHEN' => 'Phenomena', 'PHYS' => 'Physiology', 'PROC' => 'Procedures' } @semantic_types.each_pair do |code, label| @semantic_types_for_select << ["#{label} (#{code})", code] end @semantic_groups.each_pair do |group, label| - @semantic_groups_for_select << ["#{label} (#{group})", group] - end - @semantic_types_for_select.sort! {|a,b| a[0] <=> b[0]} - @semantic_groups_for_select.sort! {|a,b| a[0] <=> b[0]} - if !$MULTIPLE_RECOGNIZERS.nil? && $MULTIPLE_RECOGNIZERS == true - # Get recognizers from ontologies_api only if asked - @recognizers = parse_json(REST_URI + "/annotator/recognizers") - else - @recognizers = [] + @semantic_groups_for_select << ["#{label} (#{group})", group] end + @semantic_types_for_select.sort! { |a, b| a[0] <=> b[0] } + @semantic_groups_for_select.sort! { |a, b| a[0] <=> b[0] } + @recognizers = if !$MULTIPLE_RECOGNIZERS.nil? && $MULTIPLE_RECOGNIZERS == true + # Get recognizers from ontologies_api only if asked + parse_json("#{REST_URI}/annotator/recognizers") + else + [] + end @annotator_ontologies = LinkedData::Client::Models::Ontology.all @text = params[:text] end - def create params[:mappings] ||= [] params[:max_level] ||= 0 params[:ontologies] ||= [] params[:semantic_types] ||= [] params[:semantic_groups] ||= [] - text_to_annotate = params[:text].strip.gsub("\r\n", " ").gsub("\n", " ") - - options = { :ontologies => params[:ontologies], - :class_hierarchy_max_level => params[:class_hierarchy_max_level].to_i, - :expand_class_hierarchy => params[:class_hierarchy_max_level].to_i > 0, - :semantic_types => params[:semantic_types], - :semantic_groups => params[:semantic_groups], - :expand_mappings => params[:expand_mappings], - :longest_only => params[:longest_only], - :exclude_numbers => params[:exclude_numbers] ||= "false", # service default is false - :whole_word_only => params[:whole_word_only] ||= "true", # service default is true - :exclude_synonyms => params[:exclude_synonyms] ||= "false", # service default is false - :fast_context => params[:fast_context] ||= "false", # service default is false - :score => params[:score], - :score_threshold => params[:score_threshold] ||=-1, - :confidence_threshold => params[:confidence_threshold] ||=-1, - :lemmatize => params[:lemmatize] ||= "false", - :ncbo_slice => params[:ncbo_slice] || '' - } + text_to_annotate = params[:text].strip.gsub("\r\n", ' ').gsub("\n", ' ') + + options = { ontologies: params[:ontologies], + class_hierarchy_max_level: params[:class_hierarchy_max_level].to_i, + expand_class_hierarchy: params[:class_hierarchy_max_level].to_i.positive?, + semantic_types: params[:semantic_types], + semantic_groups: params[:semantic_groups], + expand_mappings: params[:expand_mappings], + longest_only: params[:longest_only], + exclude_numbers: params[:exclude_numbers] ||= 'false', # service default is false + whole_word_only: params[:whole_word_only] ||= 'true', # service default is true + exclude_synonyms: params[:exclude_synonyms] ||= 'false', # service default is false + fast_context: params[:fast_context] ||= 'false', # service default is false + score: params[:score], + score_threshold: params[:score_threshold] ||= -1, + confidence_threshold: params[:confidence_threshold] ||= -1, + lemmatize: params[:lemmatize] ||= 'false', + ncbo_slice: params[:ncbo_slice] || '' } start = Time.now query = ANNOTATOR_URI - query += "?text=" + CGI.escape(text_to_annotate) - #query += "&apikey=" + annotator_apikey - #query += "&include=prefLabel" + query += "?text=#{CGI.escape(text_to_annotate)}" + # query += "&apikey=" + annotator_apikey + # query += "&include=prefLabel" # Include= prefLabel causes an internal error when retrieving mappings - query += "&expand_class_hierarchy=true" if options[:class_hierarchy_max_level] > 0 - query += "&class_hierarchy_max_level=" + options[:class_hierarchy_max_level].to_s if options[:class_hierarchy_max_level] > 0 - query += "&score=" + options[:score] unless options[:score] == "" - query += "&score_threshold=" + options[:score_threshold] unless options[:score] == "" or options[:score_threshold]==-1 - query += "&confidence_threshold=" + options[:confidence_threshold] unless options[:score] == "" or options[:confidence_threshold]==-1 - query += "&fast_context=" + options[:fast_context] unless options[:fast_context].empty? - query += "&ontologies=" + CGI.escape(options[:ontologies].join(',')) unless options[:ontologies].empty? - query += "&semantic_types=" + options[:semantic_types].join(',') unless options[:semantic_types].empty? - query += "&semantic_groups=" + options[:semantic_groups].join(',') unless options[:semantic_groups].empty? - query += "&expand_mappings=" + options[:expand_mappings].to_s unless options[:expand_mappings].empty? + query += '&expand_class_hierarchy=true' if (options[:class_hierarchy_max_level]).positive? + if (options[:class_hierarchy_max_level]).positive? + query += "&class_hierarchy_max_level=#{options[:class_hierarchy_max_level]}" + end + query += "&score=#{options[:score]}" unless options[:score] == '' + unless (options[:score] == '') || (options[:score_threshold] == -1) + query += "&score_threshold=#{options[:score_threshold]}" + end + unless (options[:score] == '') || (options[:confidence_threshold] == -1) + query += "&confidence_threshold=#{options[:confidence_threshold]}" + end + query += "&fast_context=#{options[:fast_context]}" unless options[:fast_context].empty? + query += "&ontologies=#{CGI.escape(options[:ontologies].join(','))}" unless options[:ontologies].empty? + query += "&semantic_types=#{options[:semantic_types].join(',')}" unless options[:semantic_types].empty? + query += "&semantic_groups=#{options[:semantic_groups].join(',')}" unless options[:semantic_groups].empty? + query += "&expand_mappings=#{options[:expand_mappings]}" unless options[:expand_mappings].empty? query += "&longest_only=#{options[:longest_only]}" query += "&recognizer=#{params[:recognizer]}" - query += "&exclude_numbers=" + options[:exclude_numbers].to_s unless options[:exclude_numbers].empty? - query += "&lemmatize=" + options[:lemmatize].to_s unless options[:lemmatize].empty? - query += "&whole_word_only=" + options[:whole_word_only].to_s unless options[:whole_word_only].empty? - query += "&exclude_synonyms=" + options[:exclude_synonyms].to_s unless options[:exclude_synonyms].empty? - query += "&ncbo_slice=" + options[:ncbo_slice].to_s unless options[:ncbo_slice].empty? - + query += "&exclude_numbers=#{options[:exclude_numbers]}" unless options[:exclude_numbers].empty? + query += "&lemmatize=#{options[:lemmatize]}" unless options[:lemmatize].empty? + query += "&whole_word_only=#{options[:whole_word_only]}" unless options[:whole_word_only].empty? + query += "&exclude_synonyms=#{options[:exclude_synonyms]}" unless options[:exclude_synonyms].empty? + query += "&ncbo_slice=#{options[:ncbo_slice]}" unless options[:ncbo_slice].empty? + annotations = parse_json(query) # See application_controller.rb - #annotations = LinkedData::Client::HTTP.get(query) + # annotations = LinkedData::Client::HTTP.get(query) LOG.add :debug, "Query: #{query}" LOG.add :debug, "Retrieved #{annotations.length} annotations: #{Time.now - start}s" - if annotations.empty? || params[:raw] == "true" + if annotations.empty? || params[:raw] == 'true' # TODO: if params contains select ontologies and/or semantic types, only return those selected. response = { - annotations: annotations, - ontologies: get_simplified_ontologies_hash, # application_controller - semantic_types: get_semantic_types # application_controller + annotations: annotations, + ontologies: get_simplified_ontologies_hash, # application_controller + semantic_types: get_semantic_types # application_controller } else massage_annotated_classes(annotations, options) response = { - annotations: annotations, - ontologies: {}, # ontology data are in annotations already. - semantic_types: {} # semantic types are in annotations already. + annotations: annotations, + ontologies: {}, # ontology data are in annotations already. + semantic_types: {} # semantic types are in annotations already. } end - render :json => response + render json: response end private @@ -112,16 +119,16 @@ def get_semantic_types semantic_types = {} sty_ont = LinkedData::Client::Models::Ontology.find_by_acronym('STY').first return semantic_types if sty_ont.nil? + # The first 500 items should be more than sufficient to get all semantic types. - sty_classes = sty_ont.explore.classes({'pagesize'=>500, include: 'prefLabel'}) + sty_classes = sty_ont.explore.classes({ 'pagesize' => 500, include: 'prefLabel' }) sty_classes.collection.each do |cls| - code = cls.id.split("/").last - semantic_types[ code ] = cls.prefLabel + code = cls.id.split('/').last + semantic_types[code] = cls.prefLabel end semantic_types end - def massage_annotated_classes(annotations, options) # Get the class details required for display, assume this is necessary # for every element of the annotations array because the API returns a set. @@ -131,13 +138,13 @@ def massage_annotated_classes(annotations, options) class_details = get_annotated_classes(annotations, semantic_types) simplify_annotated_classes(annotations, class_details) # repeat the simplification for any annotation hierarchy or mappings. - hierarchy = annotations.map {|a| a if a.keys.include? 'hierarchy' }.compact + hierarchy = annotations.map { |a| a if a.keys.include? 'hierarchy' }.compact hierarchy.each do |a| - simplify_annotated_classes(a['hierarchy'], class_details) if not a['hierarchy'].empty? + simplify_annotated_classes(a['hierarchy'], class_details) unless a['hierarchy'].empty? end - mappings = annotations.map {|a| a if a.keys.include? 'mappings' }.compact + mappings = annotations.map { |a| a if a.keys.include? 'mappings' }.compact mappings.each do |a| - simplify_annotated_classes(a['mappings'], class_details) if not a['mappings'].empty? + simplify_annotated_classes(a['mappings'], class_details) unless a['mappings'].empty? end LOG.add :debug, "Completed massage for annotated classes: #{Time.now - start}s" end @@ -160,57 +167,57 @@ def simplify_annotated_classes(annotations, class_details) end def get_annotated_class_hash(a) - return { - :class => a['annotatedClass']['@id'], - :ontology => a['annotatedClass']['links']['ontology'] + { + class: a['annotatedClass']['@id'], + ontology: a['annotatedClass']['links']['ontology'] } end - def get_annotated_classes(annotations, semantic_types=[]) + def get_annotated_classes(annotations, semantic_types = []) # Use batch service to get class prefLabels class_list = [] - annotations.each {|a| class_list << get_annotated_class_hash(a) } - hierarchy = annotations.map {|a| a if a.keys.include? 'hierarchy' }.compact + annotations.each { |a| class_list << get_annotated_class_hash(a) } + hierarchy = annotations.map { |a| a if a.keys.include? 'hierarchy' }.compact hierarchy.each do |a| - a['hierarchy'].each {|h| class_list << get_annotated_class_hash(h) } + a['hierarchy'].each { |h| class_list << get_annotated_class_hash(h) } end - mappings = annotations.map {|a| a if a.keys.include? 'mappings' }.compact + mappings = annotations.map { |a| a if a.keys.include? 'mappings' }.compact mappings.each do |a| - a['mappings'].each {|m| class_list << get_annotated_class_hash(m) } + a['mappings'].each { |m| class_list << get_annotated_class_hash(m) } end classes_simple = {} return classes_simple if class_list.empty? + # remove duplicates class_set = class_list.to_set # get unique class:ontology set class_list = class_set.to_a # collection requires a list in batch call # make the batch call properties = 'prefLabel' - properties = 'prefLabel,semanticType' if not semantic_types.empty? - call_params = {'http://www.w3.org/2002/07/owl#Class'=>{'collection'=>class_list, 'include'=>properties}} + properties = 'prefLabel,semanticType' unless semantic_types.empty? + call_params = { 'http://www.w3.org/2002/07/owl#Class' => { 'collection' => class_list, 'include' => properties } } classes_json = get_batch_results(call_params) # Simplify the response data for the UI @ontologies_hash ||= get_simplified_ontologies_hash # application_controller classes_data = JSON.parse(classes_json) - classes_data["http://www.w3.org/2002/07/owl#Class"].each do |cls| + classes_data['http://www.w3.org/2002/07/owl#Class'].each do |cls| c = simplify_class_model(cls) - ont_details = @ontologies_hash[ c[:ontology] ] + ont_details = @ontologies_hash[c[:ontology]] next if ont_details.nil? # NO DISPLAY FOR ANNOTATIONS ON ANY CLASS OUTSIDE THE BIOPORTAL ONTOLOGY SET. + c[:ontology] = ont_details - unless semantic_types.empty? || cls['semanticType'].nil? - @semantic_types ||= get_semantic_types # application_controller + if semantic_types.empty? || cls['semanticType'].nil? + c[:semantic_types] = [] + else + @semantic_types ||= get_semantic_types # application_controller # Extract the semantic type descriptions that are requested. semanticTypeURI = 'http://bioportal.bioontology.org/ontologies/umls/sty/' - semanticCodes = cls['semanticType'].map {|t| t.sub( semanticTypeURI, '') } - requestedCodes = semanticCodes.map {|code| (semantic_types.include? code and code) || nil }.compact - requestedDescriptions = requestedCodes.map {|code| @semantic_types[code] }.compact + semanticCodes = cls['semanticType'].map { |t| t.sub(semanticTypeURI, '') } + requestedCodes = semanticCodes.map { |code| (semantic_types.include? code and code) || nil }.compact + requestedDescriptions = requestedCodes.map { |code| @semantic_types[code] }.compact c[:semantic_types] = requestedDescriptions - else - c[:semantic_types] = [] end classes_simple[c[:id]] = c end - return classes_simple + classes_simple end - end - diff --git a/app/controllers/annotatorplus_controller.rb b/app/controllers/annotatorplus_controller.rb index abf8f02fd4..9a1184aca9 100644 --- a/app/controllers/annotatorplus_controller.rb +++ b/app/controllers/annotatorplus_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'json' require 'cgi' @@ -5,101 +7,105 @@ class AnnotatorplusController < ApplicationController layout :determine_layout # REST_URI is defined in application_controller.rb - ANNOTATOR_URI = PROXY_URI + "/annotatorplus/" + ANNOTATOR_URI = "#{PROXY_URI}/annotatorplus/" def index @semantic_types_for_select = [] @semantic_types ||= get_semantic_types @sem_type_ont = LinkedData::Client::Models::Ontology.find_by_acronym('STY').first - @semantic_groups ||= {"ACTI" => "Activities & Behaviors", "ANAT" => "Anatomy", "CHEM" => "Chemicals & Drugs","CONC" => "Concepts & Ideas", - "DEVI" => "Devices", "DISO" => "Disorders", "GENE" => "Genes & Molecular Sequences", "GEOG" => "Geographic Areas", "LIVB" => "Living Beings", - "OBJC" => "Objects", "OCCU" => "Occupations", "ORGA" => "Organizations", "PHEN" => "Phenomena", "PHYS" => "Physiology","PROC" => "Procedures"} + @semantic_groups ||= { 'ACTI' => 'Activities & Behaviors', 'ANAT' => 'Anatomy', 'CHEM' => 'Chemicals & Drugs', 'CONC' => 'Concepts & Ideas', + 'DEVI' => 'Devices', 'DISO' => 'Disorders', 'GENE' => 'Genes & Molecular Sequences', 'GEOG' => 'Geographic Areas', 'LIVB' => 'Living Beings', + 'OBJC' => 'Objects', 'OCCU' => 'Occupations', 'ORGA' => 'Organizations', 'PHEN' => 'Phenomena', 'PHYS' => 'Physiology', 'PROC' => 'Procedures' } @semantic_groups_for_select = [] @semantic_types.each_pair do |code, label| @semantic_types_for_select << ["#{label} (#{code})", code] end - @semantic_groups.each_pair do |group, label| + @semantic_groups.each_pair do |group, label| @semantic_groups_for_select << ["#{label} (#{group})", group] end - @semantic_types_for_select.sort! {|a,b| a[0] <=> b[0]} - @semantic_groups_for_select.sort! {|a,b| a[0] <=> b[0]} - @recognizers = parse_json(REST_URI + "/annotator/recognizers") + @semantic_types_for_select.sort! { |a, b| a[0] <=> b[0] } + @semantic_groups_for_select.sort! { |a, b| a[0] <=> b[0] } + @recognizers = parse_json("#{REST_URI}/annotator/recognizers") @annotator_ontologies = LinkedData::Client::Models::Ontology.all @annotator_ontologies.sort_by! { |ont| ont.name.strip.downcase } end - def create params[:mappings] ||= [] params[:max_level] ||= 0 params[:ontologies] ||= [] params[:semantic_types] ||= [] params[:semantic_groups] ||= [] - text_to_annotate = params[:text].strip.gsub("\r\n", " ").gsub("\n", " ") - - options = { :ontologies => params[:ontologies], - :class_hierarchy_max_level => params[:class_hierarchy_max_level].to_i, - :expand_class_hierarchy => params[:class_hierarchy_max_level].to_i > 0, - :semantic_types => params[:semantic_types], - :semantic_groups => params[:semantic_groups], - :mappings => params[:mappings], - :longest_only => params[:longest_only], - :exclude_numbers => params[:exclude_numbers] ||= "false", # service default is false - :whole_word_only => (params[:whole_word_only] == "true") ? "false" : "true", # service default is true - :exclude_synonyms => params[:exclude_synonyms] ||= "false", # service default is false - :negation => params[:negation] ||= "false", # service default is false - :experiencer => params[:experiencer] ||= "false", # service default is false - :temporality => params[:temporality] ||= "false", # service default is false - :score => params[:score], - :score_threshold => params[:score_threshold] ||=-1, - :confidence_threshold => params[:confidence_threshold] ||=-1, - :ncbo_slice => params[:ncbo_slice] || '' - } + text_to_annotate = params[:text].strip.gsub("\r\n", ' ').gsub("\n", ' ') + + options = { ontologies: params[:ontologies], + class_hierarchy_max_level: params[:class_hierarchy_max_level].to_i, + expand_class_hierarchy: params[:class_hierarchy_max_level].to_i.positive?, + semantic_types: params[:semantic_types], + semantic_groups: params[:semantic_groups], + mappings: params[:mappings], + longest_only: params[:longest_only], + exclude_numbers: params[:exclude_numbers] ||= 'false', # service default is false + whole_word_only: params[:whole_word_only] == 'true' ? 'false' : 'true', # service default is true + exclude_synonyms: params[:exclude_synonyms] ||= 'false', # service default is false + negation: params[:negation] ||= 'false', # service default is false + experiencer: params[:experiencer] ||= 'false', # service default is false + temporality: params[:temporality] ||= 'false', # service default is false + score: params[:score], + score_threshold: params[:score_threshold] ||= -1, + confidence_threshold: params[:confidence_threshold] ||= -1, + ncbo_slice: params[:ncbo_slice] || '' } start = Time.now query = ANNOTATOR_URI - query += "?text=" + CGI.escape(text_to_annotate) - query += "&include=prefLabel" - query += "&expand_class_hierarchy=true" if options[:class_hierarchy_max_level] > 0 - query += "&class_hierarchy_max_level=" + options[:class_hierarchy_max_level].to_s if options[:class_hierarchy_max_level] > 0 - query += "&score=" + options[:score] unless options[:score] == "" - query += "&score_threshold=" + options[:score_threshold] unless options[:score] == "" or options[:score_threshold]==-1 - query += "&confidence_threshold=" + options[:confidence_threshold] unless options[:score] == "" or options[:confidence_threshold]==-1 - query += "&negation=" + options[:negation] unless options[:negation].empty? - query += "&experiencer=" + options[:experiencer] unless options[:experiencer].empty? - query += "&temporality=" + options[:temporality] unless options[:temporality].empty? - query += "&ontologies=" + CGI.escape(options[:ontologies].join(',')) unless options[:ontologies].empty? - query += "&semantic_types=" + options[:semantic_types].join(',') unless options[:semantic_types].empty? - query += "&semantic_groups=" + options[:semantic_groups].join(',') unless options[:semantic_groups].empty? - query += "&mappings=" + options[:mappings].join(',') unless options[:mappings].empty? + query += "?text=#{CGI.escape(text_to_annotate)}" + query += '&include=prefLabel' + query += '&expand_class_hierarchy=true' if (options[:class_hierarchy_max_level]).positive? + if (options[:class_hierarchy_max_level]).positive? + query += "&class_hierarchy_max_level=#{options[:class_hierarchy_max_level]}" + end + query += "&score=#{options[:score]}" unless options[:score] == '' + unless (options[:score] == '') || (options[:score_threshold] == -1) + query += "&score_threshold=#{options[:score_threshold]}" + end + unless (options[:score] == '') || (options[:confidence_threshold] == -1) + query += "&confidence_threshold=#{options[:confidence_threshold]}" + end + query += "&negation=#{options[:negation]}" unless options[:negation].empty? + query += "&experiencer=#{options[:experiencer]}" unless options[:experiencer].empty? + query += "&temporality=#{options[:temporality]}" unless options[:temporality].empty? + query += "&ontologies=#{CGI.escape(options[:ontologies].join(','))}" unless options[:ontologies].empty? + query += "&semantic_types=#{options[:semantic_types].join(',')}" unless options[:semantic_types].empty? + query += "&semantic_groups=#{options[:semantic_groups].join(',')}" unless options[:semantic_groups].empty? + query += "&mappings=#{options[:mappings].join(',')}" unless options[:mappings].empty? query += "&longest_only=#{options[:longest_only]}" query += "&recognizer=#{params[:recognizer]}" - query += "&exclude_numbers=" + options[:exclude_numbers].to_s unless options[:exclude_numbers].empty? - query += "&whole_word_only=" + options[:whole_word_only].to_s unless options[:whole_word_only].empty? - query += "&exclude_synonyms=" + options[:exclude_synonyms].to_s unless options[:exclude_synonyms].empty? - query += "&ncbo_slice=" + options[:ncbo_slice].to_s unless options[:ncbo_slice].empty? + query += "&exclude_numbers=#{options[:exclude_numbers]}" unless options[:exclude_numbers].empty? + query += "&whole_word_only=#{options[:whole_word_only]}" unless options[:whole_word_only].empty? + query += "&exclude_synonyms=#{options[:exclude_synonyms]}" unless options[:exclude_synonyms].empty? + query += "&ncbo_slice=#{options[:ncbo_slice]}" unless options[:ncbo_slice].empty? annotations = parse_json(query) # See application_controller.rb - #annotations = LinkedData::Client::HTTP.get(query) + # annotations = LinkedData::Client::HTTP.get(query) LOG.add :debug, "Retrieved #{annotations.length} annotations: #{Time.now - start}s" - if annotations.empty? || params[:raw] == "true" + if annotations.empty? || params[:raw] == 'true' # TODO: if params contains select ontologies and/or semantic types, only return those selected. response = { - annotations: annotations, - ontologies: get_simplified_ontologies_hash, # application_controller - semantic_types: get_semantic_types # application_controller + annotations: annotations, + ontologies: get_simplified_ontologies_hash, # application_controller + semantic_types: get_semantic_types # application_controller } else massage_annotated_classes(annotations, options) response = { - annotations: annotations, - ontologies: {}, # ontology data are in annotations already. - semantic_types: {} # semantic types are in annotations already. + annotations: annotations, + ontologies: {}, # ontology data are in annotations already. + semantic_types: {} # semantic types are in annotations already. } end - render :json => response + render json: response end private @@ -108,11 +114,12 @@ def get_semantic_types semantic_types = {} sty_ont = LinkedData::Client::Models::Ontology.find_by_acronym('STY').first return semantic_types if sty_ont.nil? + # The first 500 items should be more than sufficient to get all semantic types. - sty_classes = sty_ont.explore.classes({'pagesize'=>500, include: 'prefLabel'}) + sty_classes = sty_ont.explore.classes({ 'pagesize' => 500, include: 'prefLabel' }) sty_classes.collection.each do |cls| - code = cls.id.split("/").last - semantic_types[ code ] = cls.prefLabel + code = cls.id.split('/').last + semantic_types[code] = cls.prefLabel end semantic_types end @@ -126,13 +133,13 @@ def massage_annotated_classes(annotations, options) class_details = get_annotated_classes(annotations, semantic_types) simplify_annotated_classes(annotations, class_details) # repeat the simplification for any annotation hierarchy or mappings. - hierarchy = annotations.map {|a| a if a.keys.include? 'hierarchy' }.compact + hierarchy = annotations.map { |a| a if a.keys.include? 'hierarchy' }.compact hierarchy.each do |a| - simplify_annotated_classes(a['hierarchy'], class_details) if not a['hierarchy'].empty? + simplify_annotated_classes(a['hierarchy'], class_details) unless a['hierarchy'].empty? end - mappings = annotations.map {|a| a if a.keys.include? 'mappings' }.compact + mappings = annotations.map { |a| a if a.keys.include? 'mappings' }.compact mappings.each do |a| - simplify_annotated_classes(a['mappings'], class_details) if not a['mappings'].empty? + simplify_annotated_classes(a['mappings'], class_details) unless a['mappings'].empty? end LOG.add :debug, "Completed massage for annotated classes: #{Time.now - start}s" end @@ -155,56 +162,57 @@ def simplify_annotated_classes(annotations, class_details) end def get_annotated_class_hash(a) - return { - :class => a['annotatedClass']['@id'], - :ontology => a['annotatedClass']['links']['ontology'] + { + class: a['annotatedClass']['@id'], + ontology: a['annotatedClass']['links']['ontology'] } end - def get_annotated_classes(annotations, semantic_types=[]) + def get_annotated_classes(annotations, semantic_types = []) # Use batch service to get class prefLabels class_list = [] - annotations.each {|a| class_list << get_annotated_class_hash(a) } - hierarchy = annotations.map {|a| a if a.keys.include? 'hierarchy' }.compact + annotations.each { |a| class_list << get_annotated_class_hash(a) } + hierarchy = annotations.map { |a| a if a.keys.include? 'hierarchy' }.compact hierarchy.each do |a| - a['hierarchy'].each {|h| class_list << get_annotated_class_hash(h) } + a['hierarchy'].each { |h| class_list << get_annotated_class_hash(h) } end - mappings = annotations.map {|a| a if a.keys.include? 'mappings' }.compact + mappings = annotations.map { |a| a if a.keys.include? 'mappings' }.compact mappings.each do |a| - a['mappings'].each {|m| class_list << get_annotated_class_hash(m) } + a['mappings'].each { |m| class_list << get_annotated_class_hash(m) } end classes_simple = {} return classes_simple if class_list.empty? + # remove duplicates class_set = class_list.to_set # get unique class:ontology set class_list = class_set.to_a # collection requires a list in batch call # make the batch call properties = 'prefLabel' - properties = 'prefLabel,semanticType' if not semantic_types.empty? - call_params = {'http://www.w3.org/2002/07/owl#Class'=>{'collection'=>class_list, 'include'=>properties}} + properties = 'prefLabel,semanticType' unless semantic_types.empty? + call_params = { 'http://www.w3.org/2002/07/owl#Class' => { 'collection' => class_list, 'include' => properties } } classes_json = get_batch_results(call_params) # Simplify the response data for the UI @ontologies_hash ||= get_simplified_ontologies_hash # application_controller classes_data = JSON.parse(classes_json) - classes_data["http://www.w3.org/2002/07/owl#Class"].each do |cls| + classes_data['http://www.w3.org/2002/07/owl#Class'].each do |cls| c = simplify_class_model(cls) - ont_details = @ontologies_hash[ c[:ontology] ] + ont_details = @ontologies_hash[c[:ontology]] next if ont_details.nil? # NO DISPLAY FOR ANNOTATIONS ON ANY CLASS OUTSIDE THE BIOPORTAL ONTOLOGY SET. + c[:ontology] = ont_details - unless semantic_types.empty? || cls['semanticType'].nil? - @semantic_types ||= get_semantic_types # application_controller + if semantic_types.empty? || cls['semanticType'].nil? + c[:semantic_types] = [] + else + @semantic_types ||= get_semantic_types # application_controller # Extract the semantic type descriptions that are requested. semanticTypeURI = 'http://bioportal.bioontology.org/ontologies/umls/sty/' - semanticCodes = cls['semanticType'].map {|t| t.sub( semanticTypeURI, '') } - requestedCodes = semanticCodes.map {|code| (semantic_types.include? code and code) || nil }.compact - requestedDescriptions = requestedCodes.map {|code| @semantic_types[code] }.compact + semanticCodes = cls['semanticType'].map { |t| t.sub(semanticTypeURI, '') } + requestedCodes = semanticCodes.map { |code| (semantic_types.include? code and code) || nil }.compact + requestedDescriptions = requestedCodes.map { |code| @semantic_types[code] }.compact c[:semantic_types] = requestedDescriptions - else - c[:semantic_types] = [] end classes_simple[c[:id]] = c end - return classes_simple + classes_simple end - end diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 1c3bc48a0b..22c6f4c9da 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'uri' require 'open-uri' require 'net/http' @@ -13,18 +15,17 @@ # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base - before_action :set_locale # Sets the locale based on the locale cookie or the value returned by detect_locale. - def set_locale + def set_locale I18n.locale = cookies[:locale] || detect_locale cookies.permanent[:locale] = I18n.locale if cookies[:locale].nil? logger.debug "* Locale set to '#{I18n.locale}'" end # Returns detedted locale based on the Accept-Language header of the request or the default locale if none is found. - def detect_locale + def detect_locale languages = request.headers['Accept-Language']&.split(',') supported_languages = I18n.available_locales @@ -32,10 +33,9 @@ def detect_locale language_code = language.split(/[-;]/).first.downcase.to_sym return language_code if supported_languages.include?(language_code) end - - return I18n.default_locale + + I18n.default_locale end - helper :all # include all helpers, all the time helper_method :bp_config_json, :current_license, :using_captcha? @@ -44,7 +44,7 @@ def detect_locale REST_URI = $REST_URL API_KEY = $API_KEY PROXY_URI = $PROXY_URL - REST_URI_BATCH = REST_URI + '/batch' + REST_URI_BATCH = "#{REST_URI}/batch" # Rails.cache expiration EXPIRY_RI_STATS = 60 * 60 * 24 # 24:00 hours @@ -53,42 +53,39 @@ def detect_locale EXPIRY_RECENT_MAPPINGS = 60 * 60 # 1:00 hours EXPIRY_ONTOLOGY_SIMPLIFIED = 60 * 1 # 0:01 minute - - $DATA_CATALOG_VALUES = {"fairsharing.org/" => "FAIRsharing", - "aber-owl.net" => "AberOWL", - "vest.agrisemantics.org" => "VEST Registry", - "bioportal.bioontology.org" => "BioPortal", - "ontobee.org" => "Ontobee", - "obofoundry.org" => "The OBO Foundry", - "ebi.ac.uk/ols" => "EBI Ontology Lookup"} - - RESOLVE_NAMESPACE = {:omv => "http://omv.ontoware.org/2005/05/ontology#", :skos => "http://www.w3.org/2004/02/skos/core#", :owl => "http://www.w3.org/2002/07/owl#", - :rdf => "http://www.w3.org/1999/02/22-rdf-syntax-ns#", :rdfs => "http://www.w3.org/2000/01/rdf-schema#", :metadata => "http://data.bioontology.org/metadata/", - :metadata_def => "http://data.bioontology.org/metadata/def/", :dc => "http://purl.org/dc/elements/1.1/", :xsd => "http://www.w3.org/2001/XMLSchema#", - :oboinowl_gen => "http://www.geneontology.org/formats/oboInOwl#", :obo_purl => "http://purl.obolibrary.org/obo/", - :umls => "http://bioportal.bioontology.org/ontologies/umls/", :door => "http://kannel.open.ac.uk/ontology#", :dct => "http://purl.org/dc/terms/", - :void => "http://rdfs.org/ns/void#", :foaf => "http://xmlns.com/foaf/0.1/", :vann => "http://purl.org/vocab/vann/", :adms => "http://www.w3.org/ns/adms#", - :voaf => "http://purl.org/vocommons/voaf#", :dcat => "http://www.w3.org/ns/dcat#", :mod => "http://www.isibang.ac.in/ns/mod#", :prov => "http://www.w3.org/ns/prov#", - :cc => "http://creativecommons.org/ns#", :schema => "http://schema.org/", :doap => "http://usefulinc.com/ns/doap#", :bibo => "http://purl.org/ontology/bibo/", - :wdrs => "http://www.w3.org/2007/05/powder-s#", :cito => "http://purl.org/spar/cito/", :pav => "http://purl.org/pav/", :nkos => "http://w3id.org/nkos/nkostype#", - :oboInOwl => "http://www.geneontology.org/formats/oboInOwl#", :idot => "http://identifiers.org/idot/", :sd => "http://www.w3.org/ns/sparql-service-description#", - :cclicense => "http://creativecommons.org/licenses/"} + $DATA_CATALOG_VALUES = { 'fairsharing.org/' => 'FAIRsharing', + 'aber-owl.net' => 'AberOWL', + 'vest.agrisemantics.org' => 'VEST Registry', + 'bioportal.bioontology.org' => 'BioPortal', + 'ontobee.org' => 'Ontobee', + 'obofoundry.org' => 'The OBO Foundry', + 'ebi.ac.uk/ols' => 'EBI Ontology Lookup' } + + RESOLVE_NAMESPACE = { omv: 'http://omv.ontoware.org/2005/05/ontology#', skos: 'http://www.w3.org/2004/02/skos/core#', owl: 'http://www.w3.org/2002/07/owl#', + rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#', rdfs: 'http://www.w3.org/2000/01/rdf-schema#', metadata: 'http://data.bioontology.org/metadata/', + metadata_def: 'http://data.bioontology.org/metadata/def/', dc: 'http://purl.org/dc/elements/1.1/', xsd: 'http://www.w3.org/2001/XMLSchema#', + oboinowl_gen: 'http://www.geneontology.org/formats/oboInOwl#', obo_purl: 'http://purl.obolibrary.org/obo/', + umls: 'http://bioportal.bioontology.org/ontologies/umls/', door: 'http://kannel.open.ac.uk/ontology#', dct: 'http://purl.org/dc/terms/', + void: 'http://rdfs.org/ns/void#', foaf: 'http://xmlns.com/foaf/0.1/', vann: 'http://purl.org/vocab/vann/', adms: 'http://www.w3.org/ns/adms#', + voaf: 'http://purl.org/vocommons/voaf#', dcat: 'http://www.w3.org/ns/dcat#', mod: 'http://www.isibang.ac.in/ns/mod#', prov: 'http://www.w3.org/ns/prov#', + cc: 'http://creativecommons.org/ns#', schema: 'http://schema.org/', doap: 'http://usefulinc.com/ns/doap#', bibo: 'http://purl.org/ontology/bibo/', + wdrs: 'http://www.w3.org/2007/05/powder-s#', cito: 'http://purl.org/spar/cito/', pav: 'http://purl.org/pav/', nkos: 'http://w3id.org/nkos/nkostype#', + oboInOwl: 'http://www.geneontology.org/formats/oboInOwl#', idot: 'http://identifiers.org/idot/', sd: 'http://www.w3.org/ns/sparql-service-description#', + cclicense: 'http://creativecommons.org/licenses/' }.freeze $trial_license_initialized = false - if !$EMAIL_EXCEPTIONS.nil? && $EMAIL_EXCEPTIONS == true - include ExceptionNotifiable - end + include ExceptionNotifiable if !$EMAIL_EXCEPTIONS.nil? && $EMAIL_EXCEPTIONS == true # See ActionController::RequestForgeryProtection for details protect_from_forgery - before_action :set_global_thread_values, :domain_ontology_set, :authorize_miniprofiler, :clean_empty_strings_from_params_arrays, :init_trial_license - + before_action :set_global_thread_values, :domain_ontology_set, :authorize_miniprofiler, + :clean_empty_strings_from_params_arrays, :init_trial_license def show_image_modal url = params[:url] - render turbo_stream: helpers.prepend('application_modal_content') { helpers.image_tag(url, style:'width: 100%') } + render turbo_stream: helpers.prepend('application_modal_content') { helpers.image_tag(url, style: 'width: 100%') } end def set_global_thread_values @@ -98,27 +95,27 @@ def set_global_thread_values def clean_empty_strings_from_params_arrays(params = nil) params ||= params() - params.keys.each do |k| + params.each_key do |k| clean_empty_strings_from_params_arrays(params[k]) if params[k].is_a?(Hash) - params[k] = params[k].select {|e| !e.eql?("")} if params[k].is_a?(Array) + params[k] = params[k].reject { |e| e.eql?('') } if params[k].is_a?(Array) end end def domain_ontology_set - @subdomain_filter = { :active => false, :name => "", :acronym => "" } + @subdomain_filter = { active: false, name: '', acronym: '' } if !$ENABLE_SLICES.nil? && $ENABLE_SLICES == true host = request.host - host_parts = host.split(".") + host_parts = host.split('.') subdomain = host_parts[0].downcase slices = LinkedData::Client::Models::Slice.all - slices_acronyms = slices.map {|s| s.acronym} + slices_acronyms = slices.map(&:acronym) # Set custom ontologies if we're on a subdomain that has them # Else, make sure user ontologies are set appropriately - if slices_acronyms && slices_acronyms.include?(subdomain) - slice = slices.select {|s| s.acronym.eql?(subdomain)}.first + if slices_acronyms&.include?(subdomain) + slice = slices.select { |s| s.acronym.eql?(subdomain) }.first @subdomain_filter[:active] = true @subdomain_filter[:name] = slice.name @subdomain_filter[:acronym] = slice.acronym @@ -128,11 +125,6 @@ def domain_ontology_set Thread.current[:slice] = @subdomain_filter end - def anonymous_user - user = DataAccess.getUser($ANONYMOUS_USER) - user ||= User.new({"id" => 0}) - end - def ontology_not_found(ontology_acronym) not_found("Ontology #{ontology_acronym} not found") end @@ -143,25 +135,23 @@ def concept_not_found(concept_id) def not_found(message = '') if request.xhr? - render plain: message || "Error: load failed" + render plain: message || 'Error: load failed' return end - raise ActiveRecord::RecordNotFound.new(message || 'Not Found') + raise ActiveRecord::RecordNotFound, message || 'Not Found' end - NOTIFICATION_TYPES = { :notes => "CREATE_NOTE_NOTIFICATION", :all => "ALL_NOTIFICATION" } + NOTIFICATION_TYPES = { notes: 'CREATE_NOTE_NOTIFICATION', all: 'ALL_NOTIFICATION' }.freeze - def to_param(name) # Paramaterizes URLs without encoding - unless name.nil? - name.to_s.gsub(' ',"_") - end + # Paramaterizes URLs without encoding + def to_param(name) + name&.to_s&.gsub(' ', '_') end - def undo_param(name) #Undo Paramaterization - unless name.nil? - name.to_s.gsub('_'," ") - end + # Undo Paramaterization + def undo_param(name) + name&.to_s&.gsub('_', ' ') end def bp_config_json @@ -169,23 +159,26 @@ def bp_config_json # config/bioportal_config.rb # config/initializers/ontologies_api_client.rb config = { - org: $ORG, - org_url: $ORG_URL, - site: $SITE, - org_site: $ORG_SITE, - ui_url: $UI_URL, - apikey: LinkedData::Client.settings.apikey, - userapikey: get_apikey, - rest_url: LinkedData::Client.settings.rest_url, - proxy_url: $PROXY_URL, - biomixer_url: $BIOMIXER_URL, - annotator_url: $ANNOTATOR_URL, - ncbo_annotator_url: $NCBO_ANNOTATOR_URL, - ncbo_apikey: $NCBO_API_KEY, - interportal_hash: $INTERPORTAL_HASH, - resolve_namespace: RESOLVE_NAMESPACE + org: $ORG, + org_url: $ORG_URL, + site: $SITE, + org_site: $ORG_SITE, + ui_url: $UI_URL, + apikey: LinkedData::Client.settings.apikey, + userapikey: get_apikey, + rest_url: LinkedData::Client.settings.rest_url, + proxy_url: $PROXY_URL, + biomixer_url: $BIOMIXER_URL, + annotator_url: $ANNOTATOR_URL, + ncbo_annotator_url: $NCBO_ANNOTATOR_URL, + ncbo_apikey: $NCBO_API_KEY, + interportal_hash: $INTERPORTAL_HASH, + resolve_namespace: RESOLVE_NAMESPACE } - config[:ncbo_slice] = @subdomain_filter[:acronym] if (@subdomain_filter[:active] && !@subdomain_filter[:acronym].empty?) + if @subdomain_filter[:active] && !@subdomain_filter[:acronym].empty? + config[:ncbo_slice] = + @subdomain_filter[:acronym] + end config.to_json end @@ -193,13 +186,12 @@ def remote_file_exists?(url) begin url = URI.parse(url) - if url.kind_of?(URI::FTP) - check = check_ftp_file(url) - else - check = check_http_file(url) - end - - rescue + check = if url.is_a?(URI::FTP) + check_ftp_file(url) + else + check_http_file(url) + end + rescue StandardError return false end @@ -219,12 +211,12 @@ def check_ftp_file(uri) ftp = Net::FTP.new(uri.host, uri.user, uri.password) ftp.login begin - file_exists = ftp.size(uri.path) > 0 - rescue + file_exists = ftp.size(uri.path).positive? + rescue StandardError # Check using another method - path = uri.path.split("/") + path = uri.path.split('/') filename = path.pop - path = path.join("/") + path = path.join('/') ftp.chdir(path) files = ftp.dir # Dumb check, just see if the filename is somewhere in the list @@ -246,9 +238,10 @@ def parse_response_body(response) def response_errors(error_response) error_struct = parse_response_body(error_response) - errors = {error: "There was an error, please try again"} + errors = { error: 'There was an error, please try again' } return errors unless error_struct return errors unless error_struct.respond_to?(:errors) + errors = {} error_struct.errors.each do |error| if error.is_a?(OpenStruct) || error.is_a?(Struct) @@ -264,7 +257,7 @@ def response_success?(response) return true if response.nil? if response.respond_to?(:status) && response.status - response.status.to_i < 400 + response.status.to_i < 400 else !(response.respond_to?(:errors) && response.errors) end @@ -277,31 +270,35 @@ def response_error?(response) def struct_to_hash(struct) hash = {} struct.members.each do |attr| - next if [:links, :context].include?(attr) - if struct[attr].is_a?(Struct) || struct[attr].is_a?(OpenStruct) - hash[attr] = struct_to_hash(struct[attr]) - else - hash[attr] = struct[attr] - end + next if %i[links context].include?(attr) + + hash[attr] = if struct[attr].is_a?(Struct) || struct[attr].is_a?(OpenStruct) + struct_to_hash(struct[attr]) + else + struct[attr] + end end hash end - def redirect_to_browse # Redirect to the browse Ontologies page - redirect_to "/ontologies" + # Redirect to the browse Ontologies page + def redirect_to_browse + redirect_to '/ontologies' end - def redirect_to_home # Redirect to Home Page - redirect_to "/" + # Redirect to Home Page + def redirect_to_home + redirect_to '/' end - def redirect_to_history # Redirects to the correct tab through the history system + # Redirects to the correct tab through the history system + def redirect_to_history if session[:redirect].nil? redirect_to_home else tab = find_tab(session[:redirect][:ontology]) - session[:redirect]=nil - redirect_to uri_url(:ontology=>tab.ontology_id,:conceptid=>tab.concept) + session[:redirect] = nil + redirect_to uri_url(ontology: tab.ontology_id, conceptid: tab.concept) end end @@ -310,43 +307,43 @@ def redirect_new_api(class_view = false) params[:ontology] = params[:ontology].nil? ? params[:ontologyid] : params[:ontology] # Error checking if params[:ontology].nil? || params[:id] && params[:ontology].nil? - @error = "Please provide an ontology id or concept id with an ontology id." + @error = 'Please provide an ontology id or concept id with an ontology id.' return end acronym = BpidResolver.id_to_acronym(params[:ontology]) ontology_not_found(params[:ontology]) unless acronym if class_view @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(acronym).first - concept = get_class(params).first.to_s - redirect_to "/ontologies/#{acronym}?p=classes#{params_string_for_redirect(params, prefix: "&")}", :status => :moved_permanently + get_class(params).first.to_s + redirect_to "/ontologies/#{acronym}?p=classes#{params_string_for_redirect(params, prefix: '&')}", + status: :moved_permanently else - redirect_to "/ontologies/#{acronym}#{params_string_for_redirect(params)}", :status => :moved_permanently + redirect_to "/ontologies/#{acronym}#{params_string_for_redirect(params)}", status: :moved_permanently end end def params_cleanup_new_api params = @_params - if params[:ontology] && params[:ontology].to_i > 0 - params[:ontology] = BpidResolver.id_to_acronym(params[:ontology]) - end + params[:ontology] = BpidResolver.id_to_acronym(params[:ontology]) if params[:ontology]&.to_i&.positive? params end def params_string_for_redirect(params, options = {}) - prefix = options[:prefix] || "?" - stop_words = options[:stop_words] || ["ontology", "controller", "action", "id", "acronym"] + prefix = options[:prefix] || '?' + stop_words = options[:stop_words] || %w[ontology controller action id acronym] params_array = [] - params.each do |key,value| + params.each do |key, value| next if stop_words.include?(key.to_s) || value.nil? || value.empty? + params_array << "#{key}=#{CGI.escape(value)}" end - params_array.empty? ? "" : "#{prefix}#{params_array.join('&')}" + params_array.empty? ? '' : "#{prefix}#{params_array.join('&')}" end # rack-mini-profiler authorization def authorize_miniprofiler - if params[:enable_profiler] && params[:enable_profiler].eql?("true") && session[:user] && session[:user].admin? + if params[:enable_profiler].eql?('true') && session[:user] && session[:user].admin? Rack::MiniProfiler.authorize_request else Rack::MiniProfiler.deauthorize_request @@ -355,88 +352,83 @@ def authorize_miniprofiler # Verifies if user is logged in def authorize_and_redirect - unless session[:user] - redirect_to_home - end + return if session[:user] + + redirect_to_home end # Verifies that a user owns an object - def authorize_owner(id=nil) - if id.nil? - id = params[:id].to_i - end + def authorize_owner(id = nil) + id = params[:id].to_i if id.nil? - id.map! {|i| i.to_i} if id.kind_of?(Array) + id.map!(&:to_i) if id.is_a?(Array) if session[:user].nil? redirect_to_home - else - if id.kind_of?(Array) - redirect_to_home if !session[:user].admin? && !id.include?(session[:user].id.to_i) - else - redirect_to_home if !session[:user].admin? && !session[:user].id.to_i.eql?(id) - end + elsif id.is_a?(Array) + redirect_to_home if !session[:user].admin? && !id.include?(session[:user].id.to_i) + elsif !session[:user].admin? && !session[:user].id.to_i.eql?(id) + redirect_to_home end end def authorize_admin - admin = session[:user] && session[:user].admin? + admin = session[:user]&.admin? redirect_to_home unless admin end def current_user_admin? - session[:user] && session[:user].admin? + session[:user]&.admin? end def ontology_restricted?(acronym) restrict_downloads = $NOT_DOWNLOADABLE restrict_downloads.include? acronym end + # updates the 'history' tab with the current selected concept def update_tab(ontology, concept) array = session[:ontologies] || [] found = false - for item in array + array.each do |item| if item.ontology_id.eql?(ontology.id) - item.concept=concept - found=true + item.concept = concept + found = true end end - unless found - array << History.new(ontology.id, ontology.name, ontology.acronym, concept) - end + array << History.new(ontology.id, ontology.name, ontology.acronym, concept) unless found - session[:ontologies]=array + session[:ontologies] = array end # Removes a 'history' tab def remove_tab(ontology_id) array = session[:ontologies] array.delete(find_tab(ontology_id)) - session[:ontologies]=array + session[:ontologies] = array end # Returns a specific 'history' tab def find_tab(ontology_id) array = session[:ontologies] - for item in array - if item.ontology_id.eql?(ontology_id) - return item - end + array.each do |item| + return item if item.ontology_id.eql?(ontology_id) end - return nil + nil end def check_delete_mapping_permission(mappings) # ensure mappings is an Array of mappings (some calls may provide only a single mapping instance) mappings = [mappings] if mappings.instance_of? LinkedData::Client::Models::Mapping - return false if mappings.all? {|m| m.id.to_s.empty?} + return false if mappings.all? { |m| m.id.to_s.empty? } + delete_mapping_permission = false if session[:user] delete_mapping_permission = session[:user].admin? mappings.each do |mapping| break if delete_mapping_permission + delete_mapping_permission = mapping.creator == session[:user].id end end @@ -448,28 +440,26 @@ def using_captcha? end def get_class(params) - lang = request_lang - + if @ontology.flat? ignore_concept_param = params[:conceptid].nil? || - params[:conceptid].empty? || - params[:conceptid].eql?("root") || - params[:conceptid].eql?("bp_fake_root") + params[:conceptid].empty? || + params[:conceptid].eql?('root') || + params[:conceptid].eql?('bp_fake_root') if ignore_concept_param # Don't display any classes in the tree @concept = LinkedData::Client::Models::Class.new - @concept.prefLabel = "Please search for a class using the Jump To field above" + @concept.prefLabel = 'Please search for a class using the Jump To field above' @concept.obsolete = false - @concept.id = "bp_fake_root" + @concept.id = 'bp_fake_root' @concept.properties = {} - @concept.children = [] else # Display only the requested class in the tree - @concept = @ontology.explore.single_class({full: true, lang: lang }, params[:conceptid]) - @concept.children = [] + @concept = @ontology.explore.single_class({ full: true, lang: lang }, params[:conceptid]) end + @concept.children = [] @root = LinkedData::Client::Models::Class.new @root.children = [@concept] @@ -478,21 +468,21 @@ def get_class(params) # not ignoring 'bp_fake_root' here include = 'prefLabel,hasChildren,obsolete' ignore_concept_param = params[:conceptid].nil? || - params[:conceptid].empty? || - params[:conceptid].eql?("root") + params[:conceptid].empty? || + params[:conceptid].eql?('root') if ignore_concept_param # get the top level nodes for the root # TODO_REV: Support views? Replace old view call: @ontology.top_level_classes(view) - @roots = @ontology.explore.roots(concept_schemes: params[:concept_schemes]) + @roots = @ontology.explore.roots(concept_schemes: params[:concept_schemes]) if @roots.nil? || @roots.empty? LOG.add :debug, "Missing @roots for #{@ontology.acronym}" classes = @ontology.explore.classes.collection @concept = classes.first.explore.self(full: true) if classes.first return end - + @root = LinkedData::Client::Models::Class.new(read_only: true) - @root.children = @roots.sort{|x,y| (x.prefLabel || "").downcase <=> (y.prefLabel || "").downcase} + @root.children = @roots.sort { |x, y| (x.prefLabel || '').downcase <=> (y.prefLabel || '').downcase } # get the initial concept to display root_child = @root.children.first @@ -505,7 +495,7 @@ def get_class(params) end else # if the id is coming from a param, use that to get concept - @concept = @ontology.explore.single_class({full: true, lang: lang}, params[:conceptid]) + @concept = @ontology.explore.single_class({ full: true, lang: lang }, params[:conceptid]) if @concept.nil? || @concept.errors LOG.add :debug, "Missing class #{@ontology.acronym} / #{params[:conceptid]}" not_found("Missing class #{@ontology.acronym} / #{params[:conceptid]}") @@ -520,40 +510,39 @@ def get_class(params) @concept = @ontology.explore.classes.collection.first.explore.self(full: true) return end - if @roots.any? {|c| c.id == @concept.id} - rootNode = @roots - else - rootNode = [@concept] - end + rootNode = if @roots.any? { |c| c.id == @concept.id } + @roots + else + [@concept] + end end @root = LinkedData::Client::Models::Class.new(read_only: true) - @root.children = rootNode.sort{|x,y| (x.prefLabel || "").downcase <=> (y.prefLabel || "").downcase} + @root.children = rootNode.sort { |x, y| (x.prefLabel || '').downcase <=> (y.prefLabel || '').downcase } end end @concept end - def get_ontology_submission_ready(ontology) # Get the latest 'ready' submission - submission = ontology.explore.latest_submission({:include_status => 'ready'}) + submission = ontology.explore.latest_submission({ include_status: 'ready' }) # Fallback to the latest submission, even if it's not ready. submission = ontology.explore.latest_submission if submission.nil? - return submission + submission end - def get_simplified_ontologies_hash() + def get_simplified_ontologies_hash # Note the simplify_ontology_model will cache individual ontology data. simple_ontologies = {} begin - ontology_models = LinkedData::Client::Models::Ontology.all({:include_views => true}) - ontology_models.each {|o| simple_ontologies[o.id] = simplify_ontology_model(o) } + ontology_models = LinkedData::Client::Models::Ontology.all({ include_views: true }) + ontology_models.each { |o| simple_ontologies[o.id] = simplify_ontology_model(o) } rescue Exception => e LOG.add :error, e.message return nil end - return simple_ontologies + simple_ontologies end def get_ontology_details(ont_uri) @@ -565,7 +554,7 @@ def get_ontology_details(ont_uri) LOG.add :error, e.message return nil end - return ont + ont end def simplify_classes(classes) @@ -573,7 +562,7 @@ def simplify_classes(classes) # It takes a list of class objects (hashes or models) and the # data structure returned is a hash of class hashes, which will # contain details for the ontology they belong to. For example: - #{ + # { # "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C12439" => { # :id => "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C12439", # :ui => "http://ncbo-stg-app-12.stanford.edu/ontologies/NCIT?p=classes&conceptid=http%3A%2F%2Fncicb.nci.nih.gov%2Fxml%2Fowl%2FEVS%2FThesaurus.owl%23C12439", @@ -587,29 +576,29 @@ def simplify_classes(classes) # :ui => "http://ncbo-stg-app-12.stanford.edu/ontologies/NCIT" # }, # }, - #} + # } @ontologies_hash ||= get_simplified_ontologies_hash classes_hash = {} classes.each do |cls| c = simplify_class_model(cls) - c[:ontology] = @ontologies_hash[ c[:ontology] ] + c[:ontology] = @ontologies_hash[c[:ontology]] classes_hash[c[:id]] = c end - return classes_hash + classes_hash end def simplify_class_model(cls_model) # Simplify the class required required by the UI. # No modification of the class ontology here, see simplify_classes. # Default simple class model - cls = { :id => nil, :ontology => nil, :prefLabel => nil, :uri => nil, :ui => nil, :obsolete => false } + cls = { id: nil, ontology: nil, prefLabel: nil, uri: nil, ui: nil, obsolete: false } begin if cls_model.instance_of? Hash cls = { - :id => cls_model['@id'], - :ui => cls_model['links']['ui'], - :uri => cls_model['links']['self'], # different from id - :ontology => cls_model['links']['ontology'] + id: cls_model['@id'], + ui: cls_model['links']['ui'], + uri: cls_model['links']['self'], # different from id + ontology: cls_model['links']['ontology'] } # Try to carry through a prefLabel and the obsolete attribute, if they exist. cls[:prefLabel] = cls_model['prefLabel'] @@ -618,10 +607,10 @@ def simplify_class_model(cls_model) # try to work with a struct object or a LinkedData::Client::Models::Class # if not a struct, then: cls_model.instance_of? LinkedData::Client::Models::Class cls = { - :id => cls_model.id, - :ui => cls_model.links['ui'], - :uri => cls_model.links['self'], # different from id - :ontology => cls_model.links['ontology'], + id: cls_model.id, + ui: cls_model.links['ui'], + uri: cls_model.links['self'], # different from id + ontology: cls_model.links['ontology'] } # Try to carry through a prefLabel and the obsolete attribute, if they exist. cls[:prefLabel] = cls_model.prefLabel if cls_model.respond_to?('prefLabel') @@ -631,7 +620,7 @@ def simplify_class_model(cls_model) LOG.add :error, e.message LOG.add :error, "Failure to simplify class: #{cls}" end - return cls + cls end def simplify_ontology_model(ont_model) @@ -643,6 +632,7 @@ def simplify_ontology_model(ont_model) end ont = Rails.cache.read(id) return ont unless ont.nil? + # No cache or it has expired LOG.add :debug, "No cache or expired cache for ontology: #{id}" ont = {} @@ -662,50 +652,47 @@ def simplify_ontology_model(ont_model) # Only cache a complete representation of a simplified ontology if ont[:id].nil? || ont[:uri].nil? || ont[:acronym].nil? || ont[:name].nil? || ont[:ui].nil? raise "Incomplete simple ontology: #{id}, #{ont}" - else - Rails.cache.write(ont[:id], ont, expires_in: EXPIRY_ONTOLOGY_SIMPLIFIED) end - return ont + + Rails.cache.write(ont[:id], ont, expires_in: EXPIRY_ONTOLOGY_SIMPLIFIED) + + ont end - def get_apikey() + def get_apikey apikey = API_KEY - if session[:user] - apikey = session[:user].apikey - end - return apikey + apikey = session[:user].apikey if session[:user] + apikey end def parse_json(uri) uri = URI.parse(uri) begin - response = open(uri, "Authorization" => "apikey token=#{get_apikey}").read - rescue Exception => error + response = open(uri, 'Authorization' => "apikey token=#{get_apikey}").read + rescue Exception => e @retries ||= 0 - if @retries < 1 # retry once only - @retries += 1 - retry - else - raise error - end + raise e unless @retries < 1 # retry once only + + @retries += 1 + retry end JSON.parse(response) end - def get_batch_results(params) begin - response = RestClient.post REST_URI_BATCH, params.to_json, :content_type => :json, :accept => :json, :authorization => "apikey token=#{get_apikey}" - rescue Exception => error + response = RestClient.post REST_URI_BATCH, params.to_json, content_type: :json, accept: :json, + authorization: "apikey token=#{get_apikey}" + rescue Exception => e @retries ||= 0 - if @retries < 1 # retry once only + if @retries < 1 # retry once only @retries += 1 retry else LOG.add :error, "\nERROR: batch POST, uri: #{REST_URI_BATCH}" LOG.add :error, "\nERROR: batch POST, params: #{params.to_json}" - LOG.add :error, "\nERROR: batch POST, error response: #{error.response}" - raise error + LOG.add :error, "\nERROR: batch POST, error response: #{e.response}" + raise e end end response @@ -716,17 +703,17 @@ def get_batch_results(params) # Each class in the list maps to all other classes in the list. def get_recent_mappings recent_mappings = { - :mappings => [], - :classes => {} + mappings: [], + classes: {} } begin recent_url = "#{REST_URI}/mappings/recent/" cached_mappings_key = recent_url cached_mappings = Rails.cache.read(cached_mappings_key) - return cached_mappings unless (cached_mappings.nil? || cached_mappings.empty?) + return cached_mappings unless cached_mappings.nil? || cached_mappings.empty? + # No cache or it has expired - class_details = {} - mappings = LinkedData::Client::HTTP.get(recent_url, {size: 20, display: "prefLabel"}) + mappings = LinkedData::Client::HTTP.get(recent_url, { size: 20, display: 'prefLabel' }) recent_mappings[:mappings] = mappings unless mappings.nil? || mappings.empty? # Only cache a successful retrieval @@ -736,12 +723,12 @@ def get_recent_mappings LOG.add :error, e.message # leave recent mappings empty. end - return recent_mappings + recent_mappings end def total_mapping_count total_count = 0 - + begin stats = LinkedData::Client::HTTP.get("#{REST_URI}/mappings/statistics/ontologies") unless stats.blank? @@ -750,11 +737,11 @@ def total_mapping_count stats.transform_values!(&:to_i) total_count = stats.values.sum end - rescue + rescue StandardError LOG.add :error, e.message end - - return total_count + + total_count end def determine_layout @@ -770,24 +757,26 @@ def current_license end def init_trial_license - unless $trial_license_initialized - unless License.where(encrypted_key: 'trial').exists? - License.create(encrypted_key: 'trial', created_at: Time.current) - end - $trial_license_initialized = true + return if $trial_license_initialized + + unless License.where(encrypted_key: 'trial').exists? + License.create(encrypted_key: 'trial', created_at: Time.current) end + $trial_license_initialized = true end - + # Get the submission metadata from the REST API. def submission_metadata - @metadata ||= JSON.parse(Net::HTTP.get(URI.parse("#{REST_URI}/submission_metadata?apikey=#{API_KEY}"))) + @submission_metadata ||= JSON.parse(Net::HTTP.get(URI.parse("#{REST_URI}/submission_metadata?apikey=#{API_KEY}"))) end helper_method :submission_metadata def request_lang helpers.request_lang end + private + def not_found_record(exception) @error_message = exception.message render 'errors/not_found', status: 404 diff --git a/app/controllers/collections_controller.rb b/app/controllers/collections_controller.rb index ad125dd170..3253bb063c 100644 --- a/app/controllers/collections_controller.rb +++ b/app/controllers/collections_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class CollectionsController < ApplicationController include CollectionsHelper def show @@ -6,9 +8,9 @@ def show def show_label collection_label = '' - collection = get_request_collection - collection_label = collection['prefLabel'] if collection - collection_label = params[:id] if collection_label.nil? || collection_label.empty? + collection = get_request_collection + collection_label = collection['prefLabel'] if collection + collection_label = params[:id] if collection_label.nil? || collection_label.empty? render LabelLinkComponent.inline(params[:id], helpers.main_language_label(collection_label)) end @@ -18,7 +20,7 @@ def show_members @collection = get_request_collection page = params[:page] || '1' @auto_click = page.to_s.eql?('1') - @page = @collection.explore.members({page: page, language: request_lang}) + @page = @collection.explore.members({ page: page, language: request_lang }) @concepts = @page.collection if @ontology.nil? ontology_not_found params[:ontology] diff --git a/app/controllers/concepts_controller.rb b/app/controllers/concepts_controller.rb index 52d23a8bb4..d70ca7b293 100644 --- a/app/controllers/concepts_controller.rb +++ b/app/controllers/concepts_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'cgi' class ConceptsController < ApplicationController @@ -6,10 +8,10 @@ class ConceptsController < ApplicationController layout 'ontology' def show_concept - params[:id] = params[:id] ? params[:id] : params[:conceptid] + params[:id] = params[:id] || params[:conceptid] if params[:id].nil? || params[:id].empty? - render :text => "Error: You must provide a valid concept id" + render text: 'Error: You must provide a valid concept id' return end @@ -19,20 +21,20 @@ def show_concept @submission = get_ontology_submission_ready(@ontology) @ob_instructions = helpers.ontolobridge_instructions_template(@ontology) - @concept = @ontology.explore.single_class({full: true, language: request_lang}, params[:id]) + @concept = @ontology.explore.single_class({ full: true, language: request_lang }, params[:id]) @instances_concept_id = @concept.id concept_not_found(params[:id]) if @concept.nil? gather_details - render :partial => 'show' + render partial: 'show' end def show # Handle multiple methods of passing concept ids - params[:id] = params[:id] ? params[:id] : params[:conceptid] + params[:id] = params[:id] || params[:conceptid] if params[:id].nil? || params[:id].empty? - render :text => "Error: You must provide a valid concept id" + render text: 'Error: You must provide a valid concept id' return end @@ -41,31 +43,31 @@ def show @ob_instructions = helpers.ontolobridge_instructions_template(@ontology) if request.xhr? - display = params[:callback].eql?('load') ? {full: true} : {display: "prefLabel"} + display = params[:callback].eql?('load') ? { full: true } : { display: 'prefLabel' } @concept = @ontology.explore.single_class(display, params[:id]) concept_not_found(params[:id]) if @concept.nil? @schemes = params[:concept_schemes]&.split(',') - show_ajax_request # process an ajax call else # Get the latest 'ready' submission, or fallback to any latest submission # TODO: change the logic here if the fallback will crash the visualization - @submission = get_ontology_submission_ready(@ontology) # application_controller + @submission = get_ontology_submission_ready(@ontology) # application_controller - @concept = @ontology.explore.single_class({full: true}, params[:id]) + @concept = @ontology.explore.single_class({ full: true }, params[:id]) concept_not_found(params[:id]) if @concept.nil? @schemes = params[:concept_schemes].split(',') - show_ajax_request # process a full call end + show_ajax_request end def show_label - cls_id = params[:concept] || params[:id] # cls_id should be a full URI - ont_id = params[:ontology] # ont_id could be a full URI or an acronym - - if ont_id.to_i > 0 - params_cleanup_new_api() - stop_words = ["controller", "action"] - redirect_to "#{request.path}#{params_string_for_redirect(params, stop_words: stop_words)}", :status => :moved_permanently + cls_id = params[:concept] || params[:id] # cls_id should be a full URI + ont_id = params[:ontology] # ont_id could be a full URI or an acronym + + if ont_id.to_i.positive? + params_cleanup_new_api + stop_words = %w[controller action] + redirect_to "#{request.path}#{params_string_for_redirect(params, stop_words: stop_words)}", + status: :moved_permanently return end @@ -73,29 +75,31 @@ def show_label end def show_definition - if params[:ontology].to_i > 0 - params_cleanup_new_api() - stop_words = ["controller", "action"] - redirect_to "#{request.path}#{params_string_for_redirect(params, stop_words: stop_words)}", :status => :moved_permanently + if params[:ontology].to_i.positive? + params_cleanup_new_api + stop_words = %w[controller action] + redirect_to "#{request.path}#{params_string_for_redirect(params, stop_words: stop_words)}", + status: :moved_permanently return end @ontology = LinkedData::Client::Models::Ontology.find(params[:ontology]) cls = @ontology.explore.single_class(params[:concept]) - render :text => cls.definition + render text: cls.definition end def show_tree - if params[:ontology].to_i > 0 - params_cleanup_new_api() - stop_words = ["controller", "action"] - redirect_to "#{request.path}#{params_string_for_redirect(params, stop_words: stop_words)}", :status => :moved_permanently + if params[:ontology].to_i.positive? + params_cleanup_new_api + stop_words = %w[controller action] + redirect_to "#{request.path}#{params_string_for_redirect(params, stop_words: stop_words)}", + status: :moved_permanently return end @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(params[:ontology]).first if @ontology.nil? ontology_not_found(params[:ontology]) - else - get_class(params) #application_controller + else + get_class(params) # application_controller render partial: 'ontologies/treeview', locals: { autoCLick: params[:auto_click] || true } end end @@ -110,8 +114,8 @@ def show_date_sorted_list auto_click = page.to_s.eql?('1') params = { page: page, - sortby:'modified,created', - order:'desc,desc', + sortby: 'modified,created', + order: 'desc,desc', display: 'prefLabel,modified,created', language: request_lang } @@ -126,14 +130,14 @@ def show_date_sorted_list render partial: 'concepts/date_sorted_list', locals: { auto_click: auto_click } end - end def property_tree - if params[:ontology].to_i > 0 - params_cleanup_new_api() - stop_words = ["controller", "action"] - redirect_to "#{request.path}#{params_string_for_redirect(params, stop_words: stop_words)}", :status => :moved_permanently + if params[:ontology].to_i.positive? + params_cleanup_new_api + stop_words = %w[controller action] + redirect_to "#{request.path}#{params_string_for_redirect(params, stop_words: stop_words)}", + status: :moved_permanently return end @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(params[:ontology]).first @@ -146,52 +150,53 @@ def property_tree def details concept_not_found('') if params[:conceptid].nil? || params[:conceptid].empty? - if params[:ontology].to_i > 0 + if params[:ontology].to_i.positive? orig_id = params[:ontology] - params_cleanup_new_api() - options = {stop_words: ["controller", "action", "id"]} - redirect_to "#{request.path.sub(orig_id, params[:ontology])}#{params_string_for_redirect(params, options)}", :status => :moved_permanently + params_cleanup_new_api + options = { stop_words: %w[controller action id] } + redirect_to "#{request.path.sub(orig_id, params[:ontology])}#{params_string_for_redirect(params, options)}", + status: :moved_permanently return end @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(params[:ontology]).first ontology_not_found(params[:ontology]) if @ontology.nil? - @concept = @ontology.explore.single_class({full: true}, CGI.unescape(params[:conceptid])) + @concept = @ontology.explore.single_class({ full: true }, CGI.unescape(params[:conceptid])) concept_not_found(CGI.unescape(params[:conceptid])) if @concept.nil? - if params[:styled].eql?("true") - render :partial => "details", :layout => "partial" + if params[:styled].eql?('true') + render partial: 'details', layout: 'partial' else - render :partial => "details" + render partial: 'details' end end - def biomixer @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(params[:ontology]).first ontology_not_found(params[:ontology]) if @ontology.nil? - @concept = @ontology.explore.single_class({full: true}, params[:conceptid]) + @concept = @ontology.explore.single_class({ full: true }, params[:conceptid]) concept_not_found(params[:conceptid]) if @concept.nil? @immediate_load = true - render partial: "biomixer", layout: false + render partial: 'biomixer', layout: false end -# PRIVATE ----------------------------------------- -private + # PRIVATE ----------------------------------------- + private def show_ajax_request case params[:callback] when 'load' # Load pulls in all the details of a node gather_details - render :partial => 'load' + render partial: 'load' when 'children' # Children is called only for drawing the tree - @children = @concept.explore.children(pagesize: 750, concept_schemes: @schemes.join(','), language: request_lang, display: 'prefLabel,obsolete,hasChildren').collection || [] - @children.sort! { |x, y| (x.prefLabel || "").downcase <=> (y.prefLabel || "").downcase } unless @children.empty? - render :partial => 'child_nodes' + @children = @concept.explore.children(pagesize: 750, concept_schemes: @schemes.join(','), language: request_lang, + display: 'prefLabel,obsolete,hasChildren').collection || [] + @children.sort! { |x, y| (x.prefLabel || '').downcase <=> (y.prefLabel || '').downcase } unless @children.empty? + render partial: 'child_nodes' end end @@ -203,18 +208,18 @@ def show_uri_request def gather_details @notes = @concept.explore.notes - update_tab(@ontology, @concept.id) #updates the 'history' tab with the current node + update_tab(@ontology, @concept.id) # updates the 'history' tab with the current node end def build_tree # find path to root - rootNode = @concept.explore.tree(include: "prefLabel,hasChildren,obsolete,subClassOf") + rootNode = @concept.explore.tree(include: 'prefLabel,hasChildren,obsolete,subClassOf') @root = LinkedData::Client::Models::Class.new(read_only: true) @root.children = rootNode unless rootNode.nil? end def filter_concept_with_no_date(concepts) - concepts.filter { |c| !concept_date(c).nil?} + concepts.filter { |c| !concept_date(c).nil? } end def concepts_to_years_months(concepts) diff --git a/app/controllers/concerns/mapping_statistics.rb b/app/controllers/concerns/mapping_statistics.rb index 6d70552e2a..9c272bfa47 100644 --- a/app/controllers/concerns/mapping_statistics.rb +++ b/app/controllers/concerns/mapping_statistics.rb @@ -3,15 +3,14 @@ module MappingStatistics extend ActiveSupport::Concern - MAPPINGS_URL = "#{LinkedData::Client.settings.rest_url}/mappings" MAPPING_STATISTICS_URL = "#{LinkedData::Client.settings.rest_url}/mappings/statistics/ontologies/" MAPPING_STATISTICS_EXTERNAL = "#{LinkedData::Client.settings.rest_url}/mappings/statistics/external" MAPPING_STATISTICS_INTERNAL = "#{LinkedData::Client.settings.rest_url}/mappings/statistics/interportal/" - EXTERNAL_MAPPINGS_GRAPH = "http://data.bioontology.org/metadata/ExternalMappings" - INTERPORTAL_MAPPINGS_GRAPH = "http://data.bioontology.org/metadata/InterportalMappings" + EXTERNAL_MAPPINGS_GRAPH = 'http://data.bioontology.org/metadata/ExternalMappings' + INTERPORTAL_MAPPINGS_GRAPH = 'http://data.bioontology.org/metadata/InterportalMappings' def mapping_counts(source_acronym) mapping_counts = [] @@ -25,17 +24,16 @@ def mapping_counts(source_acronym) statistics = get_statistics source_acronym statistics&.each_pair do |target_acronym, count| if target_acronym.to_s == EXTERNAL_MAPPINGS_GRAPH - ont = OpenStruct.new({:id => target_acronym.to_s, :name => "External Mappings"}) + ont = OpenStruct.new({ id: target_acronym.to_s, name: 'External Mappings' }) elsif target_acronym.to_s.start_with?(INTERPORTAL_MAPPINGS_GRAPH) - ont =OpenStruct.new( {:id => target_acronym.to_s, :name => "#{target_acronym.to_s.split("/")[-1].upcase} Interportal"}) + ont = OpenStruct.new({ id: target_acronym.to_s, + name: "#{target_acronym.to_s.split('/')[-1].upcase} Interportal" }) else ont = ontologies.find { |o| o.acronym.eql? target_acronym.to_s } # Handle the case where statistics are still present for a deleted ontology next if ont.nil? || ont.summaryOnly end - - mapping_counts << { target_ontology: ont, count: count } end @@ -43,18 +41,15 @@ def mapping_counts(source_acronym) end private + def get_statistics(source_acronym) - ontology_label = source_acronym.split(":") - if ontology_label[-1] == "external" - counts = LinkedData::Client::HTTP.get(MAPPING_STATISTICS_EXTERNAL) - elsif ontology_label[0] == "interportal" - counts = LinkedData::Client::HTTP.get("#{MAPPING_STATISTICS_INTERNAL}#{ontology_label[-1]}") + ontology_label = source_acronym.split(':') + if ontology_label[-1] == 'external' + LinkedData::Client::HTTP.get(MAPPING_STATISTICS_EXTERNAL) + elsif ontology_label[0] == 'interportal' + LinkedData::Client::HTTP.get("#{MAPPING_STATISTICS_INTERNAL}#{ontology_label[-1]}") else - counts = LinkedData::Client::HTTP.get("#{MAPPING_STATISTICS_URL}#{source_acronym}") + LinkedData::Client::HTTP.get("#{MAPPING_STATISTICS_URL}#{source_acronym}") end - counts end - - - end diff --git a/app/controllers/concerns/ontology_updater.rb b/app/controllers/concerns/ontology_updater.rb index a5faefefef..1876577181 100644 --- a/app/controllers/concerns/ontology_updater.rb +++ b/app/controllers/concerns/ontology_updater.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OntologyUpdater extend ActiveSupport::Concern include SubmissionUpdater @@ -22,17 +24,18 @@ def ontology_params p = params.require(:ontology).permit(:name, :acronym, { administeredBy: [] }, :viewingRestriction, { acl: [] }, { hasDomain: [] }, :viewOf, :isView, :subscribe_notifications, { group: [] }) - p[:administeredBy].reject!(&:blank?) if p[:administeredBy] + p[:administeredBy]&.reject!(&:blank?) # p[:acl].reject!(&:blank?) - p[:hasDomain].reject!(&:blank?) if p[:hasDomain] - p[:group].reject!(&:blank?) if p[:group] + p[:hasDomain]&.reject!(&:blank?) + p[:group]&.reject!(&:blank?) p[:viewOf] = '' if p.key?(:viewOf) && !p.key?(:isView) p.to_h end def show_new_errors(object, redirection = 'ontologies/new') - # TODO optimize - @ontologies = LinkedData::Client::Models::Ontology.all(include: 'acronym', include_views: true, display_links: false, display_context: false) + # TODO: optimize + @ontologies = LinkedData::Client::Models::Ontology.all(include: 'acronym', include_views: true, + display_links: false, display_context: false) @categories = LinkedData::Client::Models::Category.all @groups = LinkedData::Client::Models::Group.all(display_links: false, display_context: false) @user_select_list = LinkedData::Client::Models::User.all.map { |u| [u.username, u.id] } @@ -61,7 +64,7 @@ def new_submission_hash(ontology) submission_params = submission_params(params[:submission]) if @submission - submission_params = submission_params(ActionController::Parameters.new(@submission.to_hash.delete_if do |k, v| + submission_params = submission_params(ActionController::Parameters.new(@submission.to_hash.delete_if do |_k, v| v.nil? || v.respond_to?(:empty?) && v.empty? end.merge(submission_params))) end @@ -78,6 +81,7 @@ def update_submission_hash(acronym) end private + def reset_agent_attributes helpers.agent_attributes.each do |attr| current_val = @submission[attr] diff --git a/app/controllers/concerns/submission_filter.rb b/app/controllers/concerns/submission_filter.rb index 19094449b4..d0d1de7b5c 100644 --- a/app/controllers/concerns/submission_filter.rb +++ b/app/controllers/concerns/submission_filter.rb @@ -1,9 +1,11 @@ +# frozen_string_literal: true + module SubmissionFilter extend ActiveSupport::Concern - BROWSE_ATTRIBUTES = ['ontology', 'submissionStatus', 'description', 'pullLocation', 'creationDate', - 'contact', 'released', 'naturalLanguage', 'hasOntologyLanguage', - 'hasFormalityLevel', 'isOfType', 'deprecated', 'status', 'metrics'] + BROWSE_ATTRIBUTES = %w[ontology submissionStatus description pullLocation creationDate + contact released naturalLanguage hasOntologyLanguage + hasFormalityLevel isOfType deprecated status metrics].freeze def init_filters(params) @show_views = params[:show_views]&.eql?('true') @@ -79,7 +81,6 @@ def filters_params(params, includes: BROWSE_ATTRIBUTES.join(','), page: 1, pages @filters[:show_retired] = 'true' end - filters_values_map.each do |filter, api_key| next if params[filter].nil? || params[filter].empty? @@ -145,7 +146,7 @@ def add_submission_attributes(ont_hash, sub) end def add_ontology_attributes(ont_hash, ont) - return if ont.nil? + return if ont.nil? ont_hash[:id] = ont.id ont_hash[:type] = ont.viewOf.nil? ? 'ontology' : 'ontology_view' @@ -173,12 +174,16 @@ def add_fair_score_metrics(ont_hash, ont) end def ontology_filters_init(categories, groups) - @languages = submission_metadata.select { |x| x['@id']['naturalLanguage'] }.first['enforcedValues'].map do |id, name| + @languages = submission_metadata.select do |x| + x['@id']['naturalLanguage'] + end.first['enforcedValues'].map do |id, name| { 'id' => id, 'name' => name, 'value' => id.split('/').last, 'acronym' => name } end - @formalityLevel = submission_metadata.select { |x| x['@id']['hasFormalityLevel'] }.first['enforcedValues'].map do |id, name| - { 'id' => id, 'name' => name, 'acronym' => name.camelize(:lower), 'value' => name.delete(' ')} + @formalityLevel = submission_metadata.select do |x| + x['@id']['hasFormalityLevel'] + end.first['enforcedValues'].map do |id, name| + { 'id' => id, 'name' => name, 'acronym' => name.camelize(:lower), 'value' => name.delete(' ') } end @isOfType = submission_metadata.select { |x| x['@id']['isOfType'] }.first['enforcedValues'].map do |id, name| @@ -193,7 +198,7 @@ def ontology_filters_init(categories, groups) ['Sort by upload date', 'creationDate'], ['Sort by release date', 'released'], ['Sort by FAIR score', 'fair'], - ['Sort by popularity', 'visits'], + ['Sort by popularity', 'visits'] ] init_filters(params) @@ -213,13 +218,15 @@ def ontology_filters_init(categories, groups) groups: object_filter(groups, :groups), naturalLanguage: object_filter(@languages, :naturalLanguage), hasFormalityLevel: object_filter(@formalityLevel, :hasFormalityLevel), - isOfType: object_filter(@isOfType, :isOfType), - #missingStatus: object_filter(@missingStatus, :missingStatus) + isOfType: object_filter(@isOfType, :isOfType) + # missingStatus: object_filter(@missingStatus, :missingStatus) } end def check_id(name_value, objects, name_key) - selected_category = objects.select { |x| x[name_key].parameterize.underscore.eql?(name_value.parameterize.underscore) } + selected_category = objects.select do |x| + x[name_key].parameterize.underscore.eql?(name_value.parameterize.underscore) + end selected_category.first && selected_category.first['id'] end @@ -243,7 +250,6 @@ def count_objects(ontologies) @filters = ontology_filters_init(@categories, @groups) object_names = @filters.keys - @filters.each do |filter, values| objects = values.first objects_count[filter] = objects.map { |v| [v['id'], 0] }.to_h @@ -260,5 +266,4 @@ def count_objects(ontologies) end objects_count end - end diff --git a/app/controllers/concerns/submission_updater.rb b/app/controllers/concerns/submission_updater.rb index b98a2fb441..2fd29aecbb 100644 --- a/app/controllers/concerns/submission_updater.rb +++ b/app/controllers/concerns/submission_updater.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module SubmissionUpdater extend ActiveSupport::Concern @@ -5,6 +7,7 @@ def submission_from_params(new_submission_hash) convert_values_to_types(new_submission_hash) LinkedData::Client::Models::OntologySubmission.new(values: submission_params(new_submission_hash)) end + def save_submission(new_submission_hash) @submission = submission_from_params(new_submission_hash) @@ -13,7 +16,6 @@ def save_submission(new_submission_hash) end def update_submission(new_submission_hash, submission_id) - convert_values_to_types(new_submission_hash) @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(new_submission_hash[:ontology]).first @@ -31,11 +33,12 @@ def update_submission(new_submission_hash, submission_id) [@submission, @submission.update(values: new_values, cache_refresh_all: false)] end - def add_ontologies_to_object(ontologies,object) + def add_ontologies_to_object(ontologies, object) ontologies.each do |ont| next if object.ontologies.include?(ont) + ontology = LinkedData::Client::Models::Ontology.find(ont) - if object.type.match(/\/([^\/]+)$/)[1] == 'Group' + if object.type.match(%r{/([^/]+)$})[1] == 'Group' ontology.group.push(object.id) else ontology.hasDomain.push(object.id) @@ -44,12 +47,12 @@ def add_ontologies_to_object(ontologies,object) end end - def delete_ontologies_from_object(new_ontologies,old_ontologies,object) + def delete_ontologies_from_object(new_ontologies, old_ontologies, object) new_ontologies = [] if new_ontologies.nil? ontologies = old_ontologies - new_ontologies ontologies.each do |ont| ontology = LinkedData::Client::Models::Ontology.find(ont) - if object.type.match(/\/([^\/]+)$/)[1] == 'Group' + if object.type.match(%r{/([^/]+)$})[1] == 'Group' ontology.group.delete(object.id) else ontology.hasDomain.delete(object.id) @@ -67,30 +70,29 @@ def update_ontology_summary_only(is_remote = @submission.isRemote) def convert_values_to_types(new_submission_hash) unless new_submission_hash[:contact].nil? - new_submission_hash[:contact] = new_submission_hash[:contact].values unless new_submission_hash[:contact].is_a?(Array) + unless new_submission_hash[:contact].is_a?(Array) + new_submission_hash[:contact] = + new_submission_hash[:contact].values + end new_submission_hash[:contact].delete_if { |c| c[:name].empty? || c[:email].empty? } end # Convert metadata that needs to be integer to int submission_metadata.map do |hash| - if hash["enforce"].include?("integer") - if !new_submission_hash[hash["attribute"]].nil? && !new_submission_hash[hash["attribute"]].eql?("") - new_submission_hash[hash["attribute"].to_s.to_sym] = Integer(new_submission_hash[hash["attribute"].to_s.to_sym]) - end - end - if hash["enforce"].include?("boolean") && !new_submission_hash[hash["attribute"]].nil? - if new_submission_hash[hash["attribute"]].eql?("true") - new_submission_hash[hash["attribute"].to_s.to_sym] = true - elsif new_submission_hash[hash["attribute"]].eql?("false") - new_submission_hash[hash["attribute"].to_s.to_sym] = false - else - new_submission_hash[hash["attribute"].to_s.to_sym] = nil - end + if hash['enforce'].include?('integer') && (!new_submission_hash[hash['attribute']].nil? && !new_submission_hash[hash['attribute']].eql?('')) + new_submission_hash[hash['attribute'].to_s.to_sym] = + Integer(new_submission_hash[hash['attribute'].to_s.to_sym]) end + next unless hash['enforce'].include?('boolean') && !new_submission_hash[hash['attribute']].nil? + + new_submission_hash[hash['attribute'].to_s.to_sym] = if new_submission_hash[hash['attribute']].eql?('true') + true + elsif new_submission_hash[hash['attribute']].eql?('false') + false + end end end - def submission_params(params) attributes = [ :ontology, @@ -108,24 +110,23 @@ def submission_params(params) :isRemote, :pullLocation, :filePath, - { contact: [:name, :email] }, + { contact: %i[name email] }, :homepage, :documentation, :publication ] submission_metadata.each do |m| + m_attr = m['attribute'].to_sym - m_attr = m["attribute"].to_sym - - attributes << if m["enforce"].include?("list") - [{ m_attr => {} }, { m_attr => []}] + attributes << if m['enforce'].include?('list') + [{ m_attr => {} }, { m_attr => [] }] else m_attr end end p = params.permit(attributes.uniq) - p['pullLocation'] = '' if p['isRemote']&.eql?('3') + p['pullLocation'] = '' if p['isRemote'].eql?('3') p = p.to_h.transform_values do |v| if v.is_a? Hash @@ -139,10 +140,14 @@ def submission_params(params) submission_metadata.each do |m| m_attr = m['attribute'].to_sym - if p[m_attr] && m['enforce'].include?('list') - p[m_attr] = Array(p[m_attr]) unless p[m_attr].is_a?(Array) - p[m_attr] = p[m_attr].map { |x| x.is_a?(Hash) ? x.values.reject(&:empty?) : x.reject(&:empty?) }.flatten.uniq if m['enforce'].include?('Agent') - end + next unless p[m_attr] && m['enforce'].include?('list') + + p[m_attr] = Array(p[m_attr]) unless p[m_attr].is_a?(Array) + next unless m['enforce'].include?('Agent') + + p[m_attr] = p[m_attr].map do |x| + x.is_a?(Hash) ? x.values.reject(&:empty?) : x.reject(&:empty?) + end.flatten.uniq end p diff --git a/app/controllers/errors_controller.rb b/app/controllers/errors_controller.rb index b5ffb1eecc..f3263f33ad 100644 --- a/app/controllers/errors_controller.rb +++ b/app/controllers/errors_controller.rb @@ -1,5 +1,6 @@ -class ErrorsController < ApplicationController +# frozen_string_literal: true +class ErrorsController < ApplicationController layout :determine_layout def not_found @@ -9,5 +10,4 @@ def not_found def internal_server_error render status: 500 end - end diff --git a/app/controllers/fair_score_controller.rb b/app/controllers/fair_score_controller.rb index 9564a5875e..36d2dc8dff 100644 --- a/app/controllers/fair_score_controller.rb +++ b/app/controllers/fair_score_controller.rb @@ -1,5 +1,6 @@ -class FairScoreController < ApplicationController +# frozen_string_literal: true +class FairScoreController < ApplicationController helper FairScoreHelper include FairScoreHelper def details_html @@ -31,4 +32,4 @@ def get_fair raise StandardError, 'Error: load failed' end end -end \ No newline at end of file +end diff --git a/app/controllers/history_controller.rb b/app/controllers/history_controller.rb index 687839df59..f47304b0f4 100644 --- a/app/controllers/history_controller.rb +++ b/app/controllers/history_controller.rb @@ -1,15 +1,16 @@ +# frozen_string_literal: true + class HistoryController < ApplicationController - - def remove # removes a 'history' tab - remove_tab(undo_param(params[:ontology])) - render :text =>"success" + # removes a 'history' tab + def remove + remove_tab(undo_param(params[:ontology])) + render text: 'success' end - - def update # updates the 'history' tab to point to the new node + + # updates the 'history' tab to point to the new node + def update ontology = DataAccess.getOntology(params[:ontology]) - update_tab(ontology,params[:concept]) - render :text =>"success" + update_tab(ontology, params[:concept]) + render text: 'success' end - - end diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index bf1bc3316a..2d957ab616 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -3,11 +3,10 @@ class HomeController < ApplicationController layout :determine_layout - include FairScoreHelper def index - @analytics = helpers.ontologies_analytics + @analytics = helpers.ontologies_analytics # Calculate BioPortal summary statistics @ont_count = @analytics.keys.size metrics = LinkedData::Client::Models::Metrics.all @@ -25,18 +24,17 @@ def index @upload_benefits = [ t('home.benefit1'), t('home.benefit2'), - t('home.benefit3'), + t('home.benefit3'), t('home.benefit4'), t('home.benefit5') ] @anal_ont_names = [] @anal_ont_numbers = [] - @analytics.sort_by{|ont, count| -count}[0..4].each do |ont, count| + @analytics.sort_by { |_ont, count| -count }[0..4].each do |ont, count| @anal_ont_names << ont @anal_ont_numbers << count end - end def render_layout_partial @@ -64,34 +62,22 @@ def feedback end @tags = [] - unless params[:bug].nil? || params[:bug].empty? - @tags << "Bug" - end - unless params[:proposition].nil? || params[:proposition].empty? - @tags << "Proposition" - end - unless params[:question].nil? || params[:question].empty? - @tags << "Question" - end + @tags << 'Bug' unless params[:bug].nil? || params[:bug].empty? + @tags << 'Proposition' unless params[:proposition].nil? || params[:proposition].empty? + @tags << 'Question' unless params[:question].nil? || params[:question].empty? unless params[:ontology_submissions_request].nil? || params[:ontology_submissions_request].empty? - @tags << "Ontology submissions request" + @tags << 'Ontology submissions request' end @errors = [] - if params[:name].nil? || params[:name].empty? - @errors << 'Please include your name' - end - if params[:email].nil? || params[:email].length < 1 || !params[:email].match(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i) + @errors << 'Please include your name' if params[:name].nil? || params[:name].empty? + if params[:email].nil? || params[:email].empty? || !params[:email].match(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i) @errors << 'Please include your email' end - if params[:comment].nil? || params[:comment].empty? - @errors << 'Please include your comment' - end - if using_captcha? && !session[:user] - unless verify_recaptcha - @errors << 'Please fill in the proper text from the supplied image' - end + @errors << 'Please include your comment' if params[:comment].nil? || params[:comment].empty? + if using_captcha? && !session[:user] && !verify_recaptcha + @errors << 'Please fill in the proper text from the supplied image' end unless @errors.empty? @@ -129,7 +115,7 @@ def account @user_ontologies = @user.customOntology @user_ontologies ||= [] - onts = LinkedData::Client::Models::Ontology.all(include_views: true); + onts = LinkedData::Client::Models::Ontology.all(include_views: true) @admin_ontologies = onts.select { |o| o.administeredBy.include? @user.id } projects = LinkedData::Client::Models::Project.all @@ -148,9 +134,9 @@ def validate_ontology_file end def annotator_recommender_form - if params[:submit_button] == "annotator" + if params[:submit_button] == 'annotator' redirect_to "/annotator?text=#{params[:text]}" - elsif params[:submit_button] == "recommender" + elsif params[:submit_button] == 'recommender' redirect_to "/recommender?text=#{params[:text]}" end end diff --git a/app/controllers/instances_controller.rb b/app/controllers/instances_controller.rb index 5d346ef3b0..f7ba67a44b 100644 --- a/app/controllers/instances_controller.rb +++ b/app/controllers/instances_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class InstancesController < ApplicationController include InstancesHelper def index_by_ontology @@ -12,7 +14,7 @@ def index_by_class end def show - @instance = get_instance_details_json(params[:ontology_id], params[:instance_id], {include: 'all'}) + @instance = get_instance_details_json(params[:ontology_id], params[:instance_id], { include: 'all' }) render partial: 'instances/instance_details' end @@ -22,9 +24,10 @@ def get_ontology(params) @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(params[:ontology]).first ontology_not_found(params[:ontology]) if @ontology.nil? end + # json render + adding next and prev pages links def custom_render(instances) - instances[:collection].map! { |i| add_labels_to_print(i, @ontology.acronym)} + instances[:collection].map! { |i| add_labels_to_print(i, @ontology.acronym) } if (instances.respond_to? :links) && (!instances.respond_to? :errors) instances.links = { nextPage: get_page_link(instances.nextPage), @@ -38,16 +41,16 @@ def custom_render(instances) def get_page_link(page_number) return nil if page_number.nil? - if request.query_parameters.has_key?(:page) + if request.query_parameters.key?(:page) request.original_url.gsub(/page=\d+/, "page=#{page_number}") elsif request.query_parameters.empty? - request.original_url + "?" + "page=#{page_number}" + "#{request.original_url}?page=#{page_number}" else - request.original_url + "&" + "page=#{page_number}" + "#{request.original_url}&page=#{page_number}" end end def get_query_parameters - request.query_parameters.slice(:include, :display, :page, :pagesize, :search , :sortby , :order) || {} + request.query_parameters.slice(:include, :display, :page, :pagesize, :search, :sortby, :order) || {} end -end \ No newline at end of file +end diff --git a/app/controllers/label_xl_controller.rb b/app/controllers/label_xl_controller.rb index d38fd870c6..c12821c8a4 100644 --- a/app/controllers/label_xl_controller.rb +++ b/app/controllers/label_xl_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class LabelXlController < ApplicationController include LabelXlHelper @@ -16,8 +18,8 @@ def show_label private def get_request_label_xl - params[:id] = params[:id] ? params[:id] : params[:label_xl_id] - params[:ontology_id] = params[:ontology_id] ? params[:ontology_id] : params[:ontology] + params[:id] = params[:id] || params[:label_xl_id] + params[:ontology_id] = params[:ontology_id] || params[:ontology] if params[:id].nil? || params[:id].empty? render text: 'Error: You must provide a valid label_xl id' return @@ -26,5 +28,4 @@ def get_request_label_xl @ontology_acronym = @ontology.acronym get_label_xl(@ontology, params[:id]) end - end diff --git a/app/controllers/landscape_controller.rb b/app/controllers/landscape_controller.rb index c3f81dc9a8..89791b7de1 100644 --- a/app/controllers/landscape_controller.rb +++ b/app/controllers/landscape_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'action_view' include ActionView::Helpers::NumberHelper @@ -7,21 +9,22 @@ class LandscapeController < ApplicationController include FairScoreHelper def index - #@ontologies = LinkedData::Client::Models::Ontology.all(include_views: false) - #@submissions = LinkedData::Client::Models::OntologySubmission.all(values: params[:submission]) + # @ontologies = LinkedData::Client::Models::Ontology.all(include_views: false) + # @submissions = LinkedData::Client::Models::OntologySubmission.all(values: params[:submission]) # Array with color codes for the pie charts. iterate color_index to change color - pie_colors_array = ["#2484c1", "#0c6197", "#4daa4b", "#90c469", "#daca61", "#e4a14b", "#e98125", "#cb2121", "#830909", "#923e99", "#ae83d5", "#bf273e", "#ce2aeb", "#bca44a", "#618d1b", "#1ee67b", "#b0ec44", "#a4a0c9", "#322849", "#86f71a", "#d1c87f", "#7d9058", "#44b9b0", "#7c37c0", "#cc9fb1", "#e65414", "#8b6834", "#248838"]; + pie_colors_array = ['#2484c1', '#0c6197', '#4daa4b', '#90c469', '#daca61', '#e4a14b', '#e98125', '#cb2121', + '#830909', '#923e99', '#ae83d5', '#bf273e', '#ce2aeb', '#bca44a', '#618d1b', '#1ee67b', '#b0ec44', '#a4a0c9', '#322849', '#86f71a', '#d1c87f', '#7d9058', '#44b9b0', '#7c37c0', '#cc9fb1', '#e65414', '#8b6834', '#248838'] groups_count_hash = {} domains_count_hash = {} # A hash for counting ontologies in size ranges size_slices_hash = {} - size_slices_hash["< 100"] = 0 - size_slices_hash["< #{number_with_delimiter(1000, delimiter: " ")}"] = 0 - size_slices_hash["< #{number_with_delimiter(10000, delimiter: " ")}"] = 0 - size_slices_hash["< #{number_with_delimiter(100000, delimiter: " ")}"] = 0 - size_slices_hash["100k+"] = 0 + size_slices_hash['< 100'] = 0 + size_slices_hash["< #{number_with_delimiter(1000, delimiter: ' ')}"] = 0 + size_slices_hash["< #{number_with_delimiter(10_000, delimiter: ' ')}"] = 0 + size_slices_hash["< #{number_with_delimiter(100_000, delimiter: ' ')}"] = 0 + size_slices_hash['100k+'] = 0 natural_language_hash = {} licenseProperty_hash = {} @@ -41,259 +44,255 @@ def index ontology_relations_array = [] - ontologyFormatsCount = {"OWL" => 0, "SKOS" => 0, "UMLS" => 0, "OBO" => 0} + ontologyFormatsCount = { 'OWL' => 0, 'SKOS' => 0, 'UMLS' => 0, 'OBO' => 0 } - @metrics_average = [{attr: "numberOfClasses", label: "Number of classes", array: []}, - {attr: "numberOfIndividuals", label: "Number of individuals", array: []}, - {attr: "numberOfProperties", label: "Number of properties", array: []}, - {attr: "maxDepth", label: "Max depth", array: []}, - {attr: "maxChildCount", label: "Max child count", array: []}, - {attr: "averageChildCount", label: "Average child count", array: []}, - {attr: "classesWithOneChild", label: "Classes with one child", array: []}, - {attr: "classesWithMoreThan25Children", label: "Classes with more than 25 children", array: []}, - {attr: "classesWithNoDefinition", label: "Classes with no definition ", array: []}, - {attr: "numberOfAxioms", label: "Number of axioms (triples)", array: []}] + @metrics_average = [{ attr: 'numberOfClasses', label: 'Number of classes', array: [] }, + { attr: 'numberOfIndividuals', label: 'Number of individuals', array: [] }, + { attr: 'numberOfProperties', label: 'Number of properties', array: [] }, + { attr: 'maxDepth', label: 'Max depth', array: [] }, + { attr: 'maxChildCount', label: 'Max child count', array: [] }, + { attr: 'averageChildCount', label: 'Average child count', array: [] }, + { attr: 'classesWithOneChild', label: 'Classes with one child', array: [] }, + { attr: 'classesWithMoreThan25Children', label: 'Classes with more than 25 children', + array: [] }, + { attr: 'classesWithNoDefinition', label: "Classes with no definition\t", array: [] }, + { attr: 'numberOfAxioms', label: 'Number of axioms (triples)', array: [] }] # Attributes to include. To avoid to get everything and make it faster # They are also used to get the value of each property later in the controller # TODO: define here the attributes you want to retrieve to create visualization - sub_attributes = [:submissionId, :ontology, :group, :hasDomain, :hasOntologyLanguage, :naturalLanguage, :hasLicense, - :hasFormalityLevel, :isOfType, :contact, :name, :email, :usedOntologyEngineeringTool] + sub_attributes = %i[submissionId ontology group hasDomain hasOntologyLanguage naturalLanguage hasLicense + hasFormalityLevel isOfType contact name email usedOntologyEngineeringTool] - pref_properties_attributes = [:prefLabelProperty, :synonymProperty, :definitionProperty, :authorProperty] + pref_properties_attributes = %i[prefLabelProperty synonymProperty definitionProperty authorProperty] # Be careful, if you add attributes to those lists you will need to add them when generating the JSON for the tag clouds # org_count_json_cloud and people_count_json_cloud - contributors_attr_list = [:hasContributor, :hasCreator, :curatedBy] - org_attr_list = [:fundedBy, :endorsedBy, :publisher] + contributors_attr_list = %i[hasContributor hasCreator curatedBy] + org_attr_list = %i[fundedBy endorsedBy publisher] - @relations_array = ["omv:useImports", "door:isAlignedTo", "door:ontologyRelatedTo", "omv:isBackwardCompatibleWith", "omv:isIncompatibleWith", "door:comesFromTheSameDomain", "door:similarTo", - "door:explanationEvolution", "voaf:generalizes", "door:hasDisparateModelling", "dct:hasPart", "voaf:usedBy", "schema:workTranslation", "schema:translationOfWork"] + @relations_array = ['omv:useImports', 'door:isAlignedTo', 'door:ontologyRelatedTo', 'omv:isBackwardCompatibleWith', 'omv:isIncompatibleWith', 'door:comesFromTheSameDomain', 'door:similarTo', + 'door:explanationEvolution', 'voaf:generalizes', 'door:hasDisparateModelling', 'dct:hasPart', 'voaf:usedBy', 'schema:workTranslation', 'schema:translationOfWork'] # "omv:hasPriorVersion" has been removed from this list to generate # We need prefixes to display them, we remove them to call them in the include - relations_attributes = @relations_array.map {|r| r.to_s.split(":")[1]} - metrics_attributes = @metrics_average.map {|m| m[:attr]} + relations_attributes = @relations_array.map { |r| r.to_s.split(':')[1] } + metrics_attributes = @metrics_average.map { |m| m[:attr] } # Concat all attributes array and generate a string separated with comma for include param all_attributes = sub_attributes.concat(contributors_attr_list).concat(org_attr_list) - .concat(relations_attributes).concat(metrics_attributes).concat(pref_properties_attributes).join(",") - + .concat(relations_attributes).concat(metrics_attributes).concat(pref_properties_attributes).join(',') # Special treatment for includedInDataCatalog: arrays with a lot of different values, so it trigger the SPARQL default # when we retrieve multiple attr with multiple values in the array, and make the request slower - data_catalog_submissions = LinkedData::Client::Models::OntologySubmission.all(include_status: "any", include_views: true, display_links: false, display_context: false, include: "includedInDataCatalog") + data_catalog_submissions = LinkedData::Client::Models::OntologySubmission.all(include_status: 'any', + include_views: true, display_links: false, display_context: false, include: 'includedInDataCatalog') dataCatalog_count_hash = {} # Add our Portal to the dataCatalog list dataCatalog_count_hash[$ORG_SITE] = data_catalog_submissions.length # Set all data_catalog count to 0 - $DATA_CATALOG_VALUES.map {|uri,name| dataCatalog_count_hash[name] = 0} + $DATA_CATALOG_VALUES.map { |_uri, name| dataCatalog_count_hash[name] = 0 } data_catalog_submissions.each do |catalog_sub| catalog_sub.includedInDataCatalog.each do |data_catalog| $DATA_CATALOG_VALUES.each do |uri, name| - if data_catalog[uri] - dataCatalog_count_hash[name] += 1 - end + dataCatalog_count_hash[name] += 1 if data_catalog[uri] end end end # Get all latest submissions with the needed attributes (this request can be slow) - @submissions = LinkedData::Client::Models::OntologySubmission.all(include_status: "any", include_views: true, display_links: false, display_context: false, include: all_attributes) + @submissions = LinkedData::Client::Models::OntologySubmission.all(include_status: 'any', include_views: true, + display_links: false, display_context: false, include: all_attributes) # Iterate ontologies to get the submissions with all metadata @submissions.each do |sub| ont = sub.ontology - if !sub.nil? - # Get hash of natural language use - if !sub.naturalLanguage.nil? && !sub.naturalLanguage.empty? - sub.naturalLanguage.each do |sub_lang| - # replace lexvo URI by lexvo prefix - prefixed_sub_lang = sub_lang - if sub_lang.start_with?("http://lexvo.org/id/iso639-3/") - prefixed_sub_lang = sub_lang.sub("http://lexvo.org/id/iso639-3/", "lexvo:") - end - # If lang already in hash then we increment the count of the lang in the hash - if natural_language_hash.has_key?(prefixed_sub_lang.to_s) - natural_language_hash[prefixed_sub_lang.to_s]["count"] = natural_language_hash[prefixed_sub_lang.to_s]["count"] + 1 - else - natural_language_hash[prefixed_sub_lang.to_s] = {} - natural_language_hash[prefixed_sub_lang.to_s]["count"] = 1 - natural_language_hash[prefixed_sub_lang.to_s]["uri"] = sub_lang - end + next if sub.nil? + + # Get hash of natural language use + if !sub.naturalLanguage.nil? && !sub.naturalLanguage.empty? + sub.naturalLanguage.each do |sub_lang| + next unless sub_lang.is_a?(String) + + # replace lexvo URI by lexvo prefix + prefixed_sub_lang = sub_lang + if sub_lang.start_with?('http://lexvo.org/id/iso639-3/') + prefixed_sub_lang = sub_lang.sub('http://lexvo.org/id/iso639-3/', 'lexvo:') + end + # If lang already in hash then we increment the count of the lang in the hash + if natural_language_hash.key?(prefixed_sub_lang.to_s) + natural_language_hash[prefixed_sub_lang.to_s]['count'] = + natural_language_hash[prefixed_sub_lang.to_s]['count'] + 1 + else + natural_language_hash[prefixed_sub_lang.to_s] = {} + natural_language_hash[prefixed_sub_lang.to_s]['count'] = 1 + natural_language_hash[prefixed_sub_lang.to_s]['uri'] = sub_lang end end + end - licenseProperty_hash = get_used_properties(sub.hasLicense, nil, licenseProperty_hash) + licenseProperty_hash = get_used_properties(sub.hasLicense, nil, licenseProperty_hash) - formalityProperty_hash = get_used_properties(sub.hasFormalityLevel, nil, formalityProperty_hash) + formalityProperty_hash = get_used_properties(sub.hasFormalityLevel, nil, formalityProperty_hash) - isOfTypeProperty_hash = get_used_properties(sub.isOfType, nil, isOfTypeProperty_hash) + isOfTypeProperty_hash = get_used_properties(sub.isOfType, nil, isOfTypeProperty_hash) - # Get the prefLabelProperty used for OWL properties in a hash - if sub.hasOntologyLanguage.eql?("OWL") - prefLabelProperty_hash = get_used_properties(sub.prefLabelProperty, "http://www.w3.org/2004/02/skos/core#prefLabel", prefLabelProperty_hash) + # Get the prefLabelProperty used for OWL properties in a hash + if sub.hasOntologyLanguage.eql?('OWL') + prefLabelProperty_hash = get_used_properties(sub.prefLabelProperty, + 'http://www.w3.org/2004/02/skos/core#prefLabel', prefLabelProperty_hash) - synonymProperty_hash = get_used_properties(sub.synonymProperty, "http://www.w3.org/2004/02/skos/core#altLabel", synonymProperty_hash) + synonymProperty_hash = get_used_properties(sub.synonymProperty, + 'http://www.w3.org/2004/02/skos/core#altLabel', synonymProperty_hash) - definitionProperty_hash = get_used_properties(sub.definitionProperty, "http://www.w3.org/2004/02/skos/core#definition", definitionProperty_hash) + definitionProperty_hash = get_used_properties(sub.definitionProperty, + 'http://www.w3.org/2004/02/skos/core#definition', definitionProperty_hash) - authorProperty_hash = get_used_properties(sub.authorProperty, "http://purl.org/dc/elements/1.1/creator", authorProperty_hash) - end - - get_metrics_for_average(sub) + authorProperty_hash = get_used_properties(sub.authorProperty, 'http://purl.org/dc/elements/1.1/creator', + authorProperty_hash) + end - # Count the number of classes (individuals for skos by ontologies) to get number of ontologies by slice of size - if sub.hasOntologyLanguage.eql?("SKOS") - ontology_size = sub.numberOfIndividuals + get_metrics_for_average(sub) + + # Count the number of classes (individuals for skos by ontologies) to get number of ontologies by slice of size + ontology_size = if sub.hasOntologyLanguage.eql?('SKOS') + sub.numberOfIndividuals + else + sub.numberOfClasses + end + unless ontology_size.nil? + if ontology_size >= 100_000 + size_slices_hash['100k+'] += 1 else - ontology_size = sub.numberOfClasses - end - if (!ontology_size.nil?) - if (ontology_size >= 100000) - size_slices_hash["100k+"] += 1 - else - [100, 1000, 10000, 100000].each do |slice_size| - if (ontology_size < slice_size) - size_slices_hash["< #{number_with_delimiter(slice_size, delimiter: " ")}"] += 1 - break; - end + [100, 1000, 10_000, 100_000].each do |slice_size| + if ontology_size < slice_size + size_slices_hash["< #{number_with_delimiter(slice_size, delimiter: ' ')}"] += 1 + break end end end + end - # Get number of ontologies for each format (for horizontal bar chart) - ontologyFormatsCount[sub.hasOntologyLanguage] += 1 - - # Count number of ontologies for each group (bar chart) - ont.group.each do |group| - group_acro = group.to_s.split("/")[-1] - if groups_count_hash.has_key?(group_acro) - groups_count_hash[group_acro] += 1 - else - groups_count_hash[group_acro] = 1 - end - end + # Get number of ontologies for each format (for horizontal bar chart) + ontologyFormatsCount[sub.hasOntologyLanguage] += 1 - # Count number of ontologies for each domain (bar chart) - ont.hasDomain.each do |domain| - domain_acro = domain.to_s.split("/")[-1] - if domains_count_hash.has_key?(domain_acro) - domains_count_hash[domain_acro] += 1 - else - domains_count_hash[domain_acro] = 1 - end + # Count number of ontologies for each group (bar chart) + ont.group.each do |group| + group_acro = group.to_s.split('/')[-1] + if groups_count_hash.key?(group_acro) + groups_count_hash[group_acro] += 1 + else + groups_count_hash[group_acro] = 1 end + end - # Get the count for usedOntologyEngineeringTool (to create a tag cloud) - if (engineering_tool_count.has_key?(sub.usedOntologyEngineeringTool)) - engineering_tool_count[sub.usedOntologyEngineeringTool] += 1 + # Count number of ontologies for each domain (bar chart) + ont.hasDomain.each do |domain| + domain_acro = domain.to_s.split('/')[-1] + if domains_count_hash.key?(domain_acro) + domains_count_hash[domain_acro] += 1 else - engineering_tool_count[sub.usedOntologyEngineeringTool] = 1 + domains_count_hash[domain_acro] = 1 end + end - # Get people that are mentioned as ontology actors (contact, contributors, creators, curator) to create a tag cloud - # hasContributor hasCreator contact(explore,name) curatedBy - contributors_attr_list.each do |contributor_attr| - contributor_label = sub.send(contributor_attr.to_s).to_s - if !contributor_label.nil? - contributors_split = contributor_label.split(",") - contributors_split.each do |contrib| - if people_count_hash.has_key?(contrib) - people_count_hash[contrib][contributor_attr] += 1 - else - # Create the contributor entry in the Hash and create the attr entries that will be incremented - people_count_hash[contrib] = {} - people_count_hash[contrib][:contact] = 0 - contributors_attr_list.each do |create_contributor_attr| - people_count_hash[contrib][create_contributor_attr] = 0 - end - people_count_hash[contrib][contributor_attr] += 1 - end + # Get the count for usedOntologyEngineeringTool (to create a tag cloud) + if engineering_tool_count.key?(sub.usedOntologyEngineeringTool) + engineering_tool_count[sub.usedOntologyEngineeringTool] += 1 + else + engineering_tool_count[sub.usedOntologyEngineeringTool] = 1 + end + + # Get people that are mentioned as ontology actors (contact, contributors, creators, curator) to create a tag cloud + # hasContributor hasCreator contact(explore,name) curatedBy + contributors_attr_list.each do |contributor_attr| + contributor_label = sub.send(contributor_attr.to_s).to_s + next if contributor_label.nil? + + contributors_split = contributor_label.split(',') + contributors_split.each do |contrib| + unless people_count_hash.key?(contrib) + # Create the contributor entry in the Hash and create the attr entries that will be incremented + people_count_hash[contrib] = {} + people_count_hash[contrib][:contact] = 0 + contributors_attr_list.each do |create_contributor_attr| + people_count_hash[contrib][create_contributor_attr] = 0 end end + people_count_hash[contrib][contributor_attr] += 1 end - sub.contact.each do |contact| - contributor_label = contact.name - if !contributor_label.nil? - if people_count_hash.has_key?(contributor_label) - people_count_hash[contributor_label][:contact] += 1 - else - # Create the contrinutor entry in the Hash and create the attr entries that will be incremented - people_count_hash[contributor_label] = {} - people_count_hash[contributor_label][:contact] = 0 - contributors_attr_list.each do |create_contributor_attr| - people_count_hash[contributor_label][create_contributor_attr] = 0 - end - people_count_hash[contributor_label][:contact] += 1 - end - people_count_emails[contributor_label] = contact.email if !contact.email.nil? + end + sub.contact.each do |contact| + contributor_label = contact.name + next if contributor_label.nil? + + unless people_count_hash.key?(contributor_label) + # Create the contrinutor entry in the Hash and create the attr entries that will be incremented + people_count_hash[contributor_label] = {} + people_count_hash[contributor_label][:contact] = 0 + contributors_attr_list.each do |create_contributor_attr| + people_count_hash[contributor_label][create_contributor_attr] = 0 end end + people_count_hash[contributor_label][:contact] += 1 + people_count_emails[contributor_label] = contact.email unless contact.email.nil? + end - org_attr_list.each do |org_attr| - # If the attribute object is not a list we make it a list of the single object we get - orgs_list = sub.send(org_attr.to_s) - if !orgs_list.kind_of?(Array) - orgs_list = [orgs_list] - end + org_attr_list.each do |org_attr| + # If the attribute object is not a list we make it a list of the single object we get + orgs_list = sub.send(org_attr.to_s) + orgs_list = [orgs_list] unless orgs_list.is_a?(Array) + + orgs_list.each do |orgs_comma_list| + next unless !orgs_comma_list.nil? && + (orgs_comma_split = orgs_comma_list.split(',')) + + orgs_comma_split.each do |org_str| + # TODO: handle badly formatted strings and URI + org_uri = nil + # Check if the organization is actually an URL + if org_str =~ /\A#{URI::DEFAULT_PARSER.make_regexp}\z/ + org_uri = org_str + # Remove http, www and last / from URI + org_str = org_str.sub('http://', '').sub('https://', '').sub('www.', '') + org_str = org_str[0..-2] if org_str.last.eql?('/') + + end - orgs_list.each do |orgs_comma_list| - if !orgs_comma_list.nil? && - orgs_comma_split = orgs_comma_list.split(",") - orgs_comma_split.each do |org_str| - # TODO: handle badly formatted strings and URI - org_uri = nil - # Check if the organization is actually an URL - if org_str =~ /\A#{URI::regexp}\z/ - org_uri = org_str - # Remove http, www and last / from URI - org_str = org_str.sub("http://", "").sub("https://", "").sub("www.", "") - org_str = org_str[0..-2] if org_str.last.eql?("/") - - end - - if org_count_hash.has_key?(org_str) - org_count_hash[org_str][org_attr] += 1 - else - # Create the contrinutor entry in the Hash and create the attr entries that will be incremented - org_count_hash[org_str] = {} - org_attr_list.each do |create_org_attr| - org_count_hash[org_str][create_org_attr] = 0 - end - org_count_hash[org_str][:uri] = org_uri if !org_uri.nil? - org_count_hash[org_str][org_attr] += 1 - end + unless org_count_hash.key?(org_str) + # Create the contrinutor entry in the Hash and create the attr entries that will be incremented + org_count_hash[org_str] = {} + org_attr_list.each do |create_org_attr| + org_count_hash[org_str][create_org_attr] = 0 end + org_count_hash[org_str][:uri] = org_uri unless org_uri.nil? end + org_count_hash[org_str][org_attr] += 1 end end + end - # Get ontology relations between each other (ex: STY isAlignedTo GO) - @relations_array.each do |relation_attr| - relation_values = sub.send(relation_attr.to_s.split(":")[1]) - if !relation_values.nil? && !relation_values.empty? - if !relation_values.kind_of?(Array) - relation_values = [relation_values] - end - relation_values.each do |relation_value| - target_id = relation_value - target_in_portal = false - # if we find our portal URL in the ontology URL, then we just keep the ACRONYM to try to get the ontology. - if relation_value.include?($UI_URL) - relation_value = relation_value.split('/').last - end - # Use acronym to get ontology from the portal - target_ont = LinkedData::Client::Models::Ontology.find_by_acronym(relation_value).first - if target_ont - target_id = target_ont.acronym - target_in_portal = true - end - ontology_relations_array.push({source: ont.acronym, target: target_id, relation: relation_attr.to_s, targetInPortal: target_in_portal}) - end + # Get ontology relations between each other (ex: STY isAlignedTo GO) + @relations_array.each do |relation_attr| + relation_values = sub.send(relation_attr.to_s.split(':')[1]) + next unless !relation_values.nil? && !relation_values.empty? + + relation_values = [relation_values] unless relation_values.is_a?(Array) + relation_values.each do |relation_value| + target_id = relation_value + target_in_portal = false + # if we find our portal URL in the ontology URL, then we just keep the ACRONYM to try to get the ontology. + relation_value = relation_value.split('/').last if relation_value.include?($UI_URL) + # Use acronym to get ontology from the portal + target_ont = LinkedData::Client::Models::Ontology.find_by_acronym(relation_value).first + if target_ont + target_id = target_ont.acronym + target_in_portal = true end + ontology_relations_array.push({ source: ont.acronym, target: target_id, relation: relation_attr.to_s, + targetInPortal: target_in_portal }) end end end @@ -303,7 +302,6 @@ def index metrics[:average] = (metrics[:array].sum / metrics[:array].size.to_f).round(2) end - notes_people_count_hash = {} notes_ontologies_count_hash = {} @@ -311,7 +309,8 @@ def index reviews = LinkedData::Client::Models::Review.all reviews.each do |review| notes_people_count_hash = notes_create_hash_entry(review.creator, :reviews, notes_people_count_hash) - notes_ontologies_count_hash = notes_create_hash_entry(review.ontologyReviewed, :reviews, notes_ontologies_count_hash) + notes_ontologies_count_hash = notes_create_hash_entry(review.ontologyReviewed, :reviews, + notes_ontologies_count_hash) end projects = LinkedData::Client::Models::Project.all @@ -336,47 +335,49 @@ def index notes_ontologies_json_cloud = [] notes_people_json_cloud = [] - notes_people_count_hash.each do |people,hash_counts| + notes_people_count_hash.each do |people, hash_counts| # Random color for each word in the cloud - colour = "%06x" % (rand * 0xffffff) + colour = format('%06x', (rand * 0xffffff)) title_array = [] total_count = 0 - if hash_counts.has_key?(:projects) + if hash_counts.key?(:projects) title_array.push("#{hash_counts[:projects]} projects") total_count += hash_counts[:projects] end - if hash_counts.has_key?(:notes) + if hash_counts.key?(:notes) title_array.push("#{hash_counts[:notes]} notes") total_count += hash_counts[:notes] end - if hash_counts.has_key?(:reviews) + if hash_counts.key?(:reviews) title_array.push("#{hash_counts[:reviews]} reviews") total_count += hash_counts[:reviews] end - if total_count > 0 - notes_people_json_cloud.push({"text"=>people.to_s,"weight"=>total_count, "html" => {style: "color: ##{colour};", title: title_array.join(", ")}, "link" => hash_counts[:uri]}) + if total_count.positive? + notes_people_json_cloud.push({ 'text' => people.to_s, 'weight' => total_count, + 'html' => { style: "color: ##{colour};", title: title_array.join(', ') }, 'link' => hash_counts[:uri] }) end end - notes_ontologies_count_hash.each do |onto,hash_counts| + notes_ontologies_count_hash.each do |onto, hash_counts| # Random color for each word in the cloud - colour = "%06x" % (rand * 0xffffff) + colour = format('%06x', (rand * 0xffffff)) title_array = [] total_count = 0 - if hash_counts.has_key?(:projects) + if hash_counts.key?(:projects) title_array.push("#{hash_counts[:projects]} projects") total_count += hash_counts[:projects] end - if hash_counts.has_key?(:notes) + if hash_counts.key?(:notes) title_array.push("#{hash_counts[:notes]} notes") total_count += hash_counts[:notes] end - if hash_counts.has_key?(:reviews) + if hash_counts.key?(:reviews) title_array.push("#{hash_counts[:reviews]} reviews") total_count += hash_counts[:reviews] end - if total_count > 0 - notes_ontologies_json_cloud.push({"text"=>onto.to_s,"weight"=>total_count, "html" => {style: "color: ##{colour};", title: title_array.join(", ")}, "link" => hash_counts[:uri]}) + if total_count.positive? + notes_ontologies_json_cloud.push({ 'text' => onto.to_s, 'weight' => total_count, + 'html' => { style: "color: ##{colour};", title: title_array.join(', ') }, 'link' => hash_counts[:uri] }) end end @@ -391,157 +392,168 @@ def index # Get the different people and organizations to generate a tag cloud people_count_json_cloud = [] - people_count_hash.each do |people,hash_count| + people_count_hash.each do |people, hash_count| # Random color for each word in the cloud - colour = "%06x" % (rand * 0xffffff) + colour = format('%06x', (rand * 0xffffff)) title_array = [] total_count = 0 - if hash_count[:contact] > 0 + if (hash_count[:contact]).positive? title_array.push("#{hash_count[:contact]} as contact") total_count += hash_count[:contact] end - if hash_count[:hasContributor] > 0 + if (hash_count[:hasContributor]).positive? title_array.push("#{hash_count[:hasContributor]} as contributor") total_count += hash_count[:hasContributor] end - if hash_count[:hasCreator] > 0 + if (hash_count[:hasCreator]).positive? title_array.push("#{hash_count[:hasCreator]} as creator") total_count += hash_count[:hasCreator] end - if hash_count[:curatedBy] > 0 + if (hash_count[:curatedBy]).positive? title_array.push("#{hash_count[:curatedBy]} as curator") total_count += hash_count[:curatedBy] end - title_str = "Contributions: #{title_array.join(", ")}" + title_str = "Contributions: #{title_array.join(', ')}" if total_count > 1 if people_count_emails[people.to_s].nil? - people_count_json_cloud.push({"text"=>people.to_s,"weight"=>total_count, "html" => {style: "color: ##{colour};", title: title_str}}) + people_count_json_cloud.push({ 'text' => people.to_s, 'weight' => total_count, + 'html' => { style: "color: ##{colour};", title: title_str } }) else - people_count_json_cloud.push({"text"=>people.to_s,"weight"=>total_count, "html" => {style: "color: ##{colour};", title: title_str}, "link" => "mailto:#{people_count_emails[people.to_s]}"}) + people_count_json_cloud.push({ 'text' => people.to_s, 'weight' => total_count, + 'html' => { style: "color: ##{colour};", title: title_str }, 'link' => "mailto:#{people_count_emails[people.to_s]}" }) end end end org_count_json_cloud = [] - org_count_hash.each do |org,hash_count| + org_count_hash.each do |org, hash_count| # Random color for each word in the cloud - colour = "%06x" % (rand * 0xffffff) + colour = format('%06x', (rand * 0xffffff)) title_array = [] total_count = 0 - if hash_count[:publisher] > 0 + if (hash_count[:publisher]).positive? title_array.push("published #{hash_count[:publisher]} ontologies") total_count += hash_count[:publisher] end - if hash_count[:fundedBy] > 0 + if (hash_count[:fundedBy]).positive? title_array.push("funded #{hash_count[:fundedBy]} ontologies") total_count += hash_count[:fundedBy] end - if hash_count[:endorsedBy] > 0 + if (hash_count[:endorsedBy]).positive? title_array.push("endorsed #{hash_count[:endorsedBy]} ontologies") total_count += hash_count[:endorsedBy] end - title_str = "Contributions: #{title_array.join(", ")}" + title_str = "Contributions: #{title_array.join(', ')}" if total_count > 1 - if hash_count.has_key?(:uri) - org_count_json_cloud.push({"text"=>org.to_s,"weight"=>total_count, "html" => {style: "color: ##{colour};", title: title_str}, "link" => "#{hash_count[:uri]}"}) + if hash_count.key?(:uri) + org_count_json_cloud.push({ 'text' => org.to_s, 'weight' => total_count, + 'html' => { style: "color: ##{colour};", title: title_str }, 'link' => (hash_count[:uri]).to_s }) else - org_count_json_cloud.push({"text"=>org.to_s,"weight"=>total_count, "html" => {style: "color: ##{colour};", title: title_str}}) + org_count_json_cloud.push({ 'text' => org.to_s, 'weight' => total_count, + 'html' => { style: "color: ##{colour};", title: title_str } }) end end end engineering_tool_cloud_json = [] - engineering_tool_count.each do |tool,count| + engineering_tool_count.each do |tool, count| # Random color for each word in the cloud - colour = "%06x" % (rand * 0xffffff) - engineering_tool_cloud_json.push({"text"=>tool.to_s,"weight"=>count, "html" => {style: "color: ##{colour};", title: "Used to build #{count.to_s} ontologies."}}) + colour = format('%06x', (rand * 0xffffff)) + engineering_tool_cloud_json.push({ 'text' => tool.to_s, 'weight' => count, + 'html' => { style: "color: ##{colour};", title: "Used to build #{count} ontologies." } }) end # Push the results in hash formatted for the Javascript lib that will be displaying it color_index = 0 - natural_language_hash.each do |lang,count_hash| - natural_language_json_pie.push({"label"=>lang.to_s,"value"=>count_hash["count"], "color"=>pie_colors_array[color_index], "uri"=>count_hash["uri"]}) + natural_language_hash.each do |lang, count_hash| + natural_language_json_pie.push({ 'label' => lang.to_s, 'value' => count_hash['count'], + 'color' => pie_colors_array[color_index], 'uri' => count_hash['uri'] }) color_index += 1 end color_index = 0 - licenseProperty_hash.each do |license,count_hash| - licenseProperty_json_pie.push({"label"=>license.to_s,"value"=>count_hash["count"], "color"=>pie_colors_array[color_index], "uri"=>count_hash["uri"]}) + licenseProperty_hash.each do |license, count_hash| + licenseProperty_json_pie.push({ 'label' => license.to_s, 'value' => count_hash['count'], + 'color' => pie_colors_array[color_index], 'uri' => count_hash['uri'] }) color_index += 1 end formalityLevelCount = {} - formalityProperty_hash.each do |formality_level,count_hash| + formalityProperty_hash.each do |formality_level, count_hash| # Generate formalityLevel JSON used to get the bar charts - formalityLevelCount[formality_level.to_s] = count_hash["count"] + formalityLevelCount[formality_level.to_s] = count_hash['count'] end isOfTypeCount = {} - isOfTypeProperty_hash.each do |isOfType,count_hash| - isOfTypeCount[isOfType.to_s] = count_hash["count"] + isOfTypeProperty_hash.each do |isOfType, count_hash| + isOfTypeCount[isOfType.to_s] = count_hash['count'] end color_index = 0 - prefLabelProperty_hash.each do |pref_label,count_hash| - prefLabelProperty_json_pie.push({"label"=>pref_label.to_s,"value"=>count_hash["count"], "color"=>pie_colors_array[color_index], "uri"=>count_hash["uri"]}) + prefLabelProperty_hash.each do |pref_label, count_hash| + prefLabelProperty_json_pie.push({ 'label' => pref_label.to_s, 'value' => count_hash['count'], + 'color' => pie_colors_array[color_index], 'uri' => count_hash['uri'] }) color_index += 2 end color_index = 1 - synonymProperty_hash.each do |synonym,count_hash| - synonymProperty_json_pie.push({"label"=>synonym.to_s,"value"=>count_hash["count"], "color"=>pie_colors_array[color_index], "uri"=>count_hash["uri"]}) + synonymProperty_hash.each do |synonym, count_hash| + synonymProperty_json_pie.push({ 'label' => synonym.to_s, 'value' => count_hash['count'], + 'color' => pie_colors_array[color_index], 'uri' => count_hash['uri'] }) color_index += 2 end color_index = 0 - definitionProperty_hash.each do |definition,count_hash| - definitionProperty_json_pie.push({"label"=>definition.to_s,"value"=>count_hash["count"], "color"=>pie_colors_array[color_index], "uri"=>count_hash["uri"]}) + definitionProperty_hash.each do |definition, count_hash| + definitionProperty_json_pie.push({ 'label' => definition.to_s, 'value' => count_hash['count'], + 'color' => pie_colors_array[color_index], 'uri' => count_hash['uri'] }) color_index += 2 end color_index = 1 - authorProperty_hash.each do |author,count_hash| - authorProperty_json_pie.push({"label"=>author.to_s,"value"=>count_hash["count"], "color"=>pie_colors_array[color_index], "uri"=>count_hash["uri"]}) + authorProperty_hash.each do |author, count_hash| + authorProperty_json_pie.push({ 'label' => author.to_s, 'value' => count_hash['count'], + 'color' => pie_colors_array[color_index], 'uri' => count_hash['uri'] }) color_index += 2 end # Format the ontologyFormatsCount hash as the JSON needed to generate the chart ontologyFormatsChartJson = { labels: ontologyFormatsCount.keys, - datasets: [{ label: "Number of ontologies using this format", - data: ontologyFormatsCount.values, - backgroundColor: pie_colors_array[3]}] } + datasets: [{ label: 'Number of ontologies using this format', + data: ontologyFormatsCount.values, + backgroundColor: pie_colors_array[3] }] } isOfTypeChartJson = { labels: isOfTypeCount.keys, - datasets: [{ label: "Number of ontologies of this ontology type", - data: isOfTypeCount.values, - backgroundColor: pie_colors_array[0]}] } + datasets: [{ label: 'Number of ontologies of this ontology type', + data: isOfTypeCount.values, + backgroundColor: pie_colors_array[0] }] } formalityLevelChartJson = { labels: formalityLevelCount.keys, - datasets: [{ label: "Number of ontologies of this formality level", - data: formalityLevelCount.values, - backgroundColor: pie_colors_array[2]}] } + datasets: [{ label: 'Number of ontologies of this formality level', + data: formalityLevelCount.values, + backgroundColor: pie_colors_array[2] }] } dataCatalogChartJson = { labels: dataCatalog_count_hash.keys, - datasets: [{ label: "Number of ontologies in this catalog", data: dataCatalog_count_hash.values, - backgroundColor: pie_colors_array[5]}] } + datasets: [{ label: 'Number of ontologies in this catalog', data: dataCatalog_count_hash.values, + backgroundColor: pie_colors_array[5] }] } # Format the groupOntologiesCount hash as the JSON needed to generate the chart groupCountChartJson = { labels: groups_count_hash.keys, - datasets: [{ label: "Number of ontologies", data: groups_count_hash.values, - backgroundColor: pie_colors_array[3]}] } + datasets: [{ label: 'Number of ontologies', data: groups_count_hash.values, + backgroundColor: pie_colors_array[3] }] } domainCountChartJson = { labels: domains_count_hash.keys, - datasets: [{ label: "Number of ontologies", data: domains_count_hash.values, - backgroundColor: pie_colors_array[4]}] } + datasets: [{ label: 'Number of ontologies', data: domains_count_hash.values, + backgroundColor: pie_colors_array[4] }] } # Format the groupOntologiesCount hash as the JSON needed to generate the chart sizeSlicesChartJson = { labels: size_slices_hash.keys, - datasets: [{ label: "Number of ontologies with a class count in this range", - data: size_slices_hash.values, - backgroundColor: pie_colors_array[2]}] } + datasets: [{ label: 'Number of ontologies with a class count in this range', + data: size_slices_hash.values, + backgroundColor: pie_colors_array[2] }] } # Also pass groups and hasDomain name to resolve it and better label of bar charts - groups = LinkedData::Client::Models::Group.all(include: "acronym,name,description") - domains = LinkedData::Client::Models::Category.all(include: "acronym,name,description") + groups = LinkedData::Client::Models::Group.all(include: 'acronym,name,description') + domains = LinkedData::Client::Models::Category.all(include: 'acronym,name,description') groups_info_hash = {} groups.each do |group| @@ -550,7 +562,9 @@ def index groups_info_hash[group.acronym][:name] = group.name groups_info_hash[group.acronym][:description] = [] # Slice the description in 6 words string to avoid too long sentence in the bar chart tooltip in js - group.description.split(" ").each_slice(6) {|slice| groups_info_hash[group.acronym][:description].push(slice.join(" ")) } + group.description.split(' ').each_slice(6) do |slice| + groups_info_hash[group.acronym][:description].push(slice.join(' ')) + end end domains_info_hash = {} @@ -560,61 +574,58 @@ def index domains_info_hash[domain.acronym][:name] = domain.name domains_info_hash[domain.acronym][:description] = [] # Slice the description in 6 words string to avoid too long sentence in the bar chart tooltip in js - domain.description.split(" ").each_slice(6) {|slice| domains_info_hash[domain.acronym][:description].push(slice.join(" ")) } + domain.description.split(' ').each_slice(6) do |slice| + domains_info_hash[domain.acronym][:description].push(slice.join(' ')) + end end @landscape_data = { - people_count_json_cloud: people_count_json_cloud, - org_count_json_cloud: org_count_json_cloud, - engineering_tool_cloud_json: engineering_tool_cloud_json, - notes_ontologies_json_cloud: notes_ontologies_json_cloud, - notes_people_json_cloud: notes_people_json_cloud, - natural_language_json_pie: natural_language_json_pie, - licenseProperty_json_pie: licenseProperty_json_pie, - ontology_relations_array: ontology_relations_array, - prefLabelProperty_json_pie: prefLabelProperty_json_pie, - synonymProperty_json_pie: synonymProperty_json_pie, - definitionProperty_json_pie: definitionProperty_json_pie, - authorProperty_json_pie: authorProperty_json_pie, - ontologyFormatsChartJson: ontologyFormatsChartJson, - isOfTypeChartJson: isOfTypeChartJson, - formalityLevelChartJson: formalityLevelChartJson, - dataCatalogChartJson: dataCatalogChartJson, - groupCountChartJson: groupCountChartJson, - groupsInfoHash: groups_info_hash, - domainCountChartJson: domainCountChartJson, - domainsInfoHash: domains_info_hash, - sizeSlicesChartJson: sizeSlicesChartJson + people_count_json_cloud: people_count_json_cloud, + org_count_json_cloud: org_count_json_cloud, + engineering_tool_cloud_json: engineering_tool_cloud_json, + notes_ontologies_json_cloud: notes_ontologies_json_cloud, + notes_people_json_cloud: notes_people_json_cloud, + natural_language_json_pie: natural_language_json_pie, + licenseProperty_json_pie: licenseProperty_json_pie, + ontology_relations_array: ontology_relations_array, + prefLabelProperty_json_pie: prefLabelProperty_json_pie, + synonymProperty_json_pie: synonymProperty_json_pie, + definitionProperty_json_pie: definitionProperty_json_pie, + authorProperty_json_pie: authorProperty_json_pie, + ontologyFormatsChartJson: ontologyFormatsChartJson, + isOfTypeChartJson: isOfTypeChartJson, + formalityLevelChartJson: formalityLevelChartJson, + dataCatalogChartJson: dataCatalogChartJson, + groupCountChartJson: groupCountChartJson, + groupsInfoHash: groups_info_hash, + domainCountChartJson: domainCountChartJson, + domainsInfoHash: domains_info_hash, + sizeSlicesChartJson: sizeSlicesChartJson }.to_json.html_safe - end private + # For notes takes the hash and create the entry if not already existing # To create hash like this: {"user1": {"reviews": 3, "notes": 4, "projects": 4}} def notes_create_hash_entry(uri_id, notes_type, hash) id = uri_id.split('/').last - if !hash.has_key?(id) - hash[id] = {uri: uri_id} - end - if !hash[id].has_key?(notes_type) + hash[id] = { uri: uri_id } unless hash.key?(id) + if !hash[id].key?(notes_type) hash[id][notes_type] = 1 else hash[id][notes_type] += 1 end - return hash + hash end - ## # Add metrics metadata from the param sub to the @metrics_average var to get the average for each metrics def get_metrics_for_average(sub) # Adding metrics to their arrays @metrics_average.each do |metrics| - if !sub.send(metrics[:attr]).nil? - metrics[:array].push(sub.send(metrics[:attr])) - end + metrics[:array].push(sub.send(metrics[:attr])) unless sub.send(metrics[:attr]).nil? end end @@ -624,9 +635,8 @@ def get_metrics_for_average(sub) def get_used_properties(attr_value, default_property, property_hash) if attr_value.nil? || attr_value.empty? # if property null then we increment the default value - if default_property.nil? - return property_hash - end + return property_hash if default_property.nil? + attr_value = default_property else attr_value = attr_value.to_s @@ -637,18 +647,18 @@ def get_used_properties(attr_value, default_property, property_hash) RESOLVE_NAMESPACE.each do |prefix, namespace| if attr_value.start_with?(namespace) prefixed_attr_value = attr_value.sub(namespace, "#{prefix}:") - break; + break end end # If attribute value property already in hash then we increment the count of the property in the hash - if property_hash.has_key?(prefixed_attr_value) - property_hash[prefixed_attr_value]["count"] += 1 + if property_hash.key?(prefixed_attr_value) + property_hash[prefixed_attr_value]['count'] += 1 else property_hash[prefixed_attr_value] = {} - property_hash[prefixed_attr_value]["count"] = 1 - property_hash[prefixed_attr_value]["uri"] = attr_value + property_hash[prefixed_attr_value]['count'] = 1 + property_hash[prefixed_attr_value]['uri'] = attr_value end - return property_hash + property_hash end end diff --git a/app/controllers/language_controller.rb b/app/controllers/language_controller.rb index ed1ec7c79d..dde8656a15 100644 --- a/app/controllers/language_controller.rb +++ b/app/controllers/language_controller.rb @@ -1,21 +1,21 @@ -class LanguageController < ApplicationController - - # set locale to the language selected by the user - def set_locale_language - language = params[:language].strip.downcase.to_sym - supported_languages = I18n.available_locales +# frozen_string_literal: true - if language - if supported_languages.include?(language) - cookies.permanent[:locale] = language - else - # in case we want to show a message if the language is not available - flash.now[:notice] = "#{language} translation not available" - logger.error flash.now[:notice] - end - end +class LanguageController < ApplicationController + # set locale to the language selected by the user + def set_locale_language + language = params[:language].strip.downcase.to_sym + supported_languages = I18n.available_locales - redirect_to request.referer || root_path + if language + if supported_languages.include?(language) + cookies.permanent[:locale] = language + else + # in case we want to show a message if the language is not available + flash.now[:notice] = "#{language} translation not available" + logger.error flash.now[:notice] + end end + redirect_to request.referer || root_path + end end diff --git a/app/controllers/login_controller.rb b/app/controllers/login_controller.rb index aa50c31b9a..9cbc2b66e0 100755 --- a/app/controllers/login_controller.rb +++ b/app/controllers/login_controller.rb @@ -1,5 +1,6 @@ -class LoginController < ApplicationController +# frozen_string_literal: true +class LoginController < ApplicationController layout :determine_layout def index @@ -7,7 +8,7 @@ def index if params[:redirect] # Get the original, encoded redirect uri = URI.parse(request.url) - orig_params = Hash[uri.query.split("&").map {|e| e.split("=",2)}].symbolize_keys + orig_params = Hash[uri.query.split('&').map { |e| e.split('=', 2) }].symbolize_keys session[:redirect] = orig_params[:redirect] else session[:redirect] = request.referer @@ -17,53 +18,48 @@ def index # logs in a user def create @errors = validate(params[:user]) - if @errors.size < 1 + if @errors.empty? logged_in_user = LinkedData::Client::Models::User.authenticate(params[:user][:username], params[:user][:password]) if logged_in_user && !logged_in_user.errors login(logged_in_user) - redirect = "/" - - if session[:redirect] - redirect = CGI.unescape(session[:redirect]) - end + redirect = '/' + redirect = CGI.unescape(session[:redirect]) if session[:redirect] redirect_to redirect else - @errors << "Invalid account name/password combination" - render :action => 'index' + @errors << 'Invalid account name/password combination' + render action: 'index' end else - render :action => 'index' + render action: 'index' end end - def create_omniauth auth_data = request.env['omniauth.auth'] auth_code = auth_data.credentials.token token_provider = helpers.omniauth_token_provider(params[:provider]) - logged_in_user = LinkedData::Client::HTTP.post("#{LinkedData::Client.settings.rest_url}/users/authenticate", { access_token: auth_code , token_provider: token_provider}) + logged_in_user = LinkedData::Client::HTTP.post("#{LinkedData::Client.settings.rest_url}/users/authenticate", + { access_token: auth_code, token_provider: token_provider }) if logged_in_user && !logged_in_user.errors login(logged_in_user) - redirect = "/" + redirect = '/' - if session[:redirect] - redirect = CGI.unescape(session[:redirect]) - end + redirect = CGI.unescape(session[:redirect]) if session[:redirect] redirect_to redirect else - @errors = ["#{params[:provider]} authentication failed"] - render :action => 'index' + @errors = ["#{params[:provider]} authentication failed"] + render action: 'index' end end # Login as the provided username (only for admin users) def login_as - unless session[:user] && session[:user].admin? - redirect_to "/" + unless session[:user]&.admin? + redirect_to '/' return end @@ -76,8 +72,8 @@ def login_as session[:user].apikey = session[:admin_user].apikey end - #redirect_to request.referer rescue redirect_to "/" - redirect_to "/" + # redirect_to request.referer rescue redirect_to "/" + redirect_to '/' end # logs out a user @@ -86,32 +82,30 @@ def destroy old_user = session[:user] session[:user] = session[:admin_user] session.delete(:admin_user) - flash[:success] = "Logged out #{old_user.username}, returned to #{session[:user].username}".html_safe + flash[:success] = + "Logged out #{old_user.username}, returned to #{session[:user].username}".html_safe else session[:user] = nil - flash[:success] = "You have successfully logged out" + flash[:success] = 'You have successfully logged out' end - redirect_to request.referer || "/" + redirect_to request.referer || '/' end - def lost_password - end - - def lost_password_success - end + def lost_password; end + def lost_password_success; end # Sends a new password to the user def send_pass username = params[:user][:account_name] email = params[:user][:email] - resp = LinkedData::Client::HTTP.post("/users/create_reset_password_token", {username: username, email: email}) + resp = LinkedData::Client::HTTP.post('/users/create_reset_password_token', { username: username, email: email }) if resp.nil? - redirect_to "/lost_pass_success" + redirect_to '/lost_pass_success' else - flash[:notice] = resp.errors.first + ". Please try again." - redirect_to "/lost_pass" + flash[:notice] = "#{resp.errors.first}. Please try again." + redirect_to '/lost_pass' end end @@ -119,14 +113,14 @@ def reset_password username = params[:un] email = params[:em] token = params[:tk] - @user = LinkedData::Client::HTTP.post("/users/reset_password", {username: username, email: email, token: token}) + @user = LinkedData::Client::HTTP.post('/users/reset_password', { username: username, email: email, token: token }) if @user.is_a?(LinkedData::Client::Models::User) @user.validate_password = true login(@user) - render "users/edit" + render 'users/edit' else - flash[:notice] = @user.errors.first + ". Please reset your password again." - redirect_to "/lost_pass" + flash[:notice] = "#{@user.errors.first}. Please reset your password again." + redirect_to '/lost_pass' end end @@ -134,24 +128,19 @@ def reset_password def login(user) return unless user + session[:user] = user - custom_ontologies_text = session[:user].customOntology && !session[:user].customOntology.empty? ? "The display is now based on your Custom Ontology Set." : "" - notice = "Welcome " + user.username.to_s + "! " + custom_ontologies_text + custom_ontologies_text = session[:user].customOntology && !session[:user].customOntology.empty? ? "The display is now based on your Custom Ontology Set." : '' + notice = "Welcome #{user.username}! #{custom_ontologies_text}" flash[:success] = notice.html_safe end def validate(params) - errors=[] + errors = [] - if params[:username].nil? || params[:username].length <1 - errors << "Please enter an account name" - end - if params[:password].nil? || params[:password].length <1 - errors << "Please enter a password" - end + errors << 'Please enter an account name' if params[:username].nil? || params[:username].empty? + errors << 'Please enter a password' if params[:password].nil? || params[:password].empty? - return errors + errors end - - end diff --git a/app/controllers/mappings_controller.rb b/app/controllers/mappings_controller.rb index b8baeda3a7..c5361be2fd 100644 --- a/app/controllers/mappings_controller.rb +++ b/app/controllers/mappings_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'cgi' class MappingsController < ApplicationController @@ -7,15 +9,15 @@ class MappingsController < ApplicationController include MappingsHelper include TurboHelper layout :determine_layout - before_action :authorize_and_redirect, only: [:create, :new, :destroy] + before_action :authorize_and_redirect, only: %i[create new destroy] - EXTERNAL_URL_PARAM_STR = "mappings:external" - INTERPORTAL_URL_PARAM_STR = "interportal:" + EXTERNAL_URL_PARAM_STR = 'mappings:external' + INTERPORTAL_URL_PARAM_STR = 'interportal:' INTERPORTAL_HASH = $INTERPORTAL_HASH ||= {} def index - ontology_list = LinkedData::Client::Models::Ontology.all.select { |o| !o.summaryOnly } + ontology_list = LinkedData::Client::Models::Ontology.all.reject(&:summaryOnly) ontologies_mapping_count = LinkedData::Client::HTTP.get("#{MAPPINGS_URL}/statistics/ontologies") ontologies_hash = {} ontology_list.each do |ontology| @@ -32,16 +34,24 @@ def index # Adding external and interportal mappings to the dropdown list if ontology_acronym.to_s == EXTERNAL_MAPPINGS_GRAPH mapping_count = ontologies_mapping_count[ontology_acronym.to_s] || 0 - select_text = "External Mappings (#{number_with_delimiter(mapping_count, delimiter: ',')})" if mapping_count >= 0 + if mapping_count >= 0 + select_text = "External Mappings (#{number_with_delimiter(mapping_count, + delimiter: ',')})" + end ontology_acronym = EXTERNAL_URL_PARAM_STR elsif ontology_acronym.to_s.start_with?(INTERPORTAL_MAPPINGS_GRAPH) mapping_count = ontologies_mapping_count[ontology_acronym.to_s] || 0 - select_text = "Interportal Mappings - #{ontology_acronym.to_s.split("/")[-1].upcase} (#{number_with_delimiter(mapping_count, delimiter: ',')})" if mapping_count >= 0 - ontology_acronym = INTERPORTAL_URL_PARAM_STR + ontology_acronym.to_s.split("/")[-1] + if mapping_count >= 0 + select_text = "Interportal Mappings - #{ontology_acronym.to_s.split('/')[-1].upcase} (#{number_with_delimiter( + mapping_count, delimiter: ',' + )})" + end + ontology_acronym = INTERPORTAL_URL_PARAM_STR + ontology_acronym.to_s.split('/')[-1] else ontology = ontologies_hash[ontology_acronym.to_s] mapping_count = ontologies_mapping_count[ontology_acronym] || 0 - next unless ontology && mapping_count > 0 + next unless ontology && mapping_count.positive? + select_text = "#{ontology.name} - #{ontology.acronym} (#{number_with_delimiter(mapping_count, delimiter: ',')})" end @options[select_text] = ontology_acronym @@ -59,21 +69,21 @@ def count def loader @example_code = [{ - "classes": ["http://bioontology.org/ontologies/BiomedicalResourceOntology.owl#Image_Algorithm", - "http://purl.org/incf/ontology/Computational_Neurosciences/cno_alpha.owl#cno_0000202"], - - "name": 'This is the mappings produced to test the bulk load', - "source": 'https://w3id.org/semapv/LexicalMatching', - "comment": 'mock data', - "relation": [ - 'http://www.w3.org/2002/07/owl#subClassOf' - ], - "subject_source_id": 'http://bioontology.org/ontologies/BiomedicalResources.owl', - "object_source_id": 'http://purl.org/incf/ontology/Computational_Neurosciences/cno_alpha.owl', - "source_name": 'https://w3id.org/sssom/mapping/tests/data/basic.tsv', - "source_contact_info": 'orcid:1234,orcid:5678', - "date": '2020-05-30' - }] + "classes": ['http://bioontology.org/ontologies/BiomedicalResourceOntology.owl#Image_Algorithm', + 'http://purl.org/incf/ontology/Computational_Neurosciences/cno_alpha.owl#cno_0000202'], + + "name": 'This is the mappings produced to test the bulk load', + "source": 'https://w3id.org/semapv/LexicalMatching', + "comment": 'mock data', + "relation": [ + 'http://www.w3.org/2002/07/owl#subClassOf' + ], + "subject_source_id": 'http://bioontology.org/ontologies/BiomedicalResources.owl', + "object_source_id": 'http://purl.org/incf/ontology/Computational_Neurosciences/cno_alpha.owl', + "source_name": 'https://w3id.org/sssom/mapping/tests/data/basic.tsv', + "source_contact_info": 'orcid:1234,orcid:5678', + "date": '2020-05-30' + }] render partial: 'mappings/bulk_loader/loader' end @@ -99,7 +109,6 @@ def show respond_to do |format| format.html { render 'mappings/edit', layout: false } end - end def show_mappings @@ -111,9 +120,9 @@ def show_mappings if @ontology.nil? ontology_acronym = params[:id] if params[:id] == EXTERNAL_URL_PARAM_STR - @ontology_name = "External Mappings" + @ontology_name = 'External Mappings' elsif params[:id].start_with?(INTERPORTAL_URL_PARAM_STR) - @ontology_name = params[:id].sub(":", " - ") + @ontology_name = params[:id].sub(':', ' - ') end else ontology_acronym = @ontology.acronym @@ -122,10 +131,10 @@ def show_mappings if @target_ontology.nil? if params[:target] == EXTERNAL_MAPPINGS_GRAPH target_acronym = EXTERNAL_URL_PARAM_STR - @target_ontology_name = "External Mappings" + @target_ontology_name = 'External Mappings' elsif params[:target].start_with?(INTERPORTAL_MAPPINGS_GRAPH) - target_acronym = "#{INTERPORTAL_URL_PARAM_STR}:#{params[:target].split("/")[-1]}" - @target_ontology_name = "Interportal - #{params[:target].split("/")[-1].upcase}" + target_acronym = "#{INTERPORTAL_URL_PARAM_STR}:#{params[:target].split('/')[-1]}" + @target_ontology_name = "Interportal - #{params[:target].split('/')[-1].upcase}" end else target_acronym = @target_ontology.acronym @@ -134,7 +143,7 @@ def show_mappings ontologies = [ontology_acronym, target_acronym] - @mapping_pages = LinkedData::Client::HTTP.get("#{MAPPINGS_URL}", { page: page, ontologies: ontologies.join(',') }) + @mapping_pages = LinkedData::Client::HTTP.get(MAPPINGS_URL.to_s, { page: page, ontologies: ontologies.join(',') }) @mappings = @mapping_pages.collection @delete_mapping_permission = check_delete_mapping_permission(@mappings) @@ -148,7 +157,8 @@ def show_mappings total_results = @mapping_pages.pageCount * @mapping_pages.collection.length # This converts the mappings into an object that can be used with the pagination plugin - @page_results = WillPaginate::Collection.create(@mapping_pages.page, @mapping_pages.collection.length, total_results) do |pager| + @page_results = WillPaginate::Collection.create(@mapping_pages.page, @mapping_pages.collection.length, + total_results) do |pager| pager.replace(@mapping_pages.collection) end @@ -163,10 +173,9 @@ def get_concept_table @delete_mapping_permission = check_delete_mapping_permission(@mappings) render turbo_stream: [ - replace('mapping_count') { "#{@mappings.size}" }, + replace('mapping_count') { @mappings.size.to_s }, replace('concept_mappings', partial: 'mappings/concept_mappings') ] - end def new @@ -220,12 +229,12 @@ def update else render_turbo_stream( alert_success { 'Mapping updated' }, - replace(@mapping.id.split('/').last, partial: 'show_line', locals: { map: request_mapping, concept: @concept }) + replace(@mapping.id.split('/').last, partial: 'show_line', + locals: { map: request_mapping, concept: @concept }) ) end end end - end def destroy @@ -253,7 +262,6 @@ def destroy end format.html { render json: { success: success_text, error: error } } end - end private @@ -294,13 +302,13 @@ def mapping_form(mapping: nil) end @mapping_relation_options = [ - ["Identical (skos:exactMatch)", "http://www.w3.org/2004/02/skos/core#exactMatch"], - ["Similar (skos:closeMatch)", "http://www.w3.org/2004/02/skos/core#closeMatch"], - ["Related (skos:relatedMatch)", "http://www.w3.org/2004/02/skos/core#relatedMatch"], - ["Broader (skos:broadMatch)", "http://www.w3.org/2004/02/skos/core#broadMatch"], - ["Narrower (skos:narrowMatch)", "http://www.w3.org/2004/02/skos/core#narrowMatch"], - ["Translation (gold:translation)", "http://purl.org/linguistics/gold/translation"], - ["Free Translation (gold:freeTranslation)", "http://purl.org/linguistics/gold/freeTranslation"] + ['Identical (skos:exactMatch)', 'http://www.w3.org/2004/02/skos/core#exactMatch'], + ['Similar (skos:closeMatch)', 'http://www.w3.org/2004/02/skos/core#closeMatch'], + ['Related (skos:relatedMatch)', 'http://www.w3.org/2004/02/skos/core#relatedMatch'], + ['Broader (skos:broadMatch)', 'http://www.w3.org/2004/02/skos/core#broadMatch'], + ['Narrower (skos:narrowMatch)', 'http://www.w3.org/2004/02/skos/core#narrowMatch'], + ['Translation (gold:translation)', 'http://purl.org/linguistics/gold/translation'], + ['Free Translation (gold:freeTranslation)', 'http://purl.org/linguistics/gold/freeTranslation'] ] @mapping_name = mapping.process&.name @mapping_comment = mapping.process&.comment @@ -341,9 +349,7 @@ def request_mapping def valid_values?(values) errors = [] - if values[:classes].reject(&:blank?).size != 2 - errors << 'Source and target concepts need to be specified' - end + errors << 'Source and target concepts need to be specified' if values[:classes].reject(&:blank?).size != 2 errors end end diff --git a/app/controllers/ncbo_annotatorplus_controller.rb b/app/controllers/ncbo_annotatorplus_controller.rb index d6a418a304..0fcb9caeb4 100644 --- a/app/controllers/ncbo_annotatorplus_controller.rb +++ b/app/controllers/ncbo_annotatorplus_controller.rb @@ -1,6 +1,8 @@ +# frozen_string_literal: true + class NcboAnnotatorplusController < ApplicationController layout :determine_layout - + before_action :check_ncbo_annotatorplus_enabled NCBO_ANNOTATOR_URI = $NCBO_ANNOTATOR_URL @@ -11,91 +13,95 @@ def index @semantic_groups_for_select = [] @semantic_types ||= get_semantic_types @sem_type_ont = LinkedData::Client::Models::Ontology.find_by_acronym('STY').first - @semantic_groups ||= {"ACTI" => "Activities & Behaviors", "ANAT" => "Anatomy", "CHEM" => "Chemicals & Drugs","CONC" => "Concepts & Ideas", - "DEVI" => "Devices", "DISO" => "Disorders", "GENE" => "Genes & Molecular Sequences", "GEOG" => "Geographic Areas", "LIVB" => "Living Beings", - "OBJC" => "Objects", "OCCU" => "Occupations", "ORGA" => "Organizations", "PHEN" => "Phenomena", "PHYS" => "Physiology","PROC" => "Procedures"} + @semantic_groups ||= { 'ACTI' => 'Activities & Behaviors', 'ANAT' => 'Anatomy', 'CHEM' => 'Chemicals & Drugs', 'CONC' => 'Concepts & Ideas', + 'DEVI' => 'Devices', 'DISO' => 'Disorders', 'GENE' => 'Genes & Molecular Sequences', 'GEOG' => 'Geographic Areas', 'LIVB' => 'Living Beings', + 'OBJC' => 'Objects', 'OCCU' => 'Occupations', 'ORGA' => 'Organizations', 'PHEN' => 'Phenomena', 'PHYS' => 'Physiology', 'PROC' => 'Procedures' } @semantic_types.each_pair do |code, label| @semantic_types_for_select << ["#{label} (#{code})", code] end @semantic_groups.each_pair do |group, label| @semantic_groups_for_select << ["#{label} (#{group})", group] end - @semantic_types_for_select.sort! {|a,b| a[0] <=> b[0]} - @semantic_groups_for_select.sort! {|a,b| a[0] <=> b[0]} - @recognizers = parse_json(REST_URI + "/annotator/recognizers") + @semantic_types_for_select.sort! { |a, b| a[0] <=> b[0] } + @semantic_groups_for_select.sort! { |a, b| a[0] <=> b[0] } + @recognizers = parse_json("#{REST_URI}/annotator/recognizers") @annotator_ontologies = LinkedData::Client::Models::Ontology.all @ontologies_for_select = get_ontologies_for_select end - def create params[:mappings] ||= [] params[:max_level] ||= 0 params[:ontologies] ||= [] params[:semantic_types] ||= [] params[:semantic_groups] ||= [] - text_to_annotate = params[:text].strip.gsub("\r\n", " ").gsub("\n", " ") - - options = { :ontologies => params[:ontologies], - :class_hierarchy_max_level => params[:class_hierarchy_max_level].to_i, - :expand_class_hierarchy => params[:class_hierarchy_max_level].to_i > 0, - :semantic_types => params[:semantic_types], - :semantic_groups => params[:semantic_groups], - :mappings => params[:mappings], - :longest_only => params[:longest_only], - :exclude_numbers => params[:exclude_numbers] ||= "false", # service default is false - :whole_word_only => params[:whole_word_only] ||= "true", # service default is true - :exclude_synonyms => params[:exclude_synonyms] ||= "false", # service default is false - :fast_context => params[:fast_context] ||= "false", # service default is false - :score => params[:score], - :score_threshold => params[:score_threshold] ||=-1, - :confidence_threshold => params[:confidence_threshold] ||=-1, - :ncbo_slice => params[:ncbo_slice] || '' - } + text_to_annotate = params[:text].strip.gsub("\r\n", ' ').gsub("\n", ' ') + + options = { ontologies: params[:ontologies], + class_hierarchy_max_level: params[:class_hierarchy_max_level].to_i, + expand_class_hierarchy: params[:class_hierarchy_max_level].to_i.positive?, + semantic_types: params[:semantic_types], + semantic_groups: params[:semantic_groups], + mappings: params[:mappings], + longest_only: params[:longest_only], + exclude_numbers: params[:exclude_numbers] ||= 'false', # service default is false + whole_word_only: params[:whole_word_only] ||= 'true', # service default is true + exclude_synonyms: params[:exclude_synonyms] ||= 'false', # service default is false + fast_context: params[:fast_context] ||= 'false', # service default is false + score: params[:score], + score_threshold: params[:score_threshold] ||= -1, + confidence_threshold: params[:confidence_threshold] ||= -1, + ncbo_slice: params[:ncbo_slice] || '' } start = Time.now query = NCBO_ANNOTATOR_URI - query += "?text=" + CGI.escape(text_to_annotate) - query += "&apikey=" + NCBO_API_KEY - query += "&include=prefLabel" - query += "&expand_class_hierarchy=true" if options[:class_hierarchy_max_level] > 0 - query += "&class_hierarchy_max_level=" + options[:class_hierarchy_max_level].to_s if options[:class_hierarchy_max_level] > 0 - query += "&score=" + options[:score] unless options[:score] == "" - query += "&score_threshold=" + options[:score_threshold] unless options[:score] == "" or options[:score_threshold]==-1 - query += "&confidence_threshold=" + options[:confidence_threshold] unless options[:score] == "" or options[:confidence_threshold]==-1 - query += "&fast_context=" + options[:fast_context] unless options[:fast_context].empty? - query += "&ontologies=" + CGI.escape(options[:ontologies].join(',')) unless options[:ontologies].empty? - query += "&semantic_types=" + options[:semantic_types].join(',') unless options[:semantic_types].empty? - query += "&semantic_groups=" + options[:semantic_groups].join(',') unless options[:semantic_groups].empty? - query += "&mappings=" + options[:mappings].join(',') unless options[:mappings].empty? + query += "?text=#{CGI.escape(text_to_annotate)}" + query += "&apikey=#{NCBO_API_KEY}" + query += '&include=prefLabel' + query += '&expand_class_hierarchy=true' if (options[:class_hierarchy_max_level]).positive? + if (options[:class_hierarchy_max_level]).positive? + query += "&class_hierarchy_max_level=#{options[:class_hierarchy_max_level]}" + end + query += "&score=#{options[:score]}" unless options[:score] == '' + unless (options[:score] == '') || (options[:score_threshold] == -1) + query += "&score_threshold=#{options[:score_threshold]}" + end + unless (options[:score] == '') || (options[:confidence_threshold] == -1) + query += "&confidence_threshold=#{options[:confidence_threshold]}" + end + query += "&fast_context=#{options[:fast_context]}" unless options[:fast_context].empty? + query += "&ontologies=#{CGI.escape(options[:ontologies].join(','))}" unless options[:ontologies].empty? + query += "&semantic_types=#{options[:semantic_types].join(',')}" unless options[:semantic_types].empty? + query += "&semantic_groups=#{options[:semantic_groups].join(',')}" unless options[:semantic_groups].empty? + query += "&mappings=#{options[:mappings].join(',')}" unless options[:mappings].empty? query += "&longest_only=#{options[:longest_only]}" query += "&recognizer=#{params[:recognizer]}" - query += "&exclude_numbers=" + options[:exclude_numbers].to_s unless options[:exclude_numbers].empty? - query += "&whole_word_only=" + options[:whole_word_only].to_s unless options[:whole_word_only].empty? - query += "&exclude_synonyms=" + options[:exclude_synonyms].to_s unless options[:exclude_synonyms].empty? - query += "&ncbo_slice=" + options[:ncbo_slice].to_s unless options[:ncbo_slice].empty? + query += "&exclude_numbers=#{options[:exclude_numbers]}" unless options[:exclude_numbers].empty? + query += "&whole_word_only=#{options[:whole_word_only]}" unless options[:whole_word_only].empty? + query += "&exclude_synonyms=#{options[:exclude_synonyms]}" unless options[:exclude_synonyms].empty? + query += "&ncbo_slice=#{options[:ncbo_slice]}" unless options[:ncbo_slice].empty? annotations = parse_json(query) # See application_controller.rb - #annotations = LinkedData::Client::HTTP.get(query) + # annotations = LinkedData::Client::HTTP.get(query) LOG.add :debug, "Query: #{query}" LOG.add :debug, "Retrieved #{annotations.length} annotations: #{Time.now - start}s" - if annotations.empty? || params[:raw] == "true" + if annotations.empty? || params[:raw] == 'true' # TODO: if params contains select ontologies and/or semantic types, only return those selected. response = { - annotations: annotations, - ontologies: get_simplified_ontologies_hash, # application_controller - semantic_types: get_semantic_types # application_controller + annotations: annotations, + ontologies: get_simplified_ontologies_hash, # application_controller + semantic_types: get_semantic_types # application_controller } else massage_annotated_classes(annotations, options) response = { - annotations: annotations, - ontologies: {}, # ontology data are in annotations already. - semantic_types: {} # semantic types are in annotations already. + annotations: annotations, + ontologies: {}, # ontology data are in annotations already. + semantic_types: {} # semantic types are in annotations already. } end - render :json => response + render json: response end private @@ -104,11 +110,12 @@ def get_semantic_types semantic_types = {} sty_ont = LinkedData::Client::Models::Ontology.find_by_acronym('STY').first return semantic_types if sty_ont.nil? + # The first 500 items should be more than sufficient to get all semantic types. - sty_classes = sty_ont.explore.classes({'pagesize'=>500, include: 'prefLabel'}) + sty_classes = sty_ont.explore.classes({ 'pagesize' => 500, include: 'prefLabel' }) sty_classes.collection.each do |cls| - code = cls.id.split("/").last - semantic_types[ code ] = cls.prefLabel + code = cls.id.split('/').last + semantic_types[code] = cls.prefLabel end semantic_types end @@ -122,13 +129,13 @@ def massage_annotated_classes(annotations, options) class_details = get_annotated_classes(annotations, semantic_types) simplify_annotated_classes(annotations, class_details) # repeat the simplification for any annotation hierarchy or mappings. - hierarchy = annotations.map {|a| a if a.keys.include? 'hierarchy' }.compact + hierarchy = annotations.map { |a| a if a.keys.include? 'hierarchy' }.compact hierarchy.each do |a| - simplify_annotated_classes(a['hierarchy'], class_details) if not a['hierarchy'].empty? + simplify_annotated_classes(a['hierarchy'], class_details) unless a['hierarchy'].empty? end - mappings = annotations.map {|a| a if a.keys.include? 'mappings' }.compact + mappings = annotations.map { |a| a if a.keys.include? 'mappings' }.compact mappings.each do |a| - simplify_annotated_classes(a['mappings'], class_details) if not a['mappings'].empty? + simplify_annotated_classes(a['mappings'], class_details) unless a['mappings'].empty? end LOG.add :debug, "Completed massage for annotated classes: #{Time.now - start}s" end @@ -151,56 +158,58 @@ def simplify_annotated_classes(annotations, class_details) end def get_annotated_class_hash(a) - return { - :class => a['annotatedClass']['@id'], - :ontology => a['annotatedClass']['links']['ontology'] + { + class: a['annotatedClass']['@id'], + ontology: a['annotatedClass']['links']['ontology'] } end - def get_annotated_classes(annotations, semantic_types=[]) + def get_annotated_classes(annotations, semantic_types = []) # Use batch service to get class prefLabels class_list = [] - annotations.each {|a| class_list << get_annotated_class_hash(a) } - hierarchy = annotations.map {|a| a if a.keys.include? 'hierarchy' }.compact + annotations.each { |a| class_list << get_annotated_class_hash(a) } + hierarchy = annotations.map { |a| a if a.keys.include? 'hierarchy' }.compact hierarchy.each do |a| - a['hierarchy'].each {|h| class_list << get_annotated_class_hash(h) } + a['hierarchy'].each { |h| class_list << get_annotated_class_hash(h) } end - mappings = annotations.map {|a| a if a.keys.include? 'mappings' }.compact + mappings = annotations.map { |a| a if a.keys.include? 'mappings' }.compact mappings.each do |a| - a['mappings'].each {|m| class_list << get_annotated_class_hash(m) } + a['mappings'].each { |m| class_list << get_annotated_class_hash(m) } end classes_simple = {} return classes_simple if class_list.empty? + # remove duplicates class_set = class_list.to_set # get unique class:ontology set class_list = class_set.to_a # collection requires a list in batch call # make the batch call properties = 'prefLabel' - properties = 'prefLabel,semanticType' if not semantic_types.empty? - call_params = {'http://www.w3.org/2002/07/owl#Class'=>{'collection'=>class_list, 'include'=>properties}} + properties = 'prefLabel,semanticType' unless semantic_types.empty? + call_params = { 'http://www.w3.org/2002/07/owl#Class' => { 'collection' => class_list, 'include' => properties } } classes_json = get_batch_results(call_params) # Simplify the response data for the UI @ontologies_hash ||= get_simplified_ontologies_hash # application_controller classes_data = JSON.parse(classes_json) - classes_data["http://www.w3.org/2002/07/owl#Class"].each do |cls| + classes_data['http://www.w3.org/2002/07/owl#Class'].each do |cls| c = simplify_class_model(cls) - ont_details = @ontologies_hash[ c[:ontology] ] + ont_details = @ontologies_hash[c[:ontology]] next if ont_details.nil? # NO DISPLAY FOR ANNOTATIONS ON ANY CLASS OUTSIDE THE BIOPORTAL ONTOLOGY SET. + c[:ontology] = ont_details - unless semantic_types.empty? || cls['semanticType'].nil? - @semantic_types ||= get_semantic_types # application_controller + if semantic_types.empty? || cls['semanticType'].nil? + c[:semantic_types] = [] + else + @semantic_types ||= get_semantic_types # application_controller # Extract the semantic type descriptions that are requested. semanticTypeURI = 'http://bioportal.bioontology.org/ontologies/umls/sty/' - semanticCodes = cls['semanticType'].map {|t| t.sub( semanticTypeURI, '') } - requestedCodes = semanticCodes.map {|code| (semantic_types.include? code and code) || nil }.compact - requestedDescriptions = requestedCodes.map {|code| @semantic_types[code] }.compact + semanticCodes = cls['semanticType'].map { |t| t.sub(semanticTypeURI, '') } + requestedCodes = semanticCodes.map { |code| (semantic_types.include? code and code) || nil }.compact + requestedDescriptions = requestedCodes.map { |code| @semantic_types[code] }.compact c[:semantic_types] = requestedDescriptions - else - c[:semantic_types] = [] end classes_simple[c[:id]] = c end - return classes_simple + classes_simple end # Get the ontologies from NCBO to populate select onto for the Annotator plus @@ -212,13 +221,12 @@ def get_ontologies_for_select ontologies_array.push(["#{onto['name']} (#{onto['acronym']})", onto['acronym']]) end - return ontologies_array + ontologies_array end - + protected - + def check_ncbo_annotatorplus_enabled - raise ActionController::RoutingError.new('Not Found') unless $NCBO_ANNOTATORPLUS_ENABLED == true + raise ActionController::RoutingError, 'Not Found' unless $NCBO_ANNOTATORPLUS_ENABLED == true end - end diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb index b47208ac24..a466fe67cc 100644 --- a/app/controllers/notes_controller.rb +++ b/app/controllers/notes_controller.rb @@ -1,11 +1,13 @@ +# frozen_string_literal: true + class NotesController < ApplicationController include TurboHelper layout 'ontology' NOTES_PROPOSAL_TYPES = { - ProposalNewClass: "New Class Proposal", - ProposalChangeHierarchy: "New Relationship Proposal", - ProposalChangeProperty: "Change Property Value Proposal" - } + ProposalNewClass: 'New Class Proposal', + ProposalChangeHierarchy: 'New Relationship Proposal', + ProposalChangeProperty: 'Change Property Value Proposal' + }.freeze def show id = clean_note_id(params[:id]) @@ -13,10 +15,10 @@ def show @note = LinkedData::Client::Models::Note.get(id, include_threads: true) @ontology = (@notes.explore.relatedOntology || []).first - if request.xhr? - render :partial => 'thread' - return - end + return unless request.xhr? + + render partial: 'thread' + nil end def new_comment @@ -33,8 +35,8 @@ def new_proposal def new_reply render 'notes/reply/new', locals: { frame_id: "#{params[:parent_id]}_new_reply", - parent_id: params[:parent_id], type: 'reply', - user_id: session[:user].id } + parent_id: params[:parent_id], type: 'reply', + user_id: session[:user].id } end def virtual_show @@ -51,12 +53,12 @@ def virtual_show elsif concept_id @notes = @ontology.explore.single_class(concept_id).explore.notes @note_link = "/notes/virtual/#{@ontology.ontologyId}/?noteid=" - render :partial => 'list', :layout => 'ontology' + render partial: 'list', layout: 'ontology' return else @notes = @ontology.explore.notes @note_link = "/notes/virtual/#{@ontology.ontologyId}/?noteid=" - render :partial => 'list', :layout => 'ontology' + render partial: 'list', layout: 'ontology' return end @@ -66,30 +68,31 @@ def virtual_show end render 'notes/show', layout: false - end + end def create - if params[:type].eql?("reply") + if params[:type].eql?('reply') note = LinkedData::Client::Models::Reply.new(values: note_params) new_note = note.save success_message = '' - locals = { note: new_note, parent_id: params[:parent]} + locals = { note: new_note, parent_id: params[:parent] } partial = 'notes/reply/reply' container_id = "#{params[:parent]}_thread_replay_container" alerts_container_id = "#{params[:parent]}_reply" else if params[:proposal] - cast_to_list = [:synonym, :definition, :newRelationshipType] + cast_to_list = %i[synonym definition newRelationshipType] cast_to_list.each do |property| params[:proposal][property] = params[:proposal][property].split(',') if params[:proposal][property] end - params[:subject] = "#{NOTES_PROPOSAL_TYPES[params[:proposal][:type].to_sym]}: #{params[:proposal][:reasonForChange]}" + params[:subject] = + "#{NOTES_PROPOSAL_TYPES[params[:proposal][:type].to_sym]}: #{params[:proposal][:reasonForChange]}" end - if params[:type].eql?("ontology") + if params[:type].eql?('ontology') params[:relatedOntology] = [params.delete(:parent)] - elsif params[:type].eql?("class") + elsif params[:type].eql?('class') related_class = params.delete(:parent) ontology_id = params.delete(:ontology_id) params[:relatedClass] = [{ ontology: ontology_id, class: related_class }] @@ -98,7 +101,7 @@ def create note = LinkedData::Client::Models::Note.new(values: note_params) new_note = note.save - parent_type = params[:type].eql?("ontology") ? 'ontology' : 'class' + parent_type = params[:type].eql?('ontology') ? 'ontology' : 'class' ontology_acronym = new_note.relatedOntology.first.split('/').last success_message = 'New comment added successfully' locals = { note: new_note, ontology_acronym: ontology_acronym, parent_type: parent_type } @@ -107,14 +110,13 @@ def create alerts_container_id = nil end - if new_note.errors render_turbo_stream alert_error(id: alerts_container_id) { response_errors(new_note).to_s } else streams = [prepend(container_id, partial: partial, locals: locals)] - streams.unshift(alert_success { success_message }) unless params[:type].eql?("reply") + streams.unshift(alert_success { success_message }) unless params[:type].eql?('reply') - render_turbo_stream *streams + render_turbo_stream(*streams) end end @@ -138,46 +140,46 @@ def destroy if response[:errors] render_turbo_stream alert_error(id: alerts_container_id) { response[:errors].join(',').to_s } else - render_turbo_stream(alert_success(id: alerts_container_id) { response[:success] }, remove("#{note_id}_tr_#{parent_type}")) + render_turbo_stream(alert_success(id: alerts_container_id) do + response[:success] + end, remove("#{note_id}_tr_#{parent_type}")) end - end def archive ontology = DataAccess.getLatestOntology(params[:ontology_virtual_id]) unless ontology.admin?(session[:user]) - render :json => nil.to_json, :status => 500 + render json: nil.to_json, status: 500 return end @archive = DataAccess.archiveNote(params) - unless @archive.nil? - render :json => @archive.to_json - end + return if @archive.nil? + + render json: @archive.to_json end def show_concept_list - params[:p] = "classes" - params[:t] = "notes" + params[:p] = 'classes' + params[:t] = 'notes' redirect_new_api end private def note_params - p = params.permit(:parent, :type, :subject, :body, :creator, { relatedClass:[:class, :ontology] }, { relatedOntology:[] }, - proposal: [:type, :reasonForChange, :classId, :label, { synonym:[] }, { definition:[] }, - :parent, :newTarget, :oldTarget, { newRelationshipType:[] }, :propertyId, + p = params.permit(:parent, :type, :subject, :body, :creator, { relatedClass: %i[class ontology] }, { relatedOntology: [] }, + proposal: [:type, :reasonForChange, :classId, :label, { synonym: [] }, { definition: [] }, + :parent, :newTarget, :oldTarget, { newRelationshipType: [] }, :propertyId, :newValue, :oldValue]) p.to_h end # Fix noteid parameters with bad prefixes (some application servers, e.g., Apache, NGINX, mangle encoded slashes). def clean_note_id(id) - id = id.match(/\Ahttp:\/\w/) ? id.sub('http:/', 'http://') : id + id = id.match(%r{\Ahttp:/\w}) ? id.sub('http:/', 'http://') : id CGI.unescape(id) end - end diff --git a/app/controllers/ontolobridge_controller.rb b/app/controllers/ontolobridge_controller.rb index 476f3efa55..7e8cd4aa06 100644 --- a/app/controllers/ontolobridge_controller.rb +++ b/app/controllers/ontolobridge_controller.rb @@ -1,8 +1,9 @@ +# frozen_string_literal: true + require 'rest-client' require 'multi_json' class OntolobridgeController < ApplicationController - # POST /ontolobridge # POST /ontolobridge.xml def create @@ -11,32 +12,31 @@ def create def request_term response = {} - endpoint = "/RequestTerm" + endpoint = '/RequestTerm' h_params = {} - response_raw = nil code = 200 begin - params.delete("controller") - params.delete("action") - params.each { |k, v| - if v === "on" - h_params[k] = true - else - h_params[k] = v - end - } - - headers = {'Authorization' => $ONTOLOBRIDGE_AUTHENTICATION_TOKEN} + params.delete('controller') + params.delete('action') + params.each do |k, v| + h_params[k] = if v === 'on' + true + else + v + end + end + + headers = { 'Authorization' => $ONTOLOBRIDGE_AUTHENTICATION_TOKEN } response_raw = RestClient.post("#{$ONTOLOBRIDGE_BASE_URL}#{endpoint}", h_params, headers) code = response_raw.code response.merge!(MultiJson.load(response_raw)) rescue RestClient::BadRequest => e code = 400 - response["error"] = e.message + response['error'] = e.message rescue Exception => e code = 500 - response["error"] = "Problem creating a new term #{endpoint}: #{e.class} - #{e.message}" + response['error'] = "Problem creating a new term #{endpoint}: #{e.class} - #{e.message}" end render json: [response, code], status: code @@ -44,7 +44,7 @@ def request_term def save_new_term_instructions code = 200 - response = {error: '', success: ''} + response = { error: '', success: '' } response[:success] = "New term request instructions for #{params['acronym']} saved" ont_data = Ontology.find_by(acronym: params['acronym']) ont_data ||= Ontology.new @@ -53,12 +53,11 @@ def save_new_term_instructions begin ont_data.save - rescue Exception => e + rescue Exception code = 500 response[:error] = "Unable to save new term instructions for #{params['acronym']} due to a server error" end sleep(1) render json: [response, code], status: code end - end diff --git a/app/controllers/ontologies_controller.rb b/app/controllers/ontologies_controller.rb index 689235b337..326b85e322 100644 --- a/app/controllers/ontologies_controller.rb +++ b/app/controllers/ontologies_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class OntologiesController < ApplicationController include MappingsHelper include FairScoreHelper @@ -20,11 +22,12 @@ class OntologiesController < ApplicationController layout 'ontology' - before_action :authorize_and_redirect, :only => [:edit, :update, :create, :new] + before_action :authorize_and_redirect, only: %i[edit update create new] before_action :submission_metadata, only: [:show] - KNOWN_PAGES = Set.new(["terms", "classes", "mappings", "notes", "widgets", "summary", "properties", "instances", "schemes", "collections"]) - EXTERNAL_MAPPINGS_GRAPH = "http://data.bioontology.org/metadata/ExternalMappings" - INTERPORTAL_MAPPINGS_GRAPH = "http://data.bioontology.org/metadata/InterportalMappings" + KNOWN_PAGES = Set.new(%w[terms classes mappings notes widgets summary properties instances + schemes collections]) + EXTERNAL_MAPPINGS_GRAPH = 'http://data.bioontology.org/metadata/ExternalMappings' + INTERPORTAL_MAPPINGS_GRAPH = 'http://data.bioontology.org/metadata/InterportalMappings' # GET /ontologies def index @@ -51,22 +54,24 @@ def ontologies_filter count_streams = [ replace('ontologies_filter_count_request') do - helpers.content_tag(:p, class: "browse-desc-text", style: "margin-bottom: 12px !important;") { "Showing #{@ontologies.size} of #{@analytics.keys.size}" } + helpers.content_tag(:p, class: 'browse-desc-text', style: 'margin-bottom: 12px !important;') { + "Showing #{@ontologies.size} of #{@analytics.keys.size}" + } end ] + update_filters_counts - streams =if params[:page].nil? - [ - prepend('ontologies_list_container', partial: 'ontologies/browser/ontologies'), - prepend('ontologies_list_container') { - helpers.turbo_frame_tag("ontologies_filter_count_request") do - helpers.browser_counter_loader - end - } - ] - else - [replace("ontologies_list_view-page-1", partial: 'ontologies/browser/ontologies')] - end + streams = if params[:page].nil? + [ + prepend('ontologies_list_container', partial: 'ontologies/browser/ontologies'), + prepend('ontologies_list_container') do + helpers.turbo_frame_tag('ontologies_filter_count_request') do + helpers.browser_counter_loader + end + end + ] + else + [replace('ontologies_list_view-page-1', partial: 'ontologies/browser/ontologies')] + end render turbo_stream: streams + count_streams end @@ -92,9 +97,7 @@ def classes @current_purl = @concept.purl if $PURL_ENABLED - unless @concept.nil? || @concept.id == 'bp_fake_root' - @notes = @concept.explore.notes - end + @notes = @concept.explore.notes unless @concept.nil? || @concept.id == 'bp_fake_root' if request.xhr? render 'ontologies/sections/visualize', layout: false @@ -104,11 +107,9 @@ def classes end def properties - if request.xhr? - return render 'ontologies/sections/properties', layout: false - else - return render 'ontologies/sections/properties', layout: 'ontology_viewer' - end + return render 'ontologies/sections/properties', layout: false if request.xhr? + + render 'ontologies/sections/properties', layout: 'ontology_viewer' end def create @@ -132,7 +133,9 @@ def create def edit @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(params[:id]).first - redirect_to_home unless session[:user] && @ontology.administeredBy.include?(session[:user].id) || session[:user].admin? + unless session[:user] && @ontology.administeredBy.include?(session[:user].id) || session[:user].admin? + redirect_to_home + end submission = @ontology.explore.latest_submission(include: 'submissionId') if submission @@ -155,7 +158,8 @@ def mappings def new @ontology = LinkedData::Client::Models::Ontology.new @submission = LinkedData::Client::Models::OntologySubmission.new - @ontologies = LinkedData::Client::Models::Ontology.all(include: 'acronym', include_views: true, display_links: false, display_context: false) + @ontologies = LinkedData::Client::Models::Ontology.all(include: 'acronym', include_views: true, + display_links: false, display_context: false) @categories = LinkedData::Client::Models::Category.all @groups = LinkedData::Client::Models::Group.all @user_select_list = LinkedData::Client::Models::User.all.map { |u| [u.username, u.id] } @@ -210,7 +214,6 @@ def collections # GET /ontologies/ACRONYM # GET /ontologies/1.xml def show - # Hack to make ontologyid and conceptid work in addition to id and ontology params params[:id] = params[:id].nil? ? params[:ontologyid] : params[:id] params[:ontology] = params[:ontology].nil? ? params[:id] : params[:ontology] @@ -225,11 +228,12 @@ def show else params[:conceptid] = params.delete(:purl_conceptid) end - redirect_to "/ontologies/#{params[:acronym]}?p=classes#{params_string_for_redirect(params, prefix: "&")}", status: :moved_permanently + redirect_to "/ontologies/#{params[:acronym]}?p=classes#{params_string_for_redirect(params, prefix: '&')}", + status: :moved_permanently return end - if params[:ontology].to_i > 0 + if params[:ontology].to_i.positive? acronym = BPIDResolver.id_to_acronym(params[:ontology]) if acronym redirect_new_api @@ -237,23 +241,27 @@ def show end end - # Note: find_by_acronym includes ontology views + # NOTE: find_by_acronym includes ontology views @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(params[:ontology]).first ontology_not_found(params[:ontology]) if @ontology.nil? # Handle the case where an ontology is converted to summary only. # See: https://github.com/ncbo/bioportal_web_ui/issues/133. if @ontology.summaryOnly && params[:p].present? - pages = KNOWN_PAGES - ['summary', 'notes'] + pages = KNOWN_PAGES - %w[summary notes] if pages.include?(params[:p]) redirect_to(ontology_path(params[:ontology]), status: :temporary_redirect) and return end end - #@ob_instructions = helpers.ontolobridge_instructions_template(@ontology) + # @ob_instructions = helpers.ontolobridge_instructions_template(@ontology) # Get the latest submission (not necessarily the latest 'ready' submission) - @submission_latest = @ontology.explore.latest_submission(include: 'all') rescue @ontology.explore.latest_submission(include: '') + @submission_latest = begin + @ontology.explore.latest_submission(include: 'all') + rescue StandardError + @ontology.explore.latest_submission(include: '') + end # Is the ontology downloadable? @ont_restricted = ontology_restricted?(@ontology.acronym) @@ -267,27 +275,26 @@ def show params[:p] = 'classes' redirect_to "/ontologies/#{params[:ontology]}#{params_string_for_redirect(params)}", status: :moved_permanently when 'classes' - self.classes #rescue self.summary + classes # rescue self.summary when 'mappings' - self.mappings #rescue self.summary + mappings # rescue self.summary when 'notes' - self.notes #rescue self.summary + notes # rescue self.summary when 'widgets' - self.widgets #rescue self.summary + widgets # rescue self.summary when 'properties' - self.properties #rescue self.summary + properties # rescue self.summary when 'summary' - self.summary + summary when 'instances' - self.instances + instances when 'schemes' - self.schemes + schemes when 'collections' - self.collections + collections else - self.summary + summary end - end def submit_success @@ -297,9 +304,12 @@ def submit_success # Main ontology description page (with metadata): /ontologies/ACRONYM def summary - - @metrics = @ontology.explore.metrics rescue [] - #@reviews = @ontology.explore.reviews.sort {|a,b| b.created <=> a.created} || [] + @metrics = begin + @ontology.explore.metrics + rescue StandardError + [] + end + # @reviews = @ontology.explore.reviews.sort {|a,b| b.created <=> a.created} || [] @projects = @ontology.explore.projects.sort { |a, b| a.name.downcase <=> b.name.downcase } || [] @analytics = LinkedData::Client::HTTP.get(@ontology.links['analytics']) @@ -311,19 +321,24 @@ def summary @view_decorators = @views.map { |view| ViewDecorator.new(view, view_context) } @ontology_relations_data = ontology_relations_data - category_attributes = submission_metadata.group_by{|x| x['category']}.transform_values{|x| x.map{|attr| attr['attribute']} } + category_attributes = submission_metadata.group_by { |x| x['category'] }.transform_values do |x| + x.map do |attr| + attr['attribute'] + end + end @relations_array_display = @relations_array.map do |relation| attr = relation.split(':').last ["#{helpers.attr_label(attr, attr_metadata: helpers.attr_metadata(attr), show_tooltip: false)}(#{relation})", relation] end - @methodology_properties = properties_hash_values(category_attributes["methodology"]) - @agents_properties = properties_hash_values(category_attributes["persons and organizations"]) - @dates_properties = properties_hash_values(category_attributes["dates"]) - @links_properties = properties_hash_values(category_attributes["links"]) - @identifiers = properties_hash_values([:URI, :versionIRI, :identifier]) - @projects_properties = properties_hash_values(category_attributes["usage"]) - @ontology_icon_links = [%w[summary/download dataDump], %w[summary/homepage homepage], %w[summary/documentation documentation], %w[icons/github repository], %w[summary/sparql endpoint]] + @methodology_properties = properties_hash_values(category_attributes['methodology']) + @agents_properties = properties_hash_values(category_attributes['persons and organizations']) + @dates_properties = properties_hash_values(category_attributes['dates']) + @links_properties = properties_hash_values(category_attributes['links']) + @identifiers = properties_hash_values(%i[URI versionIRI identifier]) + @projects_properties = properties_hash_values(category_attributes['usage']) + @ontology_icon_links = [%w[summary/download dataDump], %w[summary/homepage homepage], + %w[summary/documentation documentation], %w[icons/github repository], %w[summary/sparql endpoint]] if request.xhr? render partial: 'ontologies/sections/metadata', layout: false else @@ -331,7 +346,6 @@ def summary end end - def virtual redirect_new_api end @@ -347,42 +361,38 @@ def widgets render partial: 'ontologies/sections/widgets', layout: 'ontology_viewer' end end - def show_additional_metadata @metadata = submission_metadata @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(params[:id]).first - @submission_latest = @ontology.explore.latest_submission(include: 'all', display_context: false, display_links: false) + @submission_latest = @ontology.explore.latest_submission(include: 'all', display_context: false, + display_links: false) render partial: 'ontologies/sections/additional_metadata' end def show_licenses - @metadata = submission_metadata @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(params[:id]).first - @licenses= ["hasLicense","morePermissions","copyrightHolder"] - @submission_latest = @ontology.explore.latest_submission(include: @licenses.join(",")) + @licenses = %w[hasLicense morePermissions copyrightHolder] + @submission_latest = @ontology.explore.latest_submission(include: @licenses.join(',')) render partial: 'ontologies/sections/licenses' end - def ajax_ontologies - + def ajax_ontologies render json: LinkedData::Client::Models::Ontology.all(include_views: true, display: 'acronym,name', display_links: false, display_context: false) end - - def metrics_evolution @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(params[:ontology_id]).first key = params[:metrics_key] ontology_not_found(params[:ontology_id]) if @ontology.nil? # Retrieve submissions in descending submissionId order (should be reverse chronological order) - @submissions = @ontology.explore.submissions({ include: "metrics" }) - .sort { |a, b| a.submissionId.to_i <=> b.submissionId.to_i }.reverse || [] + @submissions = @ontology.explore.submissions({ include: 'metrics' }) + .sort { |a, b| a.submissionId.to_i <=> b.submissionId.to_i }.reverse || [] - metrics = @submissions.map { |s| s.metrics } + metrics = @submissions.map(&:metrics) data = { key => metrics.map { |m| m.nil? ? 0 : m[key] } @@ -392,18 +402,19 @@ def metrics_evolution end private + def get_views(ontology) views = ontology.explore.views || [] - views.select!{ |view| view.access?(session[:user]) } - views.sort{ |a,b| a.acronym.downcase <=> b.acronym.downcase } + views.select! { |view| view.access?(session[:user]) } + views.sort { |a, b| a.acronym.downcase <=> b.acronym.downcase } end def ontology_relations_data(sub = @submission_latest) ontology_relations_array = [] - @relations_array = ["omv:useImports", "door:isAlignedTo", "door:ontologyRelatedTo", "omv:isBackwardCompatibleWith", "omv:isIncompatibleWith", "door:comesFromTheSameDomain", "door:similarTo", - "door:explanationEvolution", "voaf:generalizes", "door:hasDisparateModelling", "dct:hasPart", "voaf:usedBy", "schema:workTranslation", "schema:translationOfWork"] + @relations_array = ['omv:useImports', 'door:isAlignedTo', 'door:ontologyRelatedTo', 'omv:isBackwardCompatibleWith', 'omv:isIncompatibleWith', 'door:comesFromTheSameDomain', 'door:similarTo', + 'door:explanationEvolution', 'voaf:generalizes', 'door:hasDisparateModelling', 'dct:hasPart', 'voaf:usedBy', 'schema:workTranslation', 'schema:translationOfWork'] - return if sub.nil? + return if sub.nil? ont = sub.ontology # Get ontology relations between each other (ex: STY isAlignedTo GO) @@ -411,7 +422,7 @@ def ontology_relations_data(sub = @submission_latest) relation_values = sub.send(relation_attr.to_s.split(':')[1]) next if relation_values.nil? || relation_values.empty? - relation_values = [relation_values] unless relation_values.kind_of?(Array) + relation_values = [relation_values] unless relation_values.is_a?(Array) relation_values.each do |relation_value| next if relation_value.eql?(ont.acronym) @@ -428,12 +439,14 @@ def ontology_relations_data(sub = @submission_latest) target_in_portal = true end - ontology_relations_array.push({ source: ont.acronym, target: target_id, relation: relation_attr.to_s, targetInPortal: target_in_portal }) + ontology_relations_array.push({ source: ont.acronym, target: target_id, relation: relation_attr.to_s, + targetInPortal: target_in_portal }) end end ontology_relations_array end + def properties_hash_values(properties, sub = @submission_latest) return {} if sub.nil? @@ -444,8 +457,8 @@ def get_metrics_hash metrics_hash = {} # TODO: Metrics do not return for views on the backend, need to enable include_views param there @metrics = LinkedData::Client::Models::Metrics.all(include_views: true) - @metrics.each {|m| metrics_hash[m.links['ontology']] = m } - return metrics_hash + @metrics.each { |m| metrics_hash[m.links['ontology']] = m } + metrics_hash end def determine_layout @@ -456,5 +469,4 @@ def determine_layout super end end - end diff --git a/app/controllers/ontologies_metadata_curator_controller.rb b/app/controllers/ontologies_metadata_curator_controller.rb index 5d25ab6a77..aad7dd1a5e 100644 --- a/app/controllers/ontologies_metadata_curator_controller.rb +++ b/app/controllers/ontologies_metadata_curator_controller.rb @@ -1,8 +1,12 @@ +# frozen_string_literal: true + class OntologiesMetadataCuratorController < ApplicationController - include TurboHelper, SubmissionsHelper, ActionView::Helpers::FormHelper + include ActionView::Helpers::FormHelper + include SubmissionsHelper + include TurboHelper include SubmissionUpdater layout :determine_layout - before_action :submission_metadata, only: [:result, :edit, :update, :show_metadata_by_ontology] + before_action :submission_metadata, only: %i[result edit update show_metadata_by_ontology] def result @ontologies_ids = params[:ontology] ? params[:ontology][:ontologyId] : [] @@ -21,34 +25,38 @@ def result display_attribute = equivalent_properties(@metadata_sel) + %w[submissionId] @ontologies.each do |ont| - if @show_submissions - submissions = ont.explore.submissions({ include: display_attribute.join(',') }) - else - submissions = [ont.explore.latest_submission({ include: display_attribute.join(',') })] - end + submissions = if @show_submissions + ont.explore.submissions({ include: display_attribute.join(',') }) + else + [ont.explore.latest_submission({ include: display_attribute.join(',') })] + end submissions.each { |sub| append_submission(ont, sub) } end respond_to do |format| format.html { redirect_to admin_index_path } - format.turbo_stream { render turbo_stream: [ - replace("selection_metadata_form", partial: "ontologies_metadata_curator/metadata_table"), - replace('edit_metadata_btn') do - " - #{helpers.button_tag("Start bulk edit", onclick: 'showEditForm(event)', class: "btn btn-outline-primary mx-1 w-100")} + format.turbo_stream do + render turbo_stream: [ + replace('selection_metadata_form', partial: 'ontologies_metadata_curator/metadata_table'), + replace('edit_metadata_btn') do + " + #{helpers.button_tag('Start bulk edit', onclick: 'showEditForm(event)', + class: 'btn btn-outline-primary mx-1 w-100')} #{raw helpers.help_tooltip('To use the bulk edit select in the table submissions (the rows) and metadata properties (the columns) for which you want to edit')} ".html_safe - end - ]} + end + ] + end end end def show_metadata_by_ontology @acronym = params[:ontology] - inline_save = params[:inline_save] && params[:inline_save].eql?('true') + inline_save = params[:inline_save]&.eql?('true') display_submission_attributes(@acronym, params[:properties]&.split(','), submissionId: params[:submission_id], inline_save: inline_save) - render partial: 'submissions/form_content', locals: { id: params[:form_id] || '', acronym: @acronym, submissionId: params[:submission_id] } + render partial: 'submissions/form_content', + locals: { id: params[:form_id] || '', acronym: @acronym, submissionId: params[:submission_id] } end def show_metadata_value @@ -63,9 +71,10 @@ def show_metadata_value end def edit - if params[:selected_acronyms].nil? || params[:selected_metadata].nil? - render_turbo_stream alert_error(id: 'application_modal_content') {'Select in the table submissions (rows) and metadata properties (columns) to start the bulk edit'} + render_turbo_stream alert_error(id: 'application_modal_content') { + 'Select in the table submissions (rows) and metadata properties (columns) to start the bulk edit' + } return end @@ -102,8 +111,11 @@ def update else streams = [alert_success { 'Submissions were successfully updated' }] @submissions.each do |submission| - submission.ontology = OpenStruct.new({acronym: submission.ontology}) - streams << replace("#{ontology_submission_id_label(submission.ontology.acronym, submission.submissionId)}_row", partial: 'ontologies_metadata_curator/metadata_table_row', locals: {submission: submission, attributes: @all_metadata }) + submission.ontology = OpenStruct.new({ acronym: submission.ontology }) + streams << replace( + "#{ontology_submission_id_label(submission.ontology.acronym, + submission.submissionId)}_row", partial: 'ontologies_metadata_curator/metadata_table_row', locals: { submission: submission, attributes: @all_metadata } + ) end render_turbo_stream(*streams) end @@ -113,7 +125,6 @@ def update private - def append_submission(ontology, submission) sub = submission return if sub.nil? @@ -121,5 +132,4 @@ def append_submission(ontology, submission) sub.ontology = ontology @submissions << sub end - end diff --git a/app/controllers/precache_controller.rb b/app/controllers/precache_controller.rb index 54f2290743..57500e792c 100644 --- a/app/controllers/precache_controller.rb +++ b/app/controllers/precache_controller.rb @@ -1,18 +1,18 @@ +# frozen_string_literal: true + require 'uri' class PrecacheController < ApplicationController - - $UI_PORT = "80" + $UI_PORT = '80' # $UI_PORT = "3000" - def self.precache_all(delete_cache = false) if delete_cache - p "Deleting general cache info" - CACHE.delete("act_ont_list") - CACHE.delete("ont_list") - CACHE.delete("ontology_acronyms") - CACHE.delete("classes_all_ontologies") + p 'Deleting general cache info' + CACHE.delete('act_ont_list') + CACHE.delete('ont_list') + CACHE.delete('ontology_acronyms') + CACHE.delete('classes_all_ontologies') end get_url("http://localhost:#{$UI_PORT}") @@ -53,9 +53,7 @@ def self.precache_ontology_summary(delete_cache = false) def self.precache_ontology_mappings(delete_cache = false) ontologies = DataAccess.getOntologyList ontologies.each do |ont| - if delete_cache - CACHE.delete("between_ontologies::map_count::#{ont.ontologyId}") - end + CACHE.delete("between_ontologies::map_count::#{ont.ontologyId}") if delete_cache get_url("http://localhost:#{$UI_PORT}/ontologies/#{ont.ontologyId}?p=mappings") end @@ -81,10 +79,10 @@ def self.get_url(url) begin timer = Time.now - res = http.start { |con| - path = uri.path.empty? ? "/" : uri.path + res = http.start do |con| + path = uri.path.empty? ? '/' : uri.path con.get(path) - } + end p "Retrieved in #{(Time.now - timer).to_f.round(2)}s" rescue Exception => e p "Failed to get #{url}: #{e.message}" @@ -92,5 +90,4 @@ def self.get_url(url) res.body end - end diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index eb9f35297b..364a4d65c4 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class ProjectsController < ApplicationController # GET /projects # GET /projects.xml @@ -7,13 +9,13 @@ class ProjectsController < ApplicationController def index @projects = LinkedData::Client::Models::Project.all @projects.reject! { |p| p.name.nil? } - @projects.sort! { |a,b| a.name.downcase <=> b.name.downcase } + @projects.sort! { |a, b| a.name.downcase <=> b.name.downcase } @ontologies = LinkedData::Client::Models::Ontology.all(include_views: true) - @ontologies_hash = Hash[@ontologies.map {|ont| [ont.id, ont]}] + @ontologies_hash = Hash[@ontologies.map { |ont| [ont.id, ont] }] if request.xhr? - render action: "index", layout: false + render action: 'index', layout: false else - render action: "index" + render action: 'index' end end @@ -26,28 +28,26 @@ def show redirect_to projects_path return end - + @project = projects.first @ontologies_used = [] onts_used = @project.ontologyUsed onts_used.each do |ont_used| ont = LinkedData::Client::Models::Ontology.find(ont_used) - unless ont.nil? - @ontologies_used << Hash["name", ont.name, "acronym", ont.acronym] - end + @ontologies_used << Hash['name', ont.name, 'acronym', ont.acronym] unless ont.nil? end - @ontologies_used.sort_by!{ |o| o["name"].downcase } + @ontologies_used.sort_by! { |o| o['name'].downcase } end # GET /projects/new # GET /projects/new.xml def new if session[:user].nil? - redirect_to :controller => 'login', :action => 'index' + redirect_to controller: 'login', action: 'index' else @project = LinkedData::Client::Models::Project.new - @user_select_list = LinkedData::Client::Models::User.all.map {|u| [u.username, u.id]} - @user_select_list.sort! {|a,b| a[1].downcase <=> b[1].downcase} + @user_select_list = LinkedData::Client::Models::User.all.map { |u| [u.username, u.id] } + @user_select_list.sort! { |a, b| a[1].downcase <=> b[1].downcase } end end @@ -60,8 +60,8 @@ def edit return end @project = projects.first - @user_select_list = LinkedData::Client::Models::User.all.map {|u| [u.username, u.id]} - @user_select_list.sort! {|a,b| a[1].downcase <=> b[1].downcase} + @user_select_list = LinkedData::Client::Models::User.all.map { |u| [u.username, u.id] } + @user_select_list.sort! { |a, b| a[1].downcase <=> b[1].downcase } @usedOntologies = @project.ontologyUsed || [] @ontologies = LinkedData::Client::Models::Ontology.all end @@ -76,7 +76,7 @@ def create @project = LinkedData::Client::Models::Project.new(values: project_params) @project_saved = @project.save - + # Project successfully created. if response_success?(@project_saved) flash[:notice] = 'Project successfully created' @@ -93,9 +93,9 @@ def create end @project = LinkedData::Client::Models::Project.new(values: project_params) - @user_select_list = LinkedData::Client::Models::User.all.map {|u| [u.username, u.id]} - @user_select_list.sort! {|a,b| a[1].downcase <=> b[1].downcase} - render action: "new" + @user_select_list = LinkedData::Client::Models::User.all.map { |u| [u.username, u.id] } + @user_select_list.sort! { |a, b| a[1].downcase <=> b[1].downcase } + render action: 'new' end # PUT /projects/1 @@ -113,8 +113,8 @@ def update end @project = projects.first @project.update_from_params(project_params) - @user_select_list = LinkedData::Client::Models::User.all.map {|u| [u.username, u.id]} - @user_select_list.sort! {|a,b| a[1].downcase <=> b[1].downcase} + @user_select_list = LinkedData::Client::Models::User.all.map { |u| [u.username, u.id] } + @user_select_list.sort! { |a, b| a[1].downcase <=> b[1].downcase } @usedOntologies = @project.ontologyUsed || [] @ontologies = LinkedData::Client::Models::Ontology.all error_response = @project.update @@ -152,14 +152,13 @@ def destroy format.xml { head :ok } end end - end private def project_params - p = params.require(:project).permit(:name, :acronym, :institution, :contacts, { creator:[] }, :homePage, - :description, { ontologyUsed:[] }) + p = params.require(:project).permit(:name, :acronym, :institution, :contacts, { creator: [] }, :homePage, + :description, { ontologyUsed: [] }) p[:creator].reject!(&:blank?) p[:ontologyUsed].reject!(&:blank?) p.to_h @@ -171,5 +170,4 @@ def flash_error(msg) html << msg html << ''.html_safe end - end diff --git a/app/controllers/recommender_controller.rb b/app/controllers/recommender_controller.rb index 256fee3e49..0a9cc599d7 100644 --- a/app/controllers/recommender_controller.rb +++ b/app/controllers/recommender_controller.rb @@ -1,8 +1,10 @@ +# frozen_string_literal: true + class RecommenderController < ApplicationController layout :determine_layout # REST_URI is defined in application_controller.rb - RECOMMENDER_URI = "/recommender" + RECOMMENDER_URI = '/recommender' def index @text = params[:text] @@ -30,9 +32,9 @@ def index # NOTE: this call (POST) works at a local environment but not in staging def create start = Time.now - input = params[:input].strip.gsub("\r\n", " ").gsub("\n", " ") + input = params[:input].strip.gsub("\r\n", ' ').gsub("\n", ' ') # Default values are set at the service level) - form_data = Hash.new + form_data = {} form_data['input'] = input form_data['ontologies'] = params[:ontologies].join(',') unless params[:ontologies].nil? form_data['input_type'] = params[:input_type] unless params[:input_type].nil? @@ -46,5 +48,4 @@ def create LOG.add :debug, "Retrieved #{recommendations.length} recommendations: #{Time.now - start}s" render json: recommendations end - end diff --git a/app/controllers/redirect_controller.rb b/app/controllers/redirect_controller.rb index c36d4c2f56..3dc29a954e 100644 --- a/app/controllers/redirect_controller.rb +++ b/app/controllers/redirect_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'cgi' # The redirect controller allows for routes-based redirects @@ -6,21 +8,22 @@ class RedirectController < ApplicationController def index if params[:url] # We were provided with a url to redirect to - params_string = "" + params_string = '' # Trigger to switch the placeholders first_param = true # Loop through the given params, ignore ones we know about or are provided by default params.each do |param, value| - next if ["url", "action", "controller"].include?(param) - seperator = first_param ? "?" : "&" + next if %w[url action controller].include?(param) + + seperator = first_param ? '?' : '&' first_param = false - params_string += seperator + param + "=" + CGI.escape(value) + params_string += "#{seperator}#{param}=#{CGI.escape(value)}" end # Redirect with params intact - redirect_to params[:url] + params_string, :status=>:moved_permanently - return + redirect_to params[:url] + params_string, status: :moved_permanently + nil else # Default redirect to the home page - redirect_to "/", :status=>:moved_permanently + redirect_to '/', status: :moved_permanently end end end diff --git a/app/controllers/reviews_controller.rb b/app/controllers/reviews_controller.rb index c36ef5b7b7..4173c48d7b 100644 --- a/app/controllers/reviews_controller.rb +++ b/app/controllers/reviews_controller.rb @@ -1,24 +1,26 @@ -class ReviewsController < ApplicationController +# frozen_string_literal: true +class ReviewsController < ApplicationController layout 'ontology_viewer' - RATING_TYPES = [ - :usabilityRating, - :coverageRating, - :qualityRating, - :formalityRating, - :correctnessRating, - :documentationRating + RATING_TYPES = %i[ + usabilityRating + coverageRating + qualityRating + formalityRating + correctnessRating + documentationRating ].freeze def new @rating_types = RATING_TYPES @ontology = LinkedData::Client::Models::Ontology.find(params[:ontology]) - @review = LinkedData::Client::Models::Review.new(values: {ontologyReviewed: @ontology.id, creator: session[:user].id}) + @review = LinkedData::Client::Models::Review.new(values: { ontologyReviewed: @ontology.id, + creator: session[:user].id }) - if request.xhr? - render layout: false - end + return unless request.xhr? + + render layout: false end # GET /reviews/1/edit @@ -26,9 +28,9 @@ def edit @review = Review.find(params[:id]) @rating_types = RatingType.all - if request.xhr? - render layout: false - end + return unless request.xhr? + + render layout: false end def create @@ -37,7 +39,7 @@ def create @review_saved = @review.save if response_error?(@review_saved) @errors = response_errors(@review_saved) - render :action => "new" + render action: 'new' else respond_to do |format| format.html do @@ -55,25 +57,25 @@ def create # PUT /reviews/1.xml def update @review = Review.find(params[:id]) - ratings = Hash[*(@review.ratings.map{|rate| [rate.id.to_i, rate] }.flatten)] - #puts ratings.inspect - for rating_key in params.keys - if rating_key.include?("star") - #puts rating_key.split("_")[1].to_i - ratings[rating_key.split("_")[1].to_i].value=params[rating_key].to_i - ratings[rating_key.split("_")[1].to_i].save - end - end - if @review.update_attributes(params[:review]) - @review.reload - if request.xhr? - render :action=>'show', :layout=>false - else - redirect_to reviews(:ontology=>review.ontology_id) - end + ratings = Hash[*@review.ratings.map { |rate| [rate.id.to_i, rate] }.flatten] + # puts ratings.inspect + params.each_key do |rating_key| + next unless rating_key.include?('star') + + # puts rating_key.split("_")[1].to_i + ratings[rating_key.split('_')[1].to_i].value = params[rating_key].to_i + ratings[rating_key.split('_')[1].to_i].save + end + if @review.update_attributes(params[:review]) + @review.reload + if request.xhr? + render action: 'show', layout: false else - render :action => "edit" + redirect_to reviews(ontology: review.ontology_id) end + else + render action: 'edit' + end end # DELETE /reviews/1 diff --git a/app/controllers/robots_controller.rb b/app/controllers/robots_controller.rb index 342f6cf9c8..6095a7215b 100644 --- a/app/controllers/robots_controller.rb +++ b/app/controllers/robots_controller.rb @@ -1,14 +1,16 @@ +# frozen_string_literal: true + class RobotsController < ApplicationController def index # Slices (subdomains) should not be indexed - if @subdomain_filter[:active] - robots = <<-EOF.gsub(/^\s+/, "") + robots = if @subdomain_filter[:active] + <<-EOF.gsub(/^\s+/, '') User-agent: *\n Disallow: / - EOF - else - robots = File.read(Rails.root + "config/robots/#{Rails.env}.txt") - end + EOF + else + File.read(Rails.root + "config/robots/#{Rails.env}.txt") + end render plain: robots end end diff --git a/app/controllers/schemes_controller.rb b/app/controllers/schemes_controller.rb index 34956040ee..d9914dd26c 100644 --- a/app/controllers/schemes_controller.rb +++ b/app/controllers/schemes_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class SchemesController < ApplicationController include SchemesHelper @@ -16,11 +18,11 @@ def show_label private def get_request_scheme - params[:id] = params[:id] ? params[:id] : params[:scheme_id] - params[:ontology_id] = params[:ontology_id] ? params[:ontology_id] : params[:ontology] + params[:id] = params[:id] || params[:scheme_id] + params[:ontology_id] = params[:ontology_id] || params[:ontology] if params[:id].nil? || params[:id].empty? - render :text => "Error: You must provide a valid scheme id" + render text: 'Error: You must provide a valid scheme id' return end @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(params[:ontology_id]).first diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index b5d0525832..35c6ce027b 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -1,47 +1,48 @@ +# frozen_string_literal: true + require 'uri' class SearchController < ApplicationController - skip_before_action :verify_authenticity_token layout :determine_layout def index @search_query = params[:query].nil? ? params[:q] : params[:query] - @search_query ||= "" + @index ||= '' end def json_search if params[:q].nil? - render :text => "No search class provided" + render text: 'No search class provided' return end check_params_query(params) - check_params_ontologies(params) # Filter on ontology_id + check_params_ontologies(params) # Filter on ontology_id search_page = LinkedData::Client::Models::Class.search(params[:q], params) @results = search_page.collection - response = "" - obsolete_response = "" - separator = (params[:separator].nil?) ? "~!~" : params[:separator] - for result in @results + response = '' + obsolete_response = '' + separator = params[:separator].nil? ? '~!~' : params[:separator] + @results.each do |result| # TODO_REV: Format the response with type information, target information # record_type = format_record_type(result[:recordType], result[:obsolete]) - record_type = "" + record_type = '' target_value = result.prefLabel case params[:target] - when "name" - target_value = result.prefLabel - when "shortid" - target_value = result.id - when "uri" - target_value = result.id + when 'name' + target_value = result.prefLabel + when 'shortid' + target_value = result.id + when 'uri' + target_value = result.id end json = [] - json << "#{target_value}" - json << " [obsolete]" if result.obsolete? # used by JS in ontologies/visualize to markup obsolete classes + json << target_value.to_s + json << ' [obsolete]' if result.obsolete? # used by JS in ontologies/visualize to markup obsolete classes json << "|#{result.id}" json << "|#{record_type}" json << "|#{result.explore.ontology.acronym}" @@ -50,14 +51,12 @@ def json_search # This is nasty, but hard to workaround unless we rewrite everything (form_autocomplete, jump_to, crossdomain_autocomplete) # to use JSON from the bottom up. To avoid this, we pass a tab separated column list # Columns: synonym - json << "|#{(result.synonym || []).join(";")}" - if params[:id] && params[:id].split(",").length == 1 - json << "|#{CGI.escape((result.definition || []).join(". "))}#{separator}" - else + json << "|#{(result.synonym || []).join(';')}" + unless params[:id] && params[:id].split(',').length == 1 json << "|#{result.explore.ontology.name}" json << "|#{result.explore.ontology.acronym}" - json << "|#{CGI.escape((result.definition || []).join(". "))}#{separator}" end + json << "|#{CGI.escape((result.definition || []).join('. '))}#{separator}" # Obsolete results go at the end if result.obsolete? @@ -70,54 +69,50 @@ def json_search # Obsolete results merge response << obsolete_response - content_type = "text/html" - if params[:response].eql?("json") - response = response.gsub("\"","'") + content_type = 'text/html' + if params[:response].eql?('json') + response = response.gsub('"', "'") response = "#{params[:callback]}({data:\"#{response}\"})" - content_type = "application/javascript" + content_type = 'application/javascript' end render plain: response, content_type: content_type end - private def check_params_query(params) params[:q] = params[:q].strip - params[:q] = params[:q] + '*' unless params[:q].end_with?("*") # Add wildcard + params[:q] = "#{params[:q]}*" unless params[:q].end_with?('*') # Add wildcard end def check_params_ontologies(params) params[:ontologies] ||= params[:id] - if params[:ontologies] - if params[:ontologies].include?(",") - params[:ontologies] = params[:ontologies].split(",") - else - params[:ontologies] = [params[:ontologies]] - end - if params[:ontologies].first.to_i > 0 - params[:ontologies].map! {|o| BpidResolver.id_to_acronym(o)} - end - params[:ontologies] = params[:ontologies].join(",") - end + return unless params[:ontologies] + + params[:ontologies] = if params[:ontologies].include?(',') + params[:ontologies].split(',') + else + [params[:ontologies]] + end + params[:ontologies].map! { |o| BpidResolver.id_to_acronym(o) } if params[:ontologies].first.to_i.positive? + params[:ontologies] = params[:ontologies].join(',') end def format_record_type(record_type, obsolete = false) - case record_type - when "apreferredname" - record_text = "Preferred Name" - when "bconceptid" - record_text = "Class ID" - when "csynonym" - record_text = "Synonym" - when "dproperty" - record_text = "Property" - else - record_text = "" - end - record_text = "Obsolete Class" if obsolete + record_text = case record_type + when 'apreferredname' + 'Preferred Name' + when 'bconceptid' + 'Class ID' + when 'csynonym' + 'Synonym' + when 'dproperty' + 'Property' + else + '' + end + record_text = 'Obsolete Class' if obsolete record_text end - end diff --git a/app/controllers/submissions_controller.rb b/app/controllers/submissions_controller.rb index 55fd28d3e9..488adbc6c2 100644 --- a/app/controllers/submissions_controller.rb +++ b/app/controllers/submissions_controller.rb @@ -1,9 +1,12 @@ +# frozen_string_literal: true + class SubmissionsController < ApplicationController - include SubmissionsHelper, SubmissionUpdater, OntologyUpdater + include OntologyUpdater + include SubmissionUpdater + include SubmissionsHelper layout :determine_layout - before_action :authorize_and_redirect, :only => [:edit, :update, :create, :new] - before_action :submission_metadata, only: [:create, :edit, :new, :update, :index] - + before_action :authorize_and_redirect, only: %i[edit update create new] + before_action :submission_metadata, only: %i[create edit new update index] def index @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(params[:ontology_id]).first @@ -13,11 +16,12 @@ def index @ont_restricted = ontology_restricted?(@ontology.acronym) # Retrieve submissions in descending submissionId order (should be reverse chronological order) - @submissions = @ontology.explore.submissions({include: "submissionId,creationDate,released,modificationDate,submissionStatus,hasOntologyLanguage,version,diffFilePath,ontology"}) - .sort {|a,b| b.submissionId.to_i <=> a.submissionId.to_i } || [] + @submissions = @ontology.explore.submissions({ include: 'submissionId,creationDate,released,modificationDate,submissionStatus,hasOntologyLanguage,version,diffFilePath,ontology' }) + .sort do |a, b| + b.submissionId.to_i <=> a.submissionId.to_i + end || [] LOG.add :error, "No submissions for ontology: #{@ontology.id}" if @submissions.empty? - end # When getting "Add submission" form to display @@ -27,10 +31,10 @@ def new @submission.id = nil @categories = LinkedData::Client::Models::Category.all @groups = LinkedData::Client::Models::Group.all - @user_select_list = LinkedData::Client::Models::User.all.map {|u| [u.username, u.id]} - @user_select_list.sort! {|a,b| a[1].downcase <=> b[1].downcase} + @user_select_list = LinkedData::Client::Models::User.all.map { |u| [u.username, u.id] } + @user_select_list.sort! { |a, b| a[1].downcase <=> b[1].downcase } @is_update_ontology = true - render "ontologies/new" + render 'ontologies/new' end # Called when form to "Add submission" is submitted @@ -57,23 +61,27 @@ def create # Called when form to "Edit submission" is submitted def edit_properties display_submission_attributes params[:ontology_id], params[:properties]&.split(','), submissionId: params[:submission_id], - inline_save: params[:inline_save]&.eql?('true') + inline_save: params[:inline_save]&.eql?('true') attribute_template_output = render_to_string(inline: helpers.render_submission_inputs(params[:container_id] || 'metadata_by_ontology')) render inline: attribute_template_output - end def edit @ontology = LinkedData::Client::Models::Ontology.find_by_acronym(params[:ontology_id]).first ontology_not_found(params[:ontology_id]) unless @ontology - category_attributes = submission_metadata.group_by{|x| x['category']}.transform_values{|x| x.map{|attr| attr['attribute']} } - category_attributes = category_attributes.reject{|key| ['no'].include?(key.to_s)} + category_attributes = submission_metadata.group_by { |x| x['category'] }.transform_values do |x| + x.map do |attr| + attr['attribute'] + end + end + category_attributes = category_attributes.reject { |key| ['no'].include?(key.to_s) } category_attributes['general'] << %w[acronym name groups administeredBy categories] category_attributes['licensing'] << 'viewingRestriction' category_attributes['relations'] << 'viewOf' - @categories_order = ['general', 'description', 'dates', 'licensing', 'persons and organizations', 'links', 'media', 'community', 'usage' ,'relations', 'content','methodology', 'object description properties'] + @categories_order = ['general', 'description', 'dates', 'licensing', 'persons and organizations', 'links', 'media', + 'community', 'usage', 'relations', 'content', 'methodology', 'object description properties'] @category_attributes = category_attributes end @@ -110,8 +118,5 @@ def update reset_agent_attributes render_submission_attribute(params[:attribute]) end - end - - end diff --git a/app/controllers/subscriptions_controller.rb b/app/controllers/subscriptions_controller.rb index 54040a4158..e17dfc73ff 100644 --- a/app/controllers/subscriptions_controller.rb +++ b/app/controllers/subscriptions_controller.rb @@ -1,41 +1,41 @@ -class SubscriptionsController < ApplicationController +# frozen_string_literal: true +class SubscriptionsController < ApplicationController def create # Try to get the user linked data instance user_id = params[:user_id] u = LinkedData::Client::Models::User.find(user_id) - raise Exception if u.nil? + raise StandardError if u.nil? # Try to get the ontology linked data instance ontology_id = params[:ontology_id] - if ontology_id.start_with? 'http' - ont = LinkedData::Client::Models::Ontology.find(ontology_id) - else - ont = LinkedData::Client::Models::Ontology.find_by_acronym(ontology_id).first - end - raise Exception if ont.nil? + ont = if ontology_id.start_with? 'http' + LinkedData::Client::Models::Ontology.find(ontology_id) + else + LinkedData::Client::Models::Ontology.find_by_acronym(ontology_id).first + end + raise StandardError if ont.nil? # Is this request to add or remove a subscription? - subscribed = params[:subbed] # string (not boolean) - if subscribed.eql?("true") + subscribed = params[:subbed] # string (not boolean) + if subscribed.eql?('true') # Already subscribed, so this request must be a delete # Note that this routine removes ALL subscriptions for the ontology, regardless of type. # Previous way to delete subscription: error when u.update if more than 1 subscription in the subscription array: - #u.subscription.delete_if {|sub| sub[:ontology].split('/').last.eql?(ont.acronym) } + # u.subscription.delete_if {|sub| sub[:ontology].split('/').last.eql?(ont.acronym) } # So here we re-generate a new subscription Array (instead of directly updating it, which causes error) all_subs = [] u.subscription.each do |subs| # Add all subscription to the array, but not the one to be deleted - if !subs.ontology.split('/').last.eql?(ont.acronym) - all_subs.push({ontology: subs.ontology, notification_type: subs.notification_type}) + unless subs.ontology.split('/').last.eql?(ont.acronym) + all_subs.push({ ontology: subs.ontology, notification_type: subs.notification_type }) end end - u.subscription = all_subs else # Not subscribed yet, so this request must be for adding subscription # Old way: - #subscription = {ontology: ont.acronym, notification_type: "NOTES"} #NOTIFICATION_TYPES[:notes]} - #u.subscription.push(subscription) + # subscription = {ontology: ont.acronym, notification_type: "NOTES"} #NOTIFICATION_TYPES[:notes]} + # u.subscription.push(subscription) # This way was not working, updating subscription is failing when more than 1 subscription in the array # And we were updating with different types of object in the subscription array : OpenStruct and hash # So we are generating an array with only hash @@ -43,17 +43,17 @@ def create all_subs = [] u.subscription.each do |subs| # add all existing subscriptions - all_subs.push({ontology: subs.ontology, notification_type: subs.notification_type}) - if subs.ontology.split("/").last == ont.acronym && subs.notification_type == "NOTES" + all_subs.push({ ontology: subs.ontology, notification_type: subs.notification_type }) + if subs.ontology.split('/').last == ont.acronym && subs.notification_type == 'NOTES' # avoid to subscribe many times to the same ontology already_subscribed = true end end if already_subscribed == false - all_subs.push({ontology: ont.acronym, notification_type: "NOTES"}) # the new subscription + all_subs.push({ ontology: ont.acronym, notification_type: 'NOTES' }) # the new subscription end - u.subscription = all_subs end + u.subscription = all_subs # Try to update the user instance and the session user. begin @@ -61,27 +61,26 @@ def create if response_success?(error_response) updated_sub = true session[:user].subscription = u.subscription - #session[:user] = u + # session[:user] = u # NOTES: # - Cannot update session[:user] as above. The session user object is special because it only # gets set when someone logs in and the user object returned when authenticating is the # only one that will contain the api key for security reasons. So we actually need to use # the update_from_params method, can’t just set the object to the user linked data instance. # - #session[:user].update_from_params(params[:user]) + # session[:user].update_from_params(params[:user]) # update_from_params first gets all attributes from the REST service for the object being updated, # then sets the values provided in the params hash where the param keys match setter names on the # object (in this case, for example, :subscription would set the @subscription value on the instance). # That’s all it does, no saving or anything. else updated_sub = false - #errors = response_errors(error_response) + # errors = response_errors(error_response) end - rescue + rescue StandardError updated_sub = false end - render :json => { :updated_sub => updated_sub, :user_subscriptions => u.subscription } + render json: { updated_sub: updated_sub, user_subscriptions: u.subscription } end - end diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 86d9a2e6ae..3801af9c77 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -1,15 +1,15 @@ +# frozen_string_literal: true + class UsersController < ApplicationController - - before_action :unescape_id, only: [:edit, :show, :update] - before_action :verify_owner, only: [:edit, :show, :subscribe, :un_subscribe] - before_action :authorize_admin, only: [:index,:subscribe, :un_subscribe] + before_action :unescape_id, only: %i[edit show update] + before_action :verify_owner, only: %i[edit show subscribe un_subscribe] + before_action :authorize_admin, only: %i[index subscribe un_subscribe] layout :determine_layout - # GET /users/1 # GET /users/1.xml def show - @user = if session[:user].admin? && params.has_key?(:id) + @user = if session[:user].admin? && params.key?(:id) LinkedData::Client::Models::User.find_by_username(params[:id]).first else LinkedData::Client::Models::User.find(session[:user].id) @@ -23,11 +23,11 @@ def show @user_ontologies = @user.customOntology ## Copied from home controller , account action - onts = LinkedData::Client::Models::Ontology.all; - @admin_ontologies = onts.select {|o| o.administeredBy.include? @user.id } + onts = LinkedData::Client::Models::Ontology.all + @admin_ontologies = onts.select { |o| o.administeredBy.include? @user.id } - projects = LinkedData::Client::Models::Project.all; - @user_projects = projects.select {|p| p.creator.include? @user.id } + projects = LinkedData::Client::Models::Project.all + @user_projects = projects.select { |p| p.creator.include? @user.id } end # GET /users/new @@ -40,9 +40,9 @@ def edit @user = LinkedData::Client::Models::User.find(params[:id]) @user ||= LinkedData::Client::Models::User.find_by_username(params[:id]).first - if (params[:password].eql?("true")) - @user.validate_password = true - end + return unless params[:password].eql?('true') + + @user.validate_password = true end # POST /users @@ -51,16 +51,20 @@ def create @errors = validate(user_params) @user = LinkedData::Client::Models::User.new(values: user_params) - if @errors.size < 1 + if @errors.empty? @user_saved = @user.save if response_error?(@user_saved) @errors = response_errors(@user_saved) # @errors = {acronym: "Username already exists, please use another"} if @user_saved.status == 409 - render action: "new" + render action: 'new' else # Attempt to register user to list if params[:user][:register_mail_list] - SubscribeMailer.register_for_announce_list(@user.email,@user.firstName,@user.lastName).deliver rescue nil + begin + SubscribeMailer.register_for_announce_list(@user.email, @user.firstName, @user.lastName).deliver + rescue StandardError + nil + end end flash[:notice] = 'Account was successfully created' @@ -68,7 +72,7 @@ def create redirect_to_browse end else - render action: "new" + render action: 'new' end end @@ -78,16 +82,14 @@ def update @user = LinkedData::Client::Models::User.find(params[:id]) @user = LinkedData::Client::Models::User.find_by_username(params[:id]).first if @user.nil? @errors = validate_update(user_params) - if @errors.size < 1 + if @errors.empty? if params[:user][:password] error_response = @user.update(values: { password: params[:user][:password] }) else user_roles = @user.role - if @user.admin? != (params[:user][:admin].to_i == 1) - user_roles = update_role(@user) - end + user_roles = update_role(@user) if @user.admin? != (params[:user][:admin].to_i == 1) @user.update_from_params(user_params.merge!(role: user_roles)) error_response = @user.update @@ -96,26 +98,24 @@ def update if response_error?(error_response) @errors = response_errors(error_response) # @errors = {acronym: "Username already exists, please use another"} if error_response.status == 409 - render action: "edit" + render action: 'edit' else flash[:notice] = 'Account was successfully updated' - if session[:user].username == @user.username - session[:user].update_from_params(user_params) - end + session[:user].update_from_params(user_params) if session[:user].username == @user.username redirect_to user_path(@user.username) end else - render action: "edit" + render action: 'edit' end end # DELETE /users/1 def destroy - response = {errors: '', success: ''} + response = { errors: '', success: '' } @user = LinkedData::Client::Models::User.find(params[:id]) @user = LinkedData::Client::Models::User.find_by_username(params[:id]).first if @user.nil? - if(session[:user].admin?) + if session[:user].admin? @user.delete response[:success] << 'User deleted successfully ' @@ -149,42 +149,40 @@ def custom_ontologies redirect_to user_path(@user.username) end - def subscribe @user = LinkedData::Client::Models::User.find_by_username(params[:username]).first - deliver "subscribe", SubscribeMailer.register_for_announce_list(@user.email,@user.firstName,@user.lastName) + deliver 'subscribe', SubscribeMailer.register_for_announce_list(@user.email, @user.firstName, @user.lastName) end def un_subscribe - @email = params[:email] - deliver "unsubscribe", SubscribeMailer.unregister_for_announce_list(@email) + @email = params[:email] + deliver 'unsubscribe', SubscribeMailer.unregister_for_announce_list(@email) end - private - def deliver(action,job) + def deliver(action, job) begin job.deliver - to_or_from = action.eql?("subscribe") ? "to" : "from" + to_or_from = action.eql?('subscribe') ? 'to' : 'from' flash[:success] = "You have successfully #{action} #{to_or_from} our user mailing list: #{$ANNOUNCE_LIST}" - rescue => exception - flash[:error] = "Something went wrong ..." + rescue StandardError + flash[:error] = 'Something went wrong ...' end redirect_to '/account' end def user_params - params[:user]["orcidId"] = extract_id_from_url(params[:user]["orcidId"], 'orcid.org') - params[:user]["githubId"] = extract_id_from_url(params[:user]["githubId"], 'github.com') + params[:user]['orcidId'] = extract_id_from_url(params[:user]['orcidId'], 'orcid.org') + params[:user]['githubId'] = extract_id_from_url(params[:user]['githubId'], 'github.com') p = params.require(:user).permit(:firstName, :lastName, :username, :orcidId, :githubId, :email, :email_confirmation, :password, :password_confirmation, :register_mail_list, :admin) p.to_h end - + def extract_id_from_url(url, pattern) - if url && url.include?(pattern) - url.split('/').last + if url&.include?(pattern) + url.split('/').last else url end @@ -196,68 +194,58 @@ def unescape_id def verify_owner return if current_user_admin? + if session[:user].nil? || (!session[:user].id.eql?(params[:id]) && !session[:user].username.eql?(params[:id])) redirect_to controller: 'login', action: 'index', redirect: "/accounts/#{params[:id]}" end end def get_ontology_list(ont_hash) - return "" if ont_hash.nil? + return '' if ont_hash.nil? + ontologies = [] ont_hash.each do |ont, checked| ontologies << ont if checked.to_i == 1 end - ontologies.join(";") + ontologies.join(';') end def validate(params) errors = [] - if params[:email].nil? || params[:email].length < 1 || !params[:email].match(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i) - errors << "Please enter an email address" - end - if params[:password].nil? || params[:password].length < 1 - errors << "Please enter a password" + if params[:email].nil? || params[:email].empty? || !params[:email].match(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i) + errors << 'Please enter an email address' end - if !params[:password].eql?(params[:password_confirmation]) - errors << "Your Password and Password Confirmation do not match" - end - if using_captcha? - if !verify_recaptcha - errors << "Please fill in the proper text from the supplied image" - end + errors << 'Please enter a password' if params[:password].nil? || params[:password].empty? + unless params[:password].eql?(params[:password_confirmation]) + errors << 'Your Password and Password Confirmation do not match' end - if ((!params[:orcidId].match(/^\d{4}+(-\d{4})+$/)) || (params[:orcidId].length != 19)) && !(params[:orcidId].nil? || params[:orcidId].length < 1) - errors << "Please enter a valide orcid id" + errors << 'Please fill in the proper text from the supplied image' if using_captcha? && !verify_recaptcha + if (!params[:orcidId].match(/^\d{4}+(-\d{4})+$/) || (params[:orcidId].length != 19)) && !(params[:orcidId].nil? || params[:orcidId].empty?) + errors << 'Please enter a valide orcid id' end - if params[:username].nil? || params[:username].length < 1 || !params[:username].match(/^[a-zA-Z0-9]([._-](?![._-])|[a-zA-Z0-9]){3,18}[a-zA-Z0-9]$/) - errors << "please enter a valid username" + if params[:username].nil? || params[:username].empty? || !params[:username].match(/^[a-zA-Z0-9]([._-](?![._-])|[a-zA-Z0-9]){3,18}[a-zA-Z0-9]$/) + errors << 'please enter a valid username' end - return errors + errors end def validate_update(params) errors = [] - if params[:email].nil? || params[:email].length < 1 || !params[:email].match(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i) - errors << "Please enter a valid email adresse" + if params[:email].nil? || params[:email].empty? || !params[:email].match(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i) + errors << 'Please enter a valid email adresse' end - if params[:firstName].nil? || params[:firstName].length < 1 - errors << "First name field is required" + errors << 'First name field is required' if params[:firstName].nil? || params[:firstName].empty? + errors << 'Last name field is required' if params[:lastName].nil? || params[:lastName].empty? + errors << 'Last name field is required' if params[:username].nil? || params[:username].empty? + if params[:orcidId].present? && (!params[:orcidId].match(/^\d{4}-\d{4}-\d{4}-\d{4}$/) || (params[:orcidId].length != 19)) + errors << 'Please enter a valide orcide id' end - if params[:lastName].nil? || params[:lastName].length < 1 - errors << "Last name field is required" - end - if params[:username].nil? || params[:username].length < 1 - errors << "Last name field is required" - end - if params[:orcidId].present? && ((!params[:orcidId].match(/^\d{4}-\d{4}-\d{4}-\d{4}$/)) || (params[:orcidId].length != 19)) - errors << "Please enter a valide orcide id" - end - if !params[:password].eql?(params[:password_confirmation]) - errors << "Your Password and Password Confirmation do not match" + unless params[:password].eql?(params[:password_confirmation]) + errors << 'Your Password and Password Confirmation do not match' end - return errors + errors end def update_role(user) @@ -266,13 +254,12 @@ def update_role(user) if session[:user].admin? user_roles = user_roles.dup if user.admin? - user_roles.map!{ |role| role == "ADMINISTRATOR" ? "LIBRARIAN" : role} + user_roles.map! { |role| role == 'ADMINISTRATOR' ? 'LIBRARIAN' : role } else - user_roles.map!{ |role| role == "LIBRARIAN" ? "ADMINISTRATOR" : role} + user_roles.map! { |role| role == 'LIBRARIAN' ? 'ADMINISTRATOR' : role } end end user_roles end - end diff --git a/app/controllers/virtual_appliance_controller.rb b/app/controllers/virtual_appliance_controller.rb index 5b3701711f..4b6144942c 100644 --- a/app/controllers/virtual_appliance_controller.rb +++ b/app/controllers/virtual_appliance_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class VirtualApplianceController < ApplicationController layout 'ontology' before_action :require_login @@ -8,9 +10,7 @@ def index @virtual_appliance_user = VirtualApplianceUser.where(user_id: @user.id) @virtual_appliance_access = false - if !@virtual_appliance_user.nil? && !@virtual_appliance_user.empty? || @user.admin? - @virtual_appliance_access = true - end + @virtual_appliance_access = true if !@virtual_appliance_user.nil? && !@virtual_appliance_user.empty? || @user.admin? @va_users = VirtualApplianceUser.order(:user_id) end @@ -19,7 +19,8 @@ def create user = LinkedData::Client::Models::User.find_by_username(params[:appliance_user][:user_id]).first if user.nil? - flash[:error] = "Problem adding account #{params[:appliance_user][:user_id]}: account does not exist".html_safe + flash[:error] = + "Problem adding account #{params[:appliance_user][:user_id]}: account does not exist".html_safe redirect_to action: 'index' and return end @@ -30,7 +31,7 @@ def create @new_user.save end - redirect_to :action => 'index' + redirect_to action: 'index' end private diff --git a/app/controllers/visits_controller.rb b/app/controllers/visits_controller.rb index f6c5253325..2a1c9898de 100644 --- a/app/controllers/visits_controller.rb +++ b/app/controllers/visits_controller.rb @@ -1,12 +1,12 @@ -class VisitsController < ApplicationController +# frozen_string_literal: true +class VisitsController < ApplicationController layout :determine_layout def index @ontologies_views = LinkedData::Client::Models::Ontology.all(include_views: true) - @ontologies = @ontologies_views.select {|o| !o.viewOf} - @ontologies_hash = Hash[@ontologies_views.map {|o| [o.acronym, o]}] + @ontologies = @ontologies_views.reject(&:viewOf) + @ontologies_hash = Hash[@ontologies_views.map { |o| [o.acronym, o] }] @analytics = LinkedData::Client::Analytics.last_month end - end diff --git a/app/decorators/base_decorator.rb b/app/decorators/base_decorator.rb index f67b514eb6..ca45bffbb9 100644 --- a/app/decorators/base_decorator.rb +++ b/app/decorators/base_decorator.rb @@ -1,5 +1,6 @@ -class BaseDecorator < SimpleDelegator +# frozen_string_literal: true +class BaseDecorator < SimpleDelegator attr_reader :view_context def initialize(object, view_context) @@ -10,5 +11,4 @@ def initialize(object, view_context) def self.wrap_collection(objects, view_context) objects.map { |object| new(object, view_context) } end - -end \ No newline at end of file +end diff --git a/app/decorators/note_decorator.rb b/app/decorators/note_decorator.rb index e91e05a88d..b020ced77e 100644 --- a/app/decorators/note_decorator.rb +++ b/app/decorators/note_decorator.rb @@ -1,36 +1,38 @@ +# frozen_string_literal: true + class NoteDecorator < BaseDecorator - include ApplicationHelper, NotesHelper + include NotesHelper + include ApplicationHelper def author - view_context.content_tag(:span, get_username(creator), class: "note_author") + view_context.content_tag(:span, get_username(creator), class: 'note_author') end def body_content - view_context.content_tag(:div, view_context.simple_format(body), class: "note_body") unless body.blank? + view_context.content_tag(:div, view_context.simple_format(body), class: 'note_body') unless body.blank? end def created_date - view_context.time_ago_in_words(DateTime.parse(created)) + " ago" + "#{view_context.time_ago_in_words(DateTime.parse(created))} ago" end def proposal_content - if proposal - view_context.content_tag(:div, (proposal_html(self)).html_safe, class: "proposal") - end + return unless proposal + + view_context.content_tag(:div, proposal_html(self).html_safe, class: 'proposal') end def reply_link - view_context.link_to("reply", "#reply", class: "reply_reply", data: { parent_id: "#{id}", parent_type: "reply" }) + view_context.link_to('reply', '#reply', class: 'reply_reply', data: { parent_id: id.to_s, parent_type: 'reply' }) end def status - if archived - view_context.content_tag(:span, "archived", class: "archived_note") - end + return unless archived + + view_context.content_tag(:span, 'archived', class: 'archived_note') end def title - view_context.content_tag(:span, "#{subject}", class: "note_title") + view_context.content_tag(:span, subject.to_s, class: 'note_title') end - -end \ No newline at end of file +end diff --git a/app/decorators/view_decorator.rb b/app/decorators/view_decorator.rb index 4693aea61b..81cd912a52 100644 --- a/app/decorators/view_decorator.rb +++ b/app/decorators/view_decorator.rb @@ -1,8 +1,11 @@ +# frozen_string_literal: true + class ViewDecorator attr_reader :view, :view_context def initialize(view, view_context) - @view, @view_context = view, view_context + @view = view + @view_context = view_context end def linked_name @@ -11,6 +14,6 @@ def linked_name def description latest_submission = view.explore.latest_submission - latest_submission.nil? ? "No description provided" : latest_submission.description + latest_submission.nil? ? 'No description provided' : latest_submission.description end -end \ No newline at end of file +end diff --git a/app/helpers/about_helper.rb b/app/helpers/about_helper.rb index 68e69aee14..0f57a7b5e3 100644 --- a/app/helpers/about_helper.rb +++ b/app/helpers/about_helper.rb @@ -1,2 +1,4 @@ +# frozen_string_literal: true + module AboutHelper end diff --git a/app/helpers/admin/licenses_helper.rb b/app/helpers/admin/licenses_helper.rb index 4d11f0b1f1..7e9c8a69e3 100644 --- a/app/helpers/admin/licenses_helper.rb +++ b/app/helpers/admin/licenses_helper.rb @@ -1,17 +1,20 @@ -module Admin::LicensesHelper +# frozen_string_literal: true - def license_notification(license) - days = license.days_remaining - - if (days == 0) - msg = (t(".license_expired") << " " << t(".license_contact")).html_safe - notification = tag.div msg, class: "alert alert-danger mt-3", role: "alert" - elsif license.is_trial? - msg = (t(".license_trial", count: days) << " " << t(".license_obtain") << " " << t(".license_contact")).html_safe - notification = tag.div msg, class: "alert alert-info mt-3", role: "alert" +module Admin + module LicensesHelper + def license_notification(license) + days = license.days_remaining + + if days.zero? + msg = (t('.license_expired') << ' ' << t('.license_contact')).html_safe + notification = tag.div msg, class: 'alert alert-danger mt-3', role: 'alert' + elsif license.is_trial? + msg = (t('.license_trial', + count: days) << ' ' << t('.license_obtain') << ' ' << t('.license_contact')).html_safe + notification = tag.div msg, class: 'alert alert-info mt-3', role: 'alert' + end + + notification || '' end - - notification ||= "" end - end diff --git a/app/helpers/admin_helper.rb b/app/helpers/admin_helper.rb index 7553a567df..f56600d5b7 100644 --- a/app/helpers/admin_helper.rb +++ b/app/helpers/admin_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module AdminHelper def selected_admin_section?(section_title) current_section = params[:section] || 'site' diff --git a/app/helpers/agent_helper.rb b/app/helpers/agent_helper.rb index 39ee7aef4d..1b352ecc67 100644 --- a/app/helpers/agent_helper.rb +++ b/app/helpers/agent_helper.rb @@ -1,5 +1,6 @@ -module AgentHelper +# frozen_string_literal: true +module AgentHelper def agent_id_alert_container_id(agent_id, parent_id) "agents_alerts_#{agent_id_frame_id(agent_id, parent_id)}" end @@ -12,7 +13,7 @@ def agent_alert_container(agent, parent_id) render_alerts_container(agent_alert_container_id(agent, parent_id)) end - def agent_id_alert_container(agent_id, parent_id) + def agent_id_alert_container(_agent_id, parent_id) render_alerts_container(agent_alert_container_id(agent, parent_id)) end @@ -33,21 +34,24 @@ def agent_id_frame_id(agent_id, parent_id) end def agent_id(agent) - return if agent.nil? + return if agent.nil? agent_id = agent.is_a?(String) ? agent : agent.id agent_id ? agent_id.split('/').last : '' end def link_to_agent_edit_modal(agent, parent_id = nil) - - link_to_modal(nil, edit_agent_path(agent_id(agent), parent_id: parent_id, show_affiliations: parent_id.nil? || parent_id.empty?), class: 'btn btn-sm btn-light', data: { show_modal_title_value: "Edit agent #{agent.id}" }) do + link_to_modal(nil, + edit_agent_path(agent_id(agent), parent_id: parent_id, show_affiliations: parent_id.nil? || parent_id.empty?), class: 'btn btn-sm btn-light', data: { show_modal_title_value: "Edit agent #{agent.id}" }) do content_tag(:i, '', class: 'far fa-edit') end end def link_to_agent_edit(agent, parent_id = nil) - link_to(edit_agent_path(agent_id(agent), parent_id: parent_id, show_affiliations: parent_id.nil? || parent_id.empty?), class: 'btn btn-sm btn-light') do + link_to( + edit_agent_path(agent_id(agent), parent_id: parent_id, + show_affiliations: parent_id.nil? || parent_id.empty?), class: 'btn btn-sm btn-light' + ) do content_tag(:i, '', class: 'far fa-edit') end end @@ -62,16 +66,16 @@ def identifier_link(link, link_to: true) else link end - end def display_identifiers(identifiers, link: true) schemes_urls = { ORCID: 'https://orcid.org/', ISNI: 'https://isni.org/', ROR: 'https://ror.org/', GRID: 'https://www.grid.ac/' } Array(identifiers).map do |i| - if i["schemaAgency"] - schema_agency, notation = [i["schemaAgency"], i["notation"]] + if i['schemaAgency'] + schema_agency = i['schemaAgency'] + notation = i['notation'] else - schema_agency, notation = (i["id"] || i["@id"]).split('Identifiers/').last.delete(' ').split(':') + schema_agency, notation = (i['id'] || i['@id']).split('Identifiers/').last.delete(' ').split(':') end value = "#{schemes_urls[schema_agency.to_sym]}#{notation}" identifier_link(value, link_to: link) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 0befcf29c3..f472c15d49 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # Methods added to this helper will be available to all templates in the application. require 'uri' @@ -9,20 +11,20 @@ module ApplicationHelper REST_URI = $REST_URL API_KEY = $API_KEY - include ModalHelper, MultiLanguagesHelper - - RESOLVE_NAMESPACE = {:omv => "http://omv.ontoware.org/2005/05/ontology#", :skos => "http://www.w3.org/2004/02/skos/core#", :owl => "http://www.w3.org/2002/07/owl#", - :rdf => "http://www.w3.org/1999/02/22-rdf-syntax-ns#", :rdfs => "http://www.w3.org/2000/01/rdf-schema#", :metadata => "http://data.bioontology.org/metadata/", - :metadata_def => "http://data.bioontology.org/metadata/def/", :dc => "http://purl.org/dc/elements/1.1/", :xsd => "http://www.w3.org/2001/XMLSchema#", - :oboinowl_gen => "http://www.geneontology.org/formats/oboInOwl#", :obo_purl => "http://purl.obolibrary.org/obo/", - :umls => "http://bioportal.bioontology.org/ontologies/umls/", :door => "http://kannel.open.ac.uk/ontology#", :dct => "http://purl.org/dc/terms/", - :void => "http://rdfs.org/ns/void#", :foaf => "http://xmlns.com/foaf/0.1/", :vann => "http://purl.org/vocab/vann/", :adms => "http://www.w3.org/ns/adms#", - :voaf => "http://purl.org/vocommons/voaf#", :dcat => "http://www.w3.org/ns/dcat#", :mod => "http://www.isibang.ac.in/ns/mod#", :prov => "http://www.w3.org/ns/prov#", - :cc => "http://creativecommons.org/ns#", :schema => "http://schema.org/", :doap => "http://usefulinc.com/ns/doap#", :bibo => "http://purl.org/ontology/bibo/", - :wdrs => "http://www.w3.org/2007/05/powder-s#", :cito => "http://purl.org/spar/cito/", :pav => "http://purl.org/pav/", :nkos => "http://w3id.org/nkos/nkostype#", - :oboInOwl => "http://www.geneontology.org/formats/oboInOwl#", :idot => "http://identifiers.org/idot/", :sd => "http://www.w3.org/ns/sparql-service-description#", - :cclicense => "http://creativecommons.org/licenses/"} - + include MultiLanguagesHelper + include ModalHelper + + RESOLVE_NAMESPACE = { omv: 'http://omv.ontoware.org/2005/05/ontology#', skos: 'http://www.w3.org/2004/02/skos/core#', owl: 'http://www.w3.org/2002/07/owl#', + rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#', rdfs: 'http://www.w3.org/2000/01/rdf-schema#', metadata: 'http://data.bioontology.org/metadata/', + metadata_def: 'http://data.bioontology.org/metadata/def/', dc: 'http://purl.org/dc/elements/1.1/', xsd: 'http://www.w3.org/2001/XMLSchema#', + oboinowl_gen: 'http://www.geneontology.org/formats/oboInOwl#', obo_purl: 'http://purl.obolibrary.org/obo/', + umls: 'http://bioportal.bioontology.org/ontologies/umls/', door: 'http://kannel.open.ac.uk/ontology#', dct: 'http://purl.org/dc/terms/', + void: 'http://rdfs.org/ns/void#', foaf: 'http://xmlns.com/foaf/0.1/', vann: 'http://purl.org/vocab/vann/', adms: 'http://www.w3.org/ns/adms#', + voaf: 'http://purl.org/vocommons/voaf#', dcat: 'http://www.w3.org/ns/dcat#', mod: 'http://www.isibang.ac.in/ns/mod#', prov: 'http://www.w3.org/ns/prov#', + cc: 'http://creativecommons.org/ns#', schema: 'http://schema.org/', doap: 'http://usefulinc.com/ns/doap#', bibo: 'http://purl.org/ontology/bibo/', + wdrs: 'http://www.w3.org/2007/05/powder-s#', cito: 'http://purl.org/spar/cito/', pav: 'http://purl.org/pav/', nkos: 'http://w3id.org/nkos/nkostype#', + oboInOwl: 'http://www.geneontology.org/formats/oboInOwl#', idot: 'http://identifiers.org/idot/', sd: 'http://www.w3.org/ns/sparql-service-description#', + cclicense: 'http://creativecommons.org/licenses/' }.freeze def ontologies_analytics LinkedData::Client::Analytics.all.to_h.map do |key, ontology_analytics| @@ -33,11 +35,9 @@ def ontologies_analytics end def get_apikey - unless session[:user].nil? - return session[:user].apikey - else - return LinkedData::Client.settings.apikey - end + return LinkedData::Client.settings.apikey if session[:user].nil? + + session[:user].apikey end def omniauth_providers_info @@ -45,7 +45,7 @@ def omniauth_providers_info end def omniauth_provider_info(strategy) - omniauth_providers_info.select {|k,v| v[:strategy].eql?(strategy.to_sym) || k.eql?(strategy)} + omniauth_providers_info.select { |k, v| v[:strategy].eql?(strategy.to_sym) || k.eql?(strategy) } end def omniauth_token_provider(strategy) @@ -53,17 +53,16 @@ def omniauth_token_provider(strategy) end def isOwner?(id) - unless session[:user].nil? - if session[:user].admin? - return true - elsif session[:user].id.eql?(id) - return true - else - return false - end + return if session[:user].nil? + + if session[:user].admin? + true + elsif session[:user].id.eql?(id) + true + else + false end end - def encode_param(string) CGI.escape(string) @@ -78,23 +77,21 @@ def unescape(string) end def clean(string) - string = string.gsub("\"",'\'') - return string.gsub("\n",'') + string = string.gsub('"', '\'') + string.gsub("\n", '') end def clean_id(string) - new_string = string.gsub(":","").gsub("-","_").gsub(".","_") - return new_string + string.gsub(':', '').gsub('-', '_').gsub('.', '_') end def to_param(string) - "#{encode_param(string.gsub(" ","_"))}" + encode_param(string.gsub(' ', '_')).to_s end def get_username(user_id) user = LinkedData::Client::Models::User.find(user_id) - username = user.nil? ? user_id : user.username - username + user.nil? ? user_id : user.username end def current_user @@ -102,52 +99,49 @@ def current_user end def current_user_admin? - session[:user] && session[:user].admin? + session[:user]&.admin? end def remove_owl_notation(string) # TODO_REV: No OWL notation, but should we modify the IRI? return string - unless string.nil? - strings = string.split(":") - if strings.size<2 - #return string.titleize - return string - else - #return strings[1].titleize - return strings[1] - end + return if string.nil? + + strings = string.split(':') + if strings.size < 2 + # return string.titleize + string + else + # return strings[1].titleize + strings[1] end end - def draw_note_tree(notes,key) - output = "" - draw_note_tree_leaves(notes,0,output,key) - return output + def draw_note_tree(notes, key) + output = '' + draw_note_tree_leaves(notes, 0, output, key) + output end - def draw_note_tree_leaves(notes,level,output,key) - for note in notes - name="Anonymous" - unless note.user.nil? - name=note.user.username - end - headertext="" - notetext="" + def draw_note_tree_leaves(notes, level, output, key) + notes.each do |note| + name = 'Anonymous' + name = note.user.username unless note.user.nil? + headertext = '' + notetext = '' if note.note_type.eql?(5) - headertext<< "
" + headertext << "
" notetext << " #{note.comment}" else - headertext<< "
" + headertext << "
" - notetext<< "#{simple_format(note.comment)}" + notetext << "#{simple_format(note.comment)}" end - output << " -
+
#{headertext}
@@ -165,12 +159,10 @@ def draw_note_tree_leaves(notes,level,output,key) #{notetext}" if session[:user].nil? output << "" + elsif @modal + output << "" else - if @modal - output << "" - else - output << "" - end + output << "" end output << "
@@ -179,8 +171,8 @@ def draw_note_tree_leaves(notes,level,output,key)
" - if(!note.children.nil? && note.children.size>0) - draw_note_tree_leaves(note.children,level+1,output,key) + if !note.children.nil? && note.children.size.positive? + draw_note_tree_leaves(note.children, level + 1, output, key) end end end @@ -193,12 +185,13 @@ def draw_tree(root, acronym, id = nil, concept_schemes = nil) end def build_tree(node, string, id, acronym, concept_schemes: nil) - return string if node.children.nil? || node.children.empty? - - node.children.sort! { |a, b| (main_language_label(a.prefLabel) || a.id).downcase <=> (main_language_label(a.prefLabel) || b.id).downcase } + + node.children.sort! do |a, b| + (main_language_label(a.prefLabel) || a.id).downcase <=> (main_language_label(a.prefLabel) || b.id).downcase + end node.children.each do |child| - active_style = child.id.eql?(id) ? "active" : '' + active_style = child.id.eql?(id) ? 'active' : '' # This fake root will be present at the root of "flat" ontologies, we need to keep the id intact @@ -227,11 +220,11 @@ def tree_link_to_concept(child:, ontology_acronym:, active_style:, node: nil, sk open = child.expanded? ? "class='open'" : '' icons = child.relation_icon(node) muted_style = skos && Array(child.isInActiveScheme).empty? ? 'text-muted' : nil - muted_title = muted_style && !child.obsolete? ? "title='is not in a scheme'" : nil + muted_title = muted_style && !child.obsolete? ? "title='is not in a scheme'" : nil href = ontology_acronym.blank? ? '#' : "/ontologies/#{child.explore.ontology.acronym}/concepts/?id=#{CGI.escape(child.id)}&language=#{language}" link = <<-EOS #{link} #{icons}" end - - def tree_link_to_children(child:, acronym: ,concept_schemes: nil) + def tree_link_to_children(child:, acronym:, concept_schemes: nil) language = request_lang li_id = child.id.eql?('bp_fake_root') ? 'bp_fake_root' : short_uuid - concept_schemes = "&concept_schemes=#{concept_schemes.map{|x| CGI.escape(x)}.join(',')}" if concept_schemes + concept_schemes = "&concept_schemes=#{concept_schemes.map { |x| CGI.escape(x) }.join(',')}" if concept_schemes link = "ajax_class" "
  • #{link}
" end def loading_spinner(padding = false, include_text = true) - loading_text = include_text ? " loading..." : "" + loading_text = include_text ? ' loading...' : '' if padding - raw('
' + image_tag("spinners/spinner_000000_16px.gif", style: "vertical-align: text-bottom;") + loading_text + '
') + raw('
' + image_tag('spinners/spinner_000000_16px.gif', + style: 'vertical-align: text-bottom;') + loading_text + '
') else - raw(image_tag("spinners/spinner_000000_16px.gif", style: "vertical-align: text-bottom;") + loading_text) + raw(image_tag('spinners/spinner_000000_16px.gif', style: 'vertical-align: text-bottom;') + loading_text) end end @@ -269,11 +262,11 @@ def short_uuid end def help_icon(link, html_attribs = {}) - html_attribs["title"] ||= "Help" + html_attribs['title'] ||= 'Help' attribs = [] - html_attribs.each {|k,v| attribs << "#{k.to_s}='#{v}'"} - return <<-BLOCK - + html_attribs.each { |k, v| attribs << "#{k}='#{v}'" } + <<-BLOCK + BLOCK @@ -281,11 +274,11 @@ def help_icon(link, html_attribs = {}) # Create a popup button with a ? inside to display help when hovered def help_tooltip(content, html_attribs = {}, icon = 'fas fa-question-circle', css_class = nil, text = nil) - html_attribs["title"] = content + html_attribs['title'] = content attribs = [] - html_attribs.each {|k,v| attribs << "#{k.to_s}='#{v}'"} - return <<-BLOCK - + html_attribs.each { |k, v| attribs << "#{k}='#{v}'" } + <<-BLOCK + #{text} BLOCK @@ -293,6 +286,7 @@ def help_tooltip(content, html_attribs = {}, icon = 'fas fa-question-circle', cs def error_message_text return @errors if @errors.is_a?(String) + @errors = @errors[:error] if @errors && @errors[:error] "Errors in fields #{@errors.keys.join(', ')}" end @@ -309,19 +303,19 @@ def anonymous_user # # TODO: Fix and failures from removing 'DataAccess' call here. # - #user = DataAccess.getUser($ANONYMOUS_USER) - user ||= User.new({"id" => 0}) + # user = DataAccess.getUser($ANONYMOUS_USER) + user || User.new({ 'id' => 0 }) end def render_advanced_picker(custom_ontologies = nil, selected_ontologies = [], align_to_dom_id = nil) selected_ontologies ||= [] init_ontology_picker(custom_ontologies, selected_ontologies) - render :partial => "shared/ontology_picker_advanced", :locals => { - :custom_ontologies => custom_ontologies, :selected_ontologies => selected_ontologies, :align_to_dom_id => align_to_dom_id + render partial: 'shared/ontology_picker_advanced', locals: { + custom_ontologies: custom_ontologies, selected_ontologies: selected_ontologies, align_to_dom_id: align_to_dom_id } end - def init_ontology_picker(ontologies = nil, selected_ontologies = []) + def init_ontology_picker(ontologies = nil, _selected_ontologies = []) get_ontologies_data(ontologies) get_groups_data get_categories_data @@ -336,7 +330,7 @@ def init_ontology_picker_single end def get_ontologies_data(ontologies = nil) - ontologies ||= LinkedData::Client::Models::Ontology.all(include: "acronym,name") + ontologies ||= LinkedData::Client::Models::Ontology.all(include: 'acronym,name') @onts_for_select = [] @onts_acronym_map = {} @onts_uri2acronym_map = {} @@ -346,18 +340,19 @@ def get_ontologies_data(ontologies = nil) # ont.name instead of ont.ontology.name # ont.id instead of ont.ontology.id # TODO: annotator passes in 'custom_ontologies' to the ontologies parameter. - next if ( ont.acronym.nil? or ont.acronym.empty? ) + next if ont.acronym.nil? || ont.acronym.empty? + acronym = ont.acronym name = ont.name - #id = ont.id # ontology URI - abbreviation = acronym.empty? ? "" : "(#{acronym})" + # id = ont.id # ontology URI + abbreviation = acronym.empty? ? '' : "(#{acronym})" ont_label = "#{name.strip} #{abbreviation}" - #@onts_for_select << [ont_label, id] # using the URI crashes the UI checkbox selection behavior. + # @onts_for_select << [ont_label, id] # using the URI crashes the UI checkbox selection behavior. @onts_for_select << [ont_label, acronym] @onts_acronym_map[ont_label] = acronym - @onts_uri2acronym_map[ont.id] = acronym # required in ontologies_to_acronyms + @onts_uri2acronym_map[ont.id] = acronym # required in ontologies_to_acronyms end - @onts_for_select.sort! { |a,b| a[0].downcase <=> b[0].downcase } + @onts_for_select.sort! { |a, b| a[0].downcase <=> b[0].downcase } @onts_for_js = @onts_acronym_map.to_json end @@ -365,53 +360,53 @@ def categories_for_select # This method is called in the search index page. get_ontologies_data get_categories_data - return @categories_for_select + @categories_for_select end def get_categories_data @categories_for_select = [] @categories_map = {} - categories = LinkedData::Client::Models::Category.all(include: "name,ontologies") + categories = LinkedData::Client::Models::Category.all(include: 'name,ontologies') categories.each do |c| - @categories_for_select << [ c.name, c.id ] + @categories_for_select << [c.name, c.id] @categories_map[c.id] = ontologies_to_acronyms(c.ontologies) # c.ontologies is a list of URIs end - @categories_for_select.sort! { |a,b| a[0].downcase <=> b[0].downcase } + @categories_for_select.sort! { |a, b| a[0].downcase <=> b[0].downcase } @categories_for_js = @categories_map.to_json end def get_groups_data @groups_map = {} @groups_for_select = [] - groups = LinkedData::Client::Models::Group.all(include: "acronym,name,ontologies") + groups = LinkedData::Client::Models::Group.all(include: 'acronym,name,ontologies') groups.each do |g| - next if ( g.acronym.nil? or g.acronym.empty? ) - @groups_for_select << [ g.name + " (#{g.acronym})", g.acronym ] + next if g.acronym.nil? || g.acronym.empty? + + @groups_for_select << [g.name + " (#{g.acronym})", g.acronym] @groups_map[g.acronym] = ontologies_to_acronyms(g.ontologies) # g.ontologies is a list of URIs end - @groups_for_select.sort! { |a,b| a[0].downcase <=> b[0].downcase } + @groups_for_select.sort! { |a, b| a[0].downcase <=> b[0].downcase } @groups_for_js = @groups_map.to_json end def metadata_for_select get_metadata - return @metadata_for_select + @metadata_for_select end def get_metadata @metadata_for_select = [] submission_metadata.each do |data| - @metadata_for_select << data["attribute"] + @metadata_for_select << data['attribute'] end end - def ontologies_to_acronyms(ontologyIDs) acronyms = [] ontologyIDs.each do |id| - acronyms << @onts_uri2acronym_map[id] # hash generated in get_ontologies_data + acronyms << @onts_uri2acronym_map[id] # hash generated in get_ontologies_data end - return acronyms.compact # remove nil values from any failures to convert ontology URI to acronym + acronyms.compact # remove nil values from any failures to convert ontology URI to acronym end def at_slice? @@ -420,44 +415,44 @@ def at_slice? def truncate_with_more(text, options = {}) length ||= options[:length] ||= 30 - trailing_text ||= options[:trailing_text] ||= " ... " - link_more ||= options[:link_more] ||= "[more]" - link_less ||= options[:link_less] ||= "[less]" + trailing_text ||= options[:trailing_text] ||= ' ... ' + link_more ||= options[:link_more] ||= '[more]' + link_less ||= options[:link_less] ||= '[less]' more_text = " #{link_more}#{text} #{link_less}" - more = text.length > length ? more_text : "" - output = "#{truncate(text, :length => length, :omission => trailing_text)}" + more + "" + more = text.length > length ? more_text : '' + "#{truncate(text, length: length, + omission: trailing_text)}" + more + '' end - def add_comment_button(parent_id, parent_type) if session[:user].nil? - link_to "Add comment", login_index_path(redirect: request.url), class: "link_button" + link_to 'Add comment', login_index_path(redirect: request.url), class: 'link_button' else - link_to_modal "Add comment", notes_new_comment_path(parent_id: parent_id, parent_type: parent_type, ontology_id: @ontology.acronym), - class: "add_comment btn btn-primary", data: { show_modal_title_value: "Add a new comment"} + link_to_modal 'Add comment', notes_new_comment_path(parent_id: parent_id, parent_type: parent_type, ontology_id: @ontology.acronym), + class: 'add_comment btn btn-primary', data: { show_modal_title_value: 'Add a new comment' } end end def add_reply_button(parent_id) if session[:user].nil? - link_to "Reply", login_index_path, 'data-turbo': false + link_to 'Reply', login_index_path, 'data-turbo': false else - link_to 'Reply', notes_new_reply_path(parent_id: parent_id ), "data-turbo-frame": "#{parent_id}_new_reply" + link_to 'Reply', notes_new_reply_path(parent_id: parent_id), "data-turbo-frame": "#{parent_id}_new_reply" end end - def add_proposal_button(parent_id, parent_type) if session[:user].nil? - link_to "Add proposal", login_index_path(redirect: request.url), class: "link_button" + link_to 'Add proposal', login_index_path(redirect: request.url), class: 'link_button' else - link_to_modal "Add proposal", notes_new_proposal_path(parent_id: parent_id, parent_type: parent_type, ontology_id: @ontology.acronym), - class: "add_proposal btn btn-primary", data: { show_modal_title_value: "Add a new proposal"} + link_to_modal 'Add proposal', notes_new_proposal_path(parent_id: parent_id, parent_type: parent_type, ontology_id: @ontology.acronym), + class: 'add_proposal btn btn-primary', data: { show_modal_title_value: 'Add a new proposal' } end end def subscribe_button(ontology_id) return if ontology_id.nil? + ontology_acronym = ontology_id.split('/').last if session[:user].nil? @@ -467,24 +462,26 @@ def subscribe_button(ontology_id) else user = LinkedData::Client::Models::User.find(session[:user].id) subscribed = subscribed_to_ontology?(ontology_acronym, user) - link = "javascript:void(0);" + link = 'javascript:void(0);' user_id = user.id end count = count_subscriptions(ontology_id) - render OntologySubscribeButtonComponent.new(ontology_id: ontology_id, subscribed: subscribed, user_id: user_id, count: count, link: link) + render OntologySubscribeButtonComponent.new(ontology_id: ontology_id, subscribed: subscribed, user_id: user_id, + count: count, link: link) end def subscribed_to_ontology?(ontology_acronym, user) user.bring(:subscription) if user.subscription.nil? # user.subscription is an array of subscriptions like {ontology: ontology_id, notification_type: "NOTES"} - return false if user.subscription.nil? or user.subscription.empty? + return false if user.subscription.nil? || user.subscription.empty? + user.subscription.each do |sub| - #sub = {ontology: ontology_acronym, notification_type: "NOTES"} - sub_ont_acronym = sub[:ontology] ? sub[:ontology].split('/').last : nil # make sure we get the acronym, even if it's a full URI + # sub = {ontology: ontology_acronym, notification_type: "NOTES"} + sub_ont_acronym = sub[:ontology]&.split('/')&.last # make sure we get the acronym, even if it's a full URI return true if sub_ont_acronym == ontology_acronym end - return false + false end def ontolobridge_instructions_template(ontology) @@ -494,10 +491,9 @@ def ontolobridge_instructions_template(ontology) # http://stackoverflow.com/questions/1293573/rails-smart-text-truncation def smart_truncate(s, opts = {}) - opts = {:words => 20}.merge(opts) - if opts[:sentences] - return s.split(/\.(\s|$)+/)[0, opts[:sentences]].map{|s| s.strip}.join('. ') + '. ...' - end + opts = { words: 20 }.merge(opts) + return "#{s.split(/\.(\s|$)+/)[0, opts[:sentences]].map(&:strip).join('. ')}. ..." if opts[:sentences] + a = s.split(/\s/) # or /[ ]+/ to only split on spaces n = opts[:words] a[0...n].join(' ') + (a.size > n ? '...' : '') @@ -508,11 +504,11 @@ def smart_truncate(s, opts = {}) # => '06/27/2010' def xmldatetime_to_date(xml_date_time_str) require 'date' - d = DateTime.xmlschema( xml_date_time_str ).to_date + d = DateTime.xmlschema(xml_date_time_str).to_date # Return conventional US date format: - return sprintf("%02d/%02d/%4d", d.month, d.day, d.year) + format('%02d/%02d/%4d', d.month, d.day, d.year) # Or return "yyyy/mm/dd" format with: - #return DateTime.xmlschema( xml_date_time_str ).to_date.to_s + # return DateTime.xmlschema( xml_date_time_str ).to_date.to_s end def notification_type(flash_key) @@ -525,22 +521,22 @@ def notification_type(flash_key) bootstrap_alert_class[flash_key] end - ###BEGIN ruby equivalent of JS code in bp_ajax_controller. - ###Note: this code is used in concepts/_details partial. + # ##BEGIN ruby equivalent of JS code in bp_ajax_controller. + # ##Note: this code is used in concepts/_details partial. def bp_ont_link(ont_acronym) - return "/ontologies/#{ont_acronym}" + "/ontologies/#{ont_acronym}" end def bp_class_link(cls_id, ont_acronym) - return "#{bp_ont_link(ont_acronym)}?p=classes&conceptid=#{escape(cls_id)}&language=#{request_lang}" + "#{bp_ont_link(ont_acronym)}?p=classes&conceptid=#{escape(cls_id)}&language=#{request_lang}" end def bp_scheme_link(scheme_id, ont_acronym) - return "#{bp_ont_link(ont_acronym)}?p=schemes&schemeid=#{escape(scheme_id)}" + "#{bp_ont_link(ont_acronym)}?p=schemes&schemeid=#{escape(scheme_id)}" end def bp_label_xl_link(label_xl_id, ont_acronym) - return "#{bp_ont_link(ont_acronym)}/?label_xl_id=#{escape(label_xl_id)}" + "#{bp_ont_link(ont_acronym)}/?label_xl_id=#{escape(label_xl_id)}" end def bp_collection_link(collection_id, ont_acronym) @@ -554,8 +550,7 @@ def label_ajax_data_h(cls_id, ont_acronym, ajax_uri, cls_url) 'label-ajax-ontology-acronym-value': ont_acronym, 'label-ajax-ajax-url-value': ajax_uri, 'label-ajax-cls-id-url-value': cls_url - } - } + } } end def label_ajax_data(cls_id, ont_acronym, ajax_uri, cls_url) @@ -564,7 +559,7 @@ def label_ajax_data(cls_id, ont_acronym, ajax_uri, cls_url) def label_ajax_link(link, cls_id, ont_acronym, ajax_uri, cls_url, target = nil) data = label_ajax_data(cls_id, ont_acronym, ajax_uri, cls_url) - options = { 'data-controller': 'label-ajax' }.merge(data) + options = { 'data-controller': 'label-ajax' }.merge(data) options = options.merge({ target: target }) if target render ChipButtonComponent.new(url: link, text: cls_id, type: 'clickable', **options) @@ -575,7 +570,7 @@ def get_link_for_cls_ajax(cls_id, ont_acronym, target = nil) link = bp_class_link(cls_id, ont_acronym) ajax_url = '/ajax/classes/label' cls_url = "/ontologies/#{ont_acronym}?p=classes&conceptid=#{CGI.escape(cls_id)}" - label_ajax_link(link, cls_id, ont_acronym, ajax_url , cls_url ,target) + label_ajax_link(link, cls_id, ont_acronym, ajax_url, cls_url, target) else auto_link(cls_id, :all, target: '_blank') end @@ -585,7 +580,7 @@ def get_link_for_ont_ajax(ont_acronym) # ajax call will replace the acronym with an ontology name (triggered by class='ont4ajax') href_ont = " href='#{bp_ont_link(ont_acronym)}' " data_ont = " data-ont='#{ont_acronym}' " - return "#{ont_acronym}" + "#{ont_acronym}" end def get_link_for_scheme_ajax(scheme, ont_acronym, target = '_blank') @@ -602,7 +597,6 @@ def get_link_for_collection_ajax(collection, ont_acronym, target = '_blank') label_ajax_link(link, collection, ont_acronym, ajax_url, collection_url, target) end - def get_link_for_label_xl_ajax(label_xl, ont_acronym, cls_id, modal: true) link = label_xl ajax_uri = "/ajax/label_xl/label?cls_id=#{CGI.escape(cls_id)}" @@ -610,21 +604,17 @@ def get_link_for_label_xl_ajax(label_xl, ont_acronym, cls_id, modal: true) data = label_ajax_data_h(label_xl, ont_acronym, ajax_uri, label_xl_url) data[:data][:controller] = 'label-ajax' if modal - link_to_modal(cls_id, link, {data: data[:data] , class: 'btn btn-sm btn-light'}) + link_to_modal(cls_id, link, { data: data[:data], class: 'btn btn-sm btn-light' }) else - link_to(link,'', {data: data[:data], class: 'btn btn-sm btn-light', target: '_blank'}) + link_to(link, '', { data: data[:data], class: 'btn btn-sm btn-light', target: '_blank' }) end - - end - ###END ruby equivalent of JS code in bp_ajax_controller. + # ##END ruby equivalent of JS code in bp_ajax_controller. def ontology_viewer_page_name(ontology_name, concept_label, page) - ontology_name + " | " + main_language_label(concept_label) + " - #{page.capitalize}" + "#{ontology_name} | #{main_language_label(concept_label)} - #{page.capitalize}" end - - def uri?(url) url =~ /\A#{URI::DEFAULT_PARSER.make_regexp(%w[http https])}\z/ end @@ -633,10 +623,10 @@ def extract_label_from(uri) label = uri.to_s.chomp('/').chomp('#') index = label.index('#') if !index.nil? - label = label[(index + 1) , uri.length-1] + label = label[(index + 1), uri.length - 1] else index = label.rindex('/') - label = label[(index + 1), uri.length-1] if index > -1 && index < (uri.length - 1) + label = label[(index + 1), uri.length - 1] if index > -1 && index < (uri.length - 1) end label end @@ -652,7 +642,7 @@ def current_page?(path) def request_lang lang = params[:language] || params[:lang] - lang = 'EN' unless lang + lang ||= 'EN' lang.upcase end @@ -677,27 +667,32 @@ def bp_config_json interportal_hash: $INTERPORTAL_HASH, resolve_namespace: RESOLVE_NAMESPACE } - config[:ncbo_slice] = @subdomain_filter[:acronym] if (@subdomain_filter[:active] && !@subdomain_filter[:acronym].empty?) + if @subdomain_filter[:active] && !@subdomain_filter[:acronym].empty? + config[:ncbo_slice] = + @subdomain_filter[:acronym] + end config.to_json end + def portal_name $SITE - end + end + def navitems - items = [["/ontologies", t('layout.header.browse')], - ["/mappings", t('layout.header.mappings')], - ["/recommender", t("layout.header.recommender")], - ["/annotator", t("layout.header.annotator")], - ["/landscape", t("layout.header.landscape")]] + [['/ontologies', t('layout.header.browse')], + ['/mappings', t('layout.header.mappings')], + ['/recommender', t('layout.header.recommender')], + ['/annotator', t('layout.header.annotator')], + ['/landscape', t('layout.header.landscape')]] end def portal_language_selector(id: 'language-select') - languages = %w[en fr it de].map{|x| [x.upcase, x]} - select_tag('language',options_for_select(languages), id: id, class: 'nav-language', - data: { controller: "platform-language", action: "change->platform-language#handleLangChanged" }) - + languages = %w[en fr it de].map { |x| [x.upcase, x] } + select_tag('language', options_for_select(languages), id: id, class: 'nav-language', + data: { controller: 'platform-language', action: 'change->platform-language#handleLangChanged' }) end + def attribute_enforced_values(attr) - submission_metadata.select {|x| x['@id'][attr]}.first['enforcedValues'] + submission_metadata.select { |x| x['@id'][attr] }.first['enforcedValues'] end end diff --git a/app/helpers/collections_helper.rb b/app/helpers/collections_helper.rb index f1c8ca4d60..c339858d48 100644 --- a/app/helpers/collections_helper.rb +++ b/app/helpers/collections_helper.rb @@ -1,6 +1,6 @@ -module CollectionsHelper - +# frozen_string_literal: true +module CollectionsHelper def get_collections(ontology, add_colors: false) collections = ontology.explore.collections(language: request_lang) generate_collections_colors(collections) if add_colors @@ -8,7 +8,7 @@ def get_collections(ontology, add_colors: false) end def get_collection(ontology, collection_uri) - ontology.explore.collections({ include: 'all', language: request_lang},collection_uri) + ontology.explore.collections({ include: 'all', language: request_lang }, collection_uri) end def get_collection_label(collection) @@ -20,7 +20,6 @@ def get_collection_label(collection) end def get_collections_labels(collections, main_uri = '') - selected_label = nil collections_labels = [] collections.each do |x| @@ -29,7 +28,7 @@ def get_collections_labels(collections, main_uri = '') if id.eql? main_uri selected_label = { 'prefLabel' => label, '@id' => id } else - collections_labels.append( { 'prefLabel' => label, '@id' => id , 'color' => x['color'] }) + collections_labels.append({ 'prefLabel' => label, '@id' => id, 'color' => x['color'] }) end end @@ -62,9 +61,9 @@ def sort_collections_label(collections_labels) def link_to_collection(collection, selected_collection_id) pref_label_lang, pref_label_html = get_collection_label(collection) - tooltip = pref_label_lang.to_s.eql?('@none') ? '' : "data-controller='tooltip' data-tooltip-position-value='right' title='#{pref_label_lang.upcase}'" + tooltip = pref_label_lang.to_s.eql?('@none') ? '' : "data-controller='tooltip' data-tooltip-position-value='right' title='#{pref_label_lang.upcase}'" <<-EOS - @@ -81,4 +80,3 @@ def generate_collections_colors(collections) end end end - diff --git a/app/helpers/components_helper.rb b/app/helpers/components_helper.rb index 5b9c217d76..e93bec6987 100644 --- a/app/helpers/components_helper.rb +++ b/app/helpers/components_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module ComponentsHelper def info_tooltip(text) render Display::InfoTooltipComponent.new(text: text) @@ -6,7 +8,7 @@ def info_tooltip(text) def empty_state_message(message) content_tag(:p, message.html_safe, class: 'font-italic field-description_text') end - + def properties_list_component(c, properties, &block) properties.each do |k, v| c.row do @@ -15,15 +17,14 @@ def properties_list_component(c, properties, &block) else v end - render FieldContainerComponent.new(label: attr_label(k, attr_metadata: attr_metadata(k), show_tooltip: false)) do + render FieldContainerComponent.new(label: attr_label(k, attr_metadata: attr_metadata(k), + show_tooltip: false)) do content end end end - end - def horizontal_list_container(values, &block) return if Array(values).empty? @@ -64,7 +65,11 @@ def properties_card(title, tooltip, properties, &block) def properties_dropdown(id, title, tooltip, properties, &block) render DropdownContainerComponent.new(title: title, id: id, tooltip: tooltip) do |d| d.empty_state do - properties_string = properties.keys[0..4].map{|key| "#{attr_label(key, attr_metadata: attr_metadata(key), show_tooltip: false)}" }.join(', ')+'... ' if properties + if properties + properties_string = properties.keys[0..4].map { |key| + "#{attr_label(key, attr_metadata: attr_metadata(key), show_tooltip: false)}" + }.join(', ') + '... ' + end empty_state_message "The fields #{properties_string} are empty" end diff --git a/app/helpers/concepts_helper.rb b/app/helpers/concepts_helper.rb index 4418e6d52c..e15ca22d70 100644 --- a/app/helpers/concepts_helper.rb +++ b/app/helpers/concepts_helper.rb @@ -1,4 +1,5 @@ # frozen_string_literal: true + module ConceptsHelper def exclude_relation?(relation_to_check, ontology = nil) excluded_relations = %w[type rdf:type [R] SuperClass InstanceCount] @@ -29,19 +30,19 @@ def get_concept_id(params, concept, root) end def sub_menu_active?(section) - params["sub_menu"]&.eql? section + params['sub_menu']&.eql? section end def sub_menu_active_class(section) - "active show" if sub_menu_active?(section) + 'active show' if sub_menu_active?(section) end def default_sub_menu? !sub_menu_active?('list') && !sub_menu_active?('date') end - + def default_sub_menu_class - "active show" if default_sub_menu? + 'active show' if default_sub_menu? end def concept_label(ont_id, cls_id) @@ -50,16 +51,16 @@ def concept_label(ont_id, cls_id) ontology_not_found(ont_id) unless @ontology # Retrieve a class prefLabel or return the class ID (URI) # - mappings may contain class URIs that are not in bioportal (e.g. obo-xrefs) - cls = @ontology.explore.single_class({language: request_lang, include: 'prefLabel'}, cls_id) + cls = @ontology.explore.single_class({ language: request_lang, include: 'prefLabel' }, cls_id) # TODO: log any cls.errors # TODO: NCBO-402 might be implemented here, but it throws off a lot of ajax result rendering. - #cls_label = cls.prefLabel({:use_html => true}) || cls_id + # cls_label = cls.prefLabel({:use_html => true}) || cls_id cls.prefLabel || cls_id end def concept_id_param_exist?(params) - !(params[:conceptid].nil? || params[:conceptid].empty? || params[:conceptid].eql?("root") || - params[:conceptid].eql?("bp_fake_root")) + !(params[:conceptid].nil? || params[:conceptid].empty? || params[:conceptid].eql?('root') || + params[:conceptid].eql?('bp_fake_root')) end def concept_date(concept) @@ -75,6 +76,7 @@ def sorted_by_date_url(page = 1, last_concept = nil) def same_period?(year, month, date) return false if date.nil? + date = Date.parse(date.to_s) year.eql?(date.year) && month.eql?(date.strftime('%B')) end @@ -88,7 +90,7 @@ def concepts_li_list(concepts) end def render_concepts_by_dates - return if @concepts_year_month.empty? + return if @concepts_year_month.empty? first_year, first_month_concepts = @concepts_year_month.shift first_month, first_concepts = first_month_concepts.shift @@ -106,9 +108,9 @@ def render_concepts_by_dates @concepts_year_month.each do |year, month_concepts| month_concepts.each do |month, concepts| - out += "
    #{month + ' ' + year.to_s}" + out += "
      #{"#{month} #{year}"}" out += concepts_li_list(concepts) - out += "
    " + out += '
' end end @@ -119,7 +121,6 @@ def concept_list_url(page = 1, collection_id, acronym) "/ajax/classes/list?ontology_id=#{acronym}&collection_id=#{collection_id}&page=#{page}" end - def add_synonym_button return unless change_requests_enabled?(@ontology.acronym) @@ -170,4 +171,4 @@ def synonym_qualifier_select(form) def concept_redirect_path ontology_path(@ontology.acronym, p: 'classes', conceptid: @concept.id) end -end \ No newline at end of file +end diff --git a/app/helpers/error_helpers.rb b/app/helpers/error_helpers.rb index 1bf058991f..cbf908ec56 100644 --- a/app/helpers/error_helpers.rb +++ b/app/helpers/error_helpers.rb @@ -1,14 +1,14 @@ -module ErrorHelpers +# frozen_string_literal: true +module ErrorHelpers def self.not_browsable_text(concept) case concept.type.downcase - when "individual" - return "Sorry, the class #{concept.label} cannot be viewed because it refers to an individual" - when "property" - return "Sorry, the class #{concept.label} cannot be viewed because it refers to a property" - else - return "Sorry, an error has occurred" + when 'individual' + "Sorry, the class #{concept.label} cannot be viewed because it refers to an individual" + when 'property' + "Sorry, the class #{concept.label} cannot be viewed because it refers to a property" + else + 'Sorry, an error has occurred' end end - end diff --git a/app/helpers/fair_score_helper.rb b/app/helpers/fair_score_helper.rb index 6febe47e6e..79decc3c3c 100644 --- a/app/helpers/fair_score_helper.rb +++ b/app/helpers/fair_score_helper.rb @@ -1,23 +1,23 @@ -module FairScoreHelper +# frozen_string_literal: true +module FairScoreHelper def user_apikey session[:user].nil? ? '' : session[:user].apikey end def fairness_service_enabled? - !$FAIRNESS_DISABLED + !$FAIRNESS_DISABLED || !$FAIRNESS_URL.blank? end def get_fairness_service_url(apikey = user_apikey) "#{$FAIRNESS_URL}?portal=#{$HOSTNAME.split('.')[0]}#{apikey.nil? || apikey.empty? ? '' : "&apikey=#{apikey}"}" end + def get_fairness_json(ontologies_acronyms, apikey = user_apikey) - begin - MultiJson.load(Faraday.get(get_fairness_service_url(apikey) + "&ontologies=#{ontologies_acronyms}&combined").body.force_encoding('ISO-8859-1').encode('UTF-8')) - rescue - Rails.logger.warn "FAIRness service issue unreachable" - {} - end + MultiJson.load(Faraday.get(get_fairness_service_url(apikey) + "&ontologies=#{ontologies_acronyms}&combined").body.force_encoding('ISO-8859-1').encode('UTF-8')) + rescue StandardError + Rails.logger.warn 'FAIRness service issue unreachable' + {} end def get_fair_score(ontologies_acronyms, apikey = user_apikey) @@ -28,30 +28,31 @@ def get_fair_combined_score(ontologies_acronyms, apikey = user_apikey) get_fairness_json(ontologies_acronyms, apikey)['combinedScores'] end - def create_fair_scores_data(fair_scores, count = nil) return nil if fair_scores.nil? fair_scores_data = {} - fair_scores_data[:principles] = {labels:[] , scores:[] , normalizedScores: [] , maxCredits: [] , portalMaxCredits: []} - fair_scores_data[:criteria] = { labels:[] , scores:[] , normalizedScores: [] , portalMaxCredits: [], questions: [] ,maxCredits: [] , descriptions: []} + fair_scores_data[:principles] = + { labels: [], scores: [], normalizedScores: [], maxCredits: [], portalMaxCredits: [] } + fair_scores_data[:criteria] = + { labels: [], scores: [], normalizedScores: [], portalMaxCredits: [], questions: [], maxCredits: [], + descriptions: [] } fair_scores_data[:score] = fair_scores['score'].to_f.round(2) fair_scores_data[:normalizedScore] = fair_scores['normalizedScore'].to_f.round(2) fair_scores_data[:minScore] = fair_scores['minScore'].to_f.round(2) fair_scores_data[:maxScore] = fair_scores['maxScore'].to_f.round(2) fair_scores_data[:medianScore] = fair_scores['medianScore'].to_f.round(2) fair_scores_data[:maxCredits] = fair_scores['maxCredits'].to_i - fair_scores_data[:resourceCount] = count unless count.nil? - - fair_scores.to_h.select { |k,v| (v.is_a? Hash) }.each do |key, principle| + fair_scores_data[:resourceCount] = count unless count.nil? + fair_scores.to_h.select { |_k, v| (v.is_a? Hash) }.each do |key, principle| fair_scores_data[:principles][:labels] << key fair_scores_data[:principles][:scores] << (principle['score'].to_f.round(2)) fair_scores_data[:principles][:normalizedScores] << (principle['normalizedScore'].to_f.round(2)) fair_scores_data[:principles][:maxCredits] << principle['maxCredits'] fair_scores_data[:principles][:portalMaxCredits] << principle['portalMaxCredits'] - principle.to_h.select { |k,v| (v.is_a? Hash) }.each do |key , criterion| + principle.to_h.select { |_k, v| (v.is_a? Hash) }.each do |key, criterion| fair_scores_data[:criteria][:labels] << key fair_scores_data[:criteria][:descriptions] << criterion['label'] fair_scores_data[:criteria][:scores] << (criterion['score'].to_f.round(2)) @@ -67,21 +68,20 @@ def create_fair_scores_data(fair_scores, count = nil) end def get_not_obtained_score(fair_scores_data, index) - fair_scores_data[:criteria][:portalMaxCredits][index] - fair_scores_data[:criteria][:scores][index] + fair_scores_data[:criteria][:portalMaxCredits][index] - fair_scores_data[:criteria][:scores][index] end def get_not_obtained_score_normalized(fair_scores_data, index) - score_rest = get_rest_score(fair_scores_data,index) - not_obtained_score = get_not_obtained_score(fair_scores_data , index) + score_rest = get_rest_score(fair_scores_data, index) + not_obtained_score = get_not_obtained_score(fair_scores_data, index) if not_obtained_score.positive? && score_rest.positive? - ((not_obtained_score / fair_scores_data[:criteria][:maxCredits][index]) * 100).round() + ((not_obtained_score / fair_scores_data[:criteria][:maxCredits][index]) * 100).round elsif score_rest.zero? - 100 - fair_scores_data[:criteria][:normalizedScores][index] + 100 - fair_scores_data[:criteria][:normalizedScores][index] else - 0 + 0 end - end def get_rest_score(fair_scores_data, index) @@ -89,15 +89,14 @@ def get_rest_score(fair_scores_data, index) end def get_rest_score_normalized(fair_scores_data, index) - score_rest = get_rest_score(fair_scores_data ,index) - not_obtained_score_normalized = get_not_obtained_score_normalized(fair_scores_data , index) + score_rest = get_rest_score(fair_scores_data, index) + not_obtained_score_normalized = get_not_obtained_score_normalized(fair_scores_data, index) if score_rest.positive? 100 - not_obtained_score_normalized - fair_scores_data[:criteria][:normalizedScores][index] else 0 end - end def not_implemented?(question) @@ -114,11 +113,10 @@ def default_score?(question) end def get_name_with_out_dot(name) - name.to_s.gsub(/\./,'') + name.to_s.gsub(/\./, '') end def print_score(score) number_with_precision(score, precision: 2, strip_insignificant_zeros: true) end end - diff --git a/app/helpers/home_helper.rb b/app/helpers/home_helper.rb index 7b14c5ba45..b831b1579b 100644 --- a/app/helpers/home_helper.rb +++ b/app/helpers/home_helper.rb @@ -1,15 +1,18 @@ +# frozen_string_literal: true + require 'open-uri' require 'open_uri_redirections' require 'nokogiri' module HomeHelper - def render_footer_link(options = {}) link_content = options[:text][I18n.locale] || options[:text][:en] if options[:text] link_content ||= image_tag(options[:img_src]) if options[:img_src] link_content ||= content_tag(:i, '', class: options[:icon]) if options[:icon] - - link_to(link_content, options[:url], target: options[:target], class: options[:css_class].to_s, style: options[:text].blank? ? 'text-decoration: none' : '').html_safe if link_content - end -end \ No newline at end of file + return unless link_content + + link_to(link_content, options[:url], target: options[:target], class: options[:css_class].to_s, + style: options[:text].blank? ? 'text-decoration: none' : '').html_safe + end +end diff --git a/app/helpers/inputs_helper.rb b/app/helpers/inputs_helper.rb index a2e81eb4fe..b9582b7763 100644 --- a/app/helpers/inputs_helper.rb +++ b/app/helpers/inputs_helper.rb @@ -1,5 +1,6 @@ -module InputsHelper +# frozen_string_literal: true +module InputsHelper def text_input(name:, value:, label: nil, disabled: false, help: nil, error_message: nil) render Input::TextInputComponent.new(label: input_label(label, name), name: name, value: value, error_message: error_message || input_error_message(name), @@ -19,13 +20,14 @@ def check_input(id:, name:, value:, label: '', checked: false) end def switch_input(id:, name:, label:, checked: false, value: '', boolean_switch: false) - render SwitchInputComponent.new(id: id, name: name, label: label, checked: checked, value: value, boolean_switch: boolean_switch) + render SwitchInputComponent.new(id: id, name: name, label: label, checked: checked, value: value, + boolean_switch: boolean_switch) end def url_input(name:, value:, label: nil, help: nil) render Input::UrlComponent.new(label: input_label(label, name), name: name, value: value, error_message: input_error_message(name), - helper_text: help) + helper_text: help) end def text_area_input(name:, value:, label: nil, help: nil) @@ -53,7 +55,7 @@ def input_label(label, name) end def attribute_error(attr) - return '' if @errors&.is_a?(String) + return '' if @errors.is_a?(String) return '' unless @errors && @errors[attr.to_sym] errors = @errors[attr.to_sym] @@ -64,4 +66,4 @@ def attribute_error(attr) def input_error_message(name) attribute_error(method_name(name)) end -end \ No newline at end of file +end diff --git a/app/helpers/instances_helper.rb b/app/helpers/instances_helper.rb index ec19cd36fc..076d7e1845 100644 --- a/app/helpers/instances_helper.rb +++ b/app/helpers/instances_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module InstancesHelper include ConceptsHelper include ApplicationHelper @@ -9,7 +11,7 @@ def get_instances_by_ontology_json(ontology, query_parameters) ontology.explore.instances(query_parameters) end - def get_instance_details_json(ontology_acronym, instance_uri , query_parameters, raw: false) + def get_instance_details_json(ontology_acronym, instance_uri, query_parameters, raw: false) LinkedData::Client::HTTP .get("/ontologies/#{ontology_acronym}/instances/#{CGI.escape(instance_uri)}", query_parameters, raw: raw) @@ -19,9 +21,9 @@ def get_instance_and_type(instance_id) if instance_id.nil? [{}, nil] else - instance_details = JSON.parse(get_instance_details_json(@ontology.acronym,instance_id, {}, raw: true)) - if(!instance_details['types'].nil?) - types = instance_details['types'].reject{ |type| type.eql? 'http://www.w3.org/2002/07/owl#NamedIndividual'} + instance_details = JSON.parse(get_instance_details_json(@ontology.acronym, instance_id, {}, raw: true)) + if !instance_details['types'].nil? + types = instance_details['types'].reject { |type| type.eql? 'http://www.w3.org/2002/07/owl#NamedIndividual' } [instance_details, types[0]] else [{}, nil] @@ -31,41 +33,41 @@ def get_instance_and_type(instance_id) def instance_label(instance) labels = instance['label'] - labels = labels.first if labels.kind_of?(Array) + labels = labels.first if labels.is_a?(Array) labels || instance['prefLabel'] || extract_label_from(instance['@id']) end def type_of(instance) except_types = ['http://www.w3.org/2002/07/owl#NamedIndividual'] - out = instance['types'].filter{ |x| !except_types.include?(x)} + out = instance['types'].filter { |x| !except_types.include?(x) } if !out.empty? - out.first + out.first else - "" + '' end end def link_to_instance(instance, ontology_acronym) link_to instance_label(instance), - ontology_path(ontology_acronym, p: 'classes', conceptid:type_of(instance), instanceid:instance['@id']), - {target: '_blank'} + ontology_path(ontology_acronym, p: 'classes', conceptid: type_of(instance), instanceid: instance['@id']), + { target: '_blank' } end def link_to_class(ontology_acronym, conceptid) link_to concept_label(ontology_acronym, conceptid), - ontology_path(ontology_acronym, p: 'classes', conceptid:conceptid), - {target: '_blank'} + ontology_path(ontology_acronym, p: 'classes', conceptid: conceptid), + { target: '_blank' } end def link_to_property(property, ontology_acronym) link_to extract_label_from(property), ontology_path(ontology_acronym, p: 'properties'), - { target: '_blank'} + { target: '_blank' } end def instance_property_value(property, ontology_acronym) if uri?(property) - instance, types = get_instance_and_type(property) + instance, = get_instance_and_type(property) return link_to_instance instance, ontology_acronym unless instance.empty? end property @@ -73,8 +75,7 @@ def instance_property_value(property, ontology_acronym) def add_labels_to_print(instance, ontology_acronym) instance['labelToPrint'] = instance_label(instance) - instance['types'].map!{ |t| {type:t, labelToPrint:concept_label(ontology_acronym , t)}} + instance['types'].map! { |t| { type: t, labelToPrint: concept_label(ontology_acronym, t) } } instance end - end diff --git a/app/helpers/label_xl_helper.rb b/app/helpers/label_xl_helper.rb index d5081bb405..fee37cb62c 100644 --- a/app/helpers/label_xl_helper.rb +++ b/app/helpers/label_xl_helper.rb @@ -1,7 +1,8 @@ -module LabelXlHelper +# frozen_string_literal: true +module LabelXlHelper def get_label_xl(ontology, label_xl_uri) - ontology.explore.xl_labels({ include: 'all', lang: 'all'}, label_xl_uri) + ontology.explore.xl_labels({ include: 'all', lang: 'all' }, label_xl_uri) end def get_label_xl_label(label_xl) diff --git a/app/helpers/landscape_helper.rb b/app/helpers/landscape_helper.rb index 6cef3b1839..d8a3e26184 100644 --- a/app/helpers/landscape_helper.rb +++ b/app/helpers/landscape_helper.rb @@ -1,2 +1,4 @@ +# frozen_string_literal: true + module LandscapeHelper end diff --git a/app/helpers/mappings_helper.rb b/app/helpers/mappings_helper.rb index 2f32f16d7d..e734ca407e 100644 --- a/app/helpers/mappings_helper.rb +++ b/app/helpers/mappings_helper.rb @@ -1,37 +1,38 @@ -module MappingsHelper +# frozen_string_literal: true +module MappingsHelper RELATIONSHIP_URIS = { - "http://www.w3.org/2004/02/skos/core" => "skos:", - "http://www.w3.org/2000/01/rdf-schema" => "rdfs:", - "http://www.w3.org/2002/07/owl" => "owl:", - "http://www.w3.org/1999/02/22-rdf-syntax-ns" => "rdf:" - } + 'http://www.w3.org/2004/02/skos/core' => 'skos:', + 'http://www.w3.org/2000/01/rdf-schema' => 'rdfs:', + 'http://www.w3.org/2002/07/owl' => 'owl:', + 'http://www.w3.org/1999/02/22-rdf-syntax-ns' => 'rdf:' + }.freeze # Used to replace the full URI by the prefixed URI RELATIONSHIP_PREFIX = { - "http://www.w3.org/2004/02/skos/core#" => "skos:", - "http://www.w3.org/2000/01/rdf-schema#" => "rdfs:", - "http://www.w3.org/2002/07/owl#" => "owl:", - "http://www.w3.org/1999/02/22-rdf-syntax-ns#" => "rdf:", - "http://purl.org/linguistics/gold/" => "gold:", - "http://lemon-model.net/lemon#" => "lemon:" - } + 'http://www.w3.org/2004/02/skos/core#' => 'skos:', + 'http://www.w3.org/2000/01/rdf-schema#' => 'rdfs:', + 'http://www.w3.org/2002/07/owl#' => 'owl:', + 'http://www.w3.org/1999/02/22-rdf-syntax-ns#' => 'rdf:', + 'http://purl.org/linguistics/gold/' => 'gold:', + 'http://lemon-model.net/lemon#' => 'lemon:' + }.freeze INTERPORTAL_HASH = $INTERPORTAL_HASH def get_short_id(uri) - split = uri.split("#") + split = uri.split('#') name = split.length > 1 && RELATIONSHIP_URIS.keys.include?(split[0]) ? RELATIONSHIP_URIS[split[0]] + split[1] : uri "
#{name}" end # a little method that returns true if the URIs array contain a gold:translation or gold:freeTranslation def translation?(relation_array) - if relation_array.kind_of?(Array) + if relation_array.is_a?(Array) relation_array.map!(&:downcase) - if relation_array.include? "http://purl.org/linguistics/gold/translation" + if relation_array.include? 'http://purl.org/linguistics/gold/translation' true - elsif relation_array.include? "http://purl.org/linguistics/gold/freetranslation" + elsif relation_array.include? 'http://purl.org/linguistics/gold/freetranslation' true else false @@ -44,51 +45,47 @@ def translation?(relation_array) # a little method that returns the uri with a prefix : http://purl.org/linguistics/gold/translation become gold:translation def get_prefixed_uri(uri) RELATIONSHIP_PREFIX.each { |k, v| uri.sub!(k, v) } - return uri + uri end # method to get (using http) prefLabel for interportal classes # Using bp_ajax_controller.ajax_process_interportal_cls will try to resolve class labels. def ajax_to_inter_portal_cls(cls) - inter_portal_acronym = get_inter_portal_acronym(cls.links["ui"]) - href_cls = " href='#{cls.links["ui"]}' " + inter_portal_acronym = get_inter_portal_acronym(cls.links['ui']) + href_cls = " href='#{cls.links['ui']}' " if inter_portal_acronym - data_cls = " data-cls='#{cls.links["self"]}?apikey=' " + data_cls = " data-cls='#{cls.links['self']}?apikey=' " portal_cls = " portal-cls='#{inter_portal_acronym}' " raw("#{cls.id}") else raw("#{cls.id}") end - end def ajax_to_internal_cls(cls) - link_to("#{cls.id}".html_safe, + link_to("#{cls.id}".html_safe, ontology_path(cls.explore.ontology.acronym, p: 'classes', conceptid: cls.id)) end # to get the apikey from the interportal instance of the interportal class. # The best way to know from which interportal instance the class came is to compare the UI url def get_inter_portal_acronym(class_ui_url) - if !INTERPORTAL_HASH.nil? - INTERPORTAL_HASH.each do |key, value| - if class_ui_url.start_with?(value["ui"]) - return key - else - return nil - end - end + return if INTERPORTAL_HASH.nil? + + INTERPORTAL_HASH.each do |key, value| + return key if class_ui_url.start_with?(value['ui']) + + return nil end end # method to extract the prefLabel from the external class URI def get_label_for_external_cls(class_uri) - if class_uri.include? "#" - prefLabel = class_uri.split("#")[-1] + if class_uri.include? '#' + class_uri.split('#')[-1] else - prefLabel = class_uri.split("/")[-1] + class_uri.split('/')[-1] end - return prefLabel end def ajax_to_external_cls(cls) @@ -98,25 +95,26 @@ def ajax_to_external_cls(cls) # Replace the inter_portal mapping ontology URI (that link to the API) by the link to the ontology in the UI def get_inter_portal_ui_link(uri, process_name) process_name = '' if process_name.nil? - interportal_acronym = process_name.split(" ")[2] + interportal_acronym = process_name.split(' ')[2] if interportal_acronym.nil? || interportal_acronym.empty? uri else - uri.sub!(INTERPORTAL_HASH[interportal_acronym]["api"], INTERPORTAL_HASH[interportal_acronym]["ui"]) + uri.sub!(INTERPORTAL_HASH[interportal_acronym]['api'], INTERPORTAL_HASH[interportal_acronym]['ui']) end end def onts_and_views_for_select @onts_and_views_for_select = [] - ontologies = LinkedData::Client::Models::Ontology.all(include: "acronym,name", include_views: true) + ontologies = LinkedData::Client::Models::Ontology.all(include: 'acronym,name', include_views: true) ontologies.each do |ont| - next if (ont.acronym.nil? || ont.acronym.empty?) + next if ont.acronym.nil? || ont.acronym.empty? + ont_acronym = ont.acronym ont_display_name = "#{ont.name.strip} (#{ont_acronym})" @onts_and_views_for_select << [ont_display_name, ont_acronym] end @onts_and_views_for_select.sort! { |a, b| a[0].downcase <=> b[0].downcase } - return @onts_and_views_for_select + @onts_and_views_for_select end def get_concept_mappings(concept) @@ -124,14 +122,13 @@ def get_concept_mappings(concept) # Remove mappings where the destination class exists in an ontology that the logged in user doesn't have permissions to view. # Workaround for https://github.com/ncbo/ontologies_api/issues/52. mappings.delete_if do |mapping| - #mapping.classes.reject! { |cls| (cls.id == concept.id) && (cls.links['ontology'] == concept.links['ontology']) } - begin - ont = mapping.classes[0].explore.ontology - ont.errors && ont.errors.grep(/Access denied/).any? - rescue => e - Rails.logger.warn "Mapping issue with '#{mapping.inspect}' : #{e.message}" - false - end + # mapping.classes.reject! { |cls| (cls.id == concept.id) && (cls.links['ontology'] == concept.links['ontology']) } + + ont = mapping.classes[0].explore.ontology + ont.errors&.grep(/Access denied/)&.any? + rescue StandardError => e + Rails.logger.warn "Mapping issue with '#{mapping.inspect}' : #{e.message}" + false end end @@ -140,7 +137,7 @@ def internal_mapping?(cls) end def inter_portal_mapping?(cls) - !internal_mapping?(cls) && cls.links.has_key?("ui") + !internal_mapping?(cls) && cls.links.key?('ui') end def get_mappings_target_params @@ -161,7 +158,7 @@ def get_mappings_target_params [ontology_to, concept_to_id, external] end - def set_mapping_target(concept_to_id:, ontology_to:, mapping_type: ) + def set_mapping_target(concept_to_id:, ontology_to:, mapping_type:) case mapping_type when 'interportal' @map_to_interportal, @map_to_interportal_ontology = ontology_to.match(%r{(.*)/ontologies/(.*)}).to_a[1..] @@ -182,11 +179,11 @@ def get_mappings_target target_ontology = ontology_to target = concept_to_id else - if helpers.uri?(ontology_to) - target_ontology = LinkedData::Client::Models::Ontology.find(ontology_to) - else - target_ontology = LinkedData::Client::Models::Ontology.find_by_acronym(ontology_to).first - end + target_ontology = if helpers.uri?(ontology_to) + LinkedData::Client::Models::Ontology.find(ontology_to) + else + LinkedData::Client::Models::Ontology.find_by_acronym(ontology_to).first + end if target_ontology target = target_ontology.explore.single_class(concept_to_id).id target_ontology = target_ontology.id diff --git a/app/helpers/metadata_helper.rb b/app/helpers/metadata_helper.rb index fbb4a3c0fe..247d29cca6 100644 --- a/app/helpers/metadata_helper.rb +++ b/app/helpers/metadata_helper.rb @@ -1,17 +1,18 @@ -module MetadataHelper +# frozen_string_literal: true +module MetadataHelper def input_type?(attr, type) - attr["enforce"].include?(type) + attr['enforce'].include?(type) end def submission_metadata - @metadata ||= JSON.parse(Net::HTTP.get(URI.parse("#{$REST_URL}/submission_metadata?apikey=#{$API_KEY}"))) + @submission_metadata ||= JSON.parse(Net::HTTP.get(URI.parse("#{$REST_URL}/submission_metadata?apikey=#{$API_KEY}"))) end def attr_metadata(attr_key) - submission_metadata.select { |attr_hash| attr_hash["attribute"].to_s.eql?(attr_key) }.first + submission_metadata.select { |attr_hash| attr_hash['attribute'].to_s.eql?(attr_key) }.first end - + def integer?(attr_label) input_type?(attr_metadata(attr_label), 'integer') end @@ -25,11 +26,11 @@ def textarea?(attr_label) end def enforce_values?(attr) - !attr["enforcedValues"].nil? + !attr['enforcedValues'].nil? end def list?(attr_label) - input_type?(attr_metadata(attr_label), "list") + input_type?(attr_metadata(attr_label), 'list') end def isOntology?(attr_label) @@ -37,15 +38,15 @@ def isOntology?(attr_label) end def attr_uri?(attr_label) - input_type?(attr_metadata(attr_label), "uri") + input_type?(attr_metadata(attr_label), 'uri') end def boolean?(attr_label) - input_type?(attr_metadata(attr_label), "boolean") + input_type?(attr_metadata(attr_label), 'boolean') end def agent?(attr) - input_type?(attr_metadata(attr), "Agent") + input_type?(attr_metadata(attr), 'Agent') end def display_attribute(metadata, value) @@ -53,13 +54,13 @@ def display_attribute(metadata, value) if agent?(metadata) display_agent(value) - elsif metadata.eql?("naturalLanguage") + elsif metadata.eql?('naturalLanguage') render LanguageFieldComponent.new(value: value) - elsif metadata.to_s.eql?("hasLicense") + elsif metadata.to_s.eql?('hasLicense') render LicenseFieldComponent.new(value: value) - elsif metadata.to_s.eql?("endpoint") && (value.start_with?("http://sparql.") || value.start_with?("https://sparql.")) - link_to(value, :title => value, :target => "_blank", :style => "border-width:0;") do - image_tag('logos/sparql_logo.png', :title => value, :class => 'logo') + elsif metadata.to_s.eql?('endpoint') && (value.start_with?('http://sparql.') || value.start_with?('https://sparql.')) + link_to(value, title: value, target: '_blank', style: 'border-width:0;') do + image_tag('logos/sparql_logo.png', title: value, class: 'logo') end elsif date_time?(metadata) render DateTimeFieldComponent.new(value: value) @@ -71,5 +72,4 @@ def display_attribute(metadata, value) render TextAreaFieldComponent.new(value: value.to_s) end end - -end \ No newline at end of file +end diff --git a/app/helpers/modal_helper.rb b/app/helpers/modal_helper.rb index 568c0f866f..7436920445 100644 --- a/app/helpers/modal_helper.rb +++ b/app/helpers/modal_helper.rb @@ -1,5 +1,6 @@ +# frozen_string_literal: true + module ModalHelper - def link_to_modal(name, options = nil, html_options = nil, &block) html_options = modal_controller_data(html_options) if name.nil? diff --git a/app/helpers/multi_languages_helper.rb b/app/helpers/multi_languages_helper.rb index c52f7860d1..1be26b4425 100644 --- a/app/helpers/multi_languages_helper.rb +++ b/app/helpers/multi_languages_helper.rb @@ -1,7 +1,7 @@ -module MultiLanguagesHelper +# frozen_string_literal: true +module MultiLanguagesHelper def language_hash(concept_label) - return concept_label.first if concept_label.is_a?(Array) return concept_label.to_h.reject { |key, _| %i[links context].include?(key) } if concept_label.is_a?(OpenStruct) @@ -40,7 +40,7 @@ def display_in_multiple_languages(label) if label.nil? return render Display::AlertComponent.new(message: t('ontology_details.concept.no_preferred_name_for_selected_language'), - type: "warning", + type: 'warning', closable: true) end diff --git a/app/helpers/notes_helper.rb b/app/helpers/notes_helper.rb index 6c65c95fd6..b8f62c65c7 100644 --- a/app/helpers/notes_helper.rb +++ b/app/helpers/notes_helper.rb @@ -1,14 +1,16 @@ +# frozen_string_literal: true + require 'cgi' module NotesHelper - - NOTES_TAGS = %w(a br b em strong i) + NOTES_TAGS = %w[a br b em strong i].freeze def recurse_replies(replies) - return "" if replies.nil? - html = "" + return '' if replies.nil? + + html = '' replies.each do |reply| - reply_html = <<-html + reply_html = <<-HTML
#{get_username(reply.creator)} #{time_ago_in_words(DateTime.parse(@note.created))} ago @@ -25,17 +27,18 @@ def recurse_replies(replies)
- html + HTML html << reply_html end html end def proposal_html(note) - return "" unless note.respond_to?(:proposal) && note.proposal + return '' unless note.respond_to?(:proposal) && note.proposal + case note.proposal.type - when "ProposalNewClass" - html = <<-html + when 'ProposalNewClass' + html = <<-HTML @@ -56,20 +59,20 @@ def proposal_html(note) - + - +
Reason for Change
Synonyms#{note.proposal.synonym.join(", ")}#{note.proposal.synonym.join(', ')}
Definition#{note.proposal.definition.join(", ")}#{note.proposal.definition.join(', ')}
- html - when "ProposalChangeHierarchy" - html = <<-html + HTML + when 'ProposalChangeHierarchy' + html = <<-HTML - + @@ -87,9 +90,9 @@ def proposal_html(note)
Relationship Type#{note.proposal.newRelationshipType.join(", ")}#{note.proposal.newRelationshipType.join(', ')}
New Relationship Target#{note.proposal.contactInfo}
- html - when "ProposalChangeProperty" - html = <<-html + HTML + when 'ProposalChangeProperty' + html = <<-HTML @@ -111,7 +114,7 @@ def proposal_html(note)
Property id#{note.proposal.contactInfo}
- html + HTML end html @@ -119,17 +122,16 @@ def proposal_html(note) def get_note_type_text(note_type) case note_type - when "Comment" - return "Comment" - when "ProposalNewClass" - return "New Class Proposal" - when "ProposalChangeHierarchy" - return "New Relationship Proposal" - when "ProposalChangeProperty" - return "Change Property Value Proposal" + when 'Comment' + 'Comment' + when 'ProposalNewClass' + 'New Class Proposal' + when 'ProposalChangeHierarchy' + 'New Relationship Proposal' + when 'ProposalChangeProperty' + 'Change Property Value Proposal' end end - def delete_button user = session[:user] @@ -137,9 +139,10 @@ def delete_button # user ||= anonymous_user params = "data-bp_user_id='#{user.id}'" - spinner = '' + spinner = '' error = "" - return "Delete selected notes #{spinner} #{error}" + "Delete selected notes #{spinner} #{error}" end - end diff --git a/app/helpers/ontologies_helper.rb b/app/helpers/ontologies_helper.rb index 7831557ba6..03c620306c 100644 --- a/app/helpers/ontologies_helper.rb +++ b/app/helpers/ontologies_helper.rb @@ -1,9 +1,10 @@ +# frozen_string_literal: true + require 'iso-639' module OntologiesHelper - REST_URI = $REST_URL API_KEY = $API_KEY - LANGUAGE_FILTERABLE_SECTIONS = %w[classes schemes collections instances] + LANGUAGE_FILTERABLE_SECTIONS = %w[classes schemes collections instances].freeze def browse_filter_section_label(key) labels = { @@ -16,10 +17,10 @@ def browse_filter_section_label(key) end def browser_counter_loader - content_tag(:div, class: "browse-desc-text", style: "margin-bottom: 15px;") do - content_tag(:div, class: "d-flex align-items-center") do - str = content_tag(:span, "Showing") - str += content_tag(:span, "", class: "p-1 p-2", style: "color: #a7a7a7;") do + content_tag(:div, class: 'browse-desc-text', style: 'margin-bottom: 15px;') do + content_tag(:div, class: 'd-flex align-items-center') do + str = content_tag(:span, 'Showing') + str += content_tag(:span, '', class: 'p-1 p-2', style: 'color: #a7a7a7;') do render LoaderComponent.new(small: true) end str @@ -46,7 +47,8 @@ def ontologies_filter_url(filters, page: 1, count: false) end def additional_details - return "" if $ADDITIONAL_ONTOLOGY_DETAILS.nil? || $ADDITIONAL_ONTOLOGY_DETAILS[@ontology.acronym].nil? + return '' if $ADDITIONAL_ONTOLOGY_DETAILS.nil? || $ADDITIONAL_ONTOLOGY_DETAILS[@ontology.acronym].nil? + details = $ADDITIONAL_ONTOLOGY_DETAILS[@ontology.acronym] html = [] details.each do |title, value| @@ -62,11 +64,10 @@ def additional_details def display_data_catalog(value) if !value.nil? && value.any? # Buttons for data catalogs - content_tag(:div, { :class => "" }) do - + content_tag(:div, { class: '' }) do end else - "" + '' end end @@ -76,16 +77,14 @@ def agent?(sub_metadata, attr) end def display_contact(contacts) - contacts.map { |c| "#{c.name.humanize} at #{c.email}" if c.member?(:name) && c.member?(:email) }&.join(", ") + contacts.map { |c| "#{c.name.humanize} at #{c.email}" if c.member?(:name) && c.member?(:email) }&.join(', ') end def count_links(ont_acronym, page_name = 'summary', count = 0) ont_url = "/ontologies/#{ont_acronym}" - if count.nil? || count.zero? - return '0' - else - return "#{number_with_delimiter(count, delimiter: ',')}" - end + return '0' if count.nil? || count.zero? + + "#{number_with_delimiter(count, delimiter: ',')}" end def classes_link(ontology, count) @@ -110,14 +109,14 @@ def download_link(submission, ontology = nil) links << { href: uri, label: submission.pretty_format } latest = ontology.explore.latest_submission({ include_status: 'ready' }) if latest && latest.submissionId == submission.submissionId - links << { href: "#{ontology.id}/download?apikey=#{get_apikey}&download_format=csv", label: "CSV" } - if !latest.hasOntologyLanguage.eql?('UMLS') - links << { href: "#{ontology.id}/download?apikey=#{get_apikey}&download_format=rdf", label: "RDF/XML" } + links << { href: "#{ontology.id}/download?apikey=#{get_apikey}&download_format=csv", label: 'CSV' } + unless latest.hasOntologyLanguage.eql?('UMLS') + links << { href: "#{ontology.id}/download?apikey=#{get_apikey}&download_format=rdf", label: 'RDF/XML' } end end unless submission.diffFilePath.nil? uri = submission.id + "/download_diff?apikey=#{get_apikey}" - links << { href: uri, label: "DIFF" } + links << { href: uri, label: 'DIFF' } end end links @@ -139,8 +138,8 @@ def notes_link(ontology, count) # Creates a link based on the status of an ontology submission def status_link(submission, latest = false, target = '') - version_text = submission.version.nil? || submission.version.to_s.length == 0 ? 'unknown' : submission.version.to_s - status_text = " " + submission_status2string(submission) + '' + version_text = submission.version.nil? || submission.version.to_s.empty? ? 'unknown' : submission.version.to_s + status_text = " #{submission_status2string(submission)}" if submission.ontology.summaryOnly || latest == false version_link = version_text else @@ -149,10 +148,9 @@ def status_link(submission, latest = false, target = '') version_link + status_text end - def submission_status2string(data) return '' if data[:submissionStatus].nil? - + # Massage the submission status into a UI string # submission status values, from: # https://github.com/ncbo/ontologies_linked_data/blob/master/lib/ontologies_linked_data/models/submission_status.rb @@ -161,19 +159,21 @@ def submission_status2string(data) # The order of the codes must be assumed to be random, it is not an entirely # predictable sequence of ontology processing stages. codes = data[:submissionStatus].map { |s| s.split('/').last } - errors = codes.select { |c| c.start_with? 'ERROR' }.map { |c| c.gsub("_", " ").split(/(\W)/).map(&:capitalize).join }.compact + errors = codes.select do |c| + c.start_with? 'ERROR' + end.map { |c| c.gsub('_', ' ').split(/(\W)/).map(&:capitalize).join }.compact status = [] status.push('Parsed') if (codes.include? 'RDF') && (codes.include? 'RDF_LABELS') # The order of this array imposes an oder on the UI status code string - status_list = ['INDEXED', 'METRICS', 'ANNOTATOR', 'ARCHIVED'] + status_list = %w[INDEXED METRICS ANNOTATOR ARCHIVED] status_list.insert(0, 'UPLOADED') unless status.include?('Parsed') status_list.each do |c| status.push(c.capitalize) if codes.include? c end status.concat errors return '' if status.empty? - - '(' + status.join(', ') + ')' + + "(#{status.join(', ')})" end def status_string(data) @@ -181,16 +181,16 @@ def status_string(data) submission_status2string(data) end - + def submission_status_icons(status) if status.include?('Parsed') && !status.include?('Error Diff') - "success-icon.svg" + 'success-icon.svg' elsif status.include?('Error Diff') && !status.include?('Parsed') 'error-icon.svg' elsif status == '(Archived)' 'archive.svg' else - "alert-triangle.svg" + 'alert-triangle.svg' end end @@ -223,23 +223,25 @@ def visits_data(ontology = nil) return @visits_data if @visits_data visits_data = { visits: [], labels: [] } - years = @analytics[ontology.acronym.to_sym].to_h.keys.map { |e| e.to_s.to_i }.select { |e| e > 0 }.sort + years = @analytics[ontology.acronym.to_sym].to_h.keys.map { |e| e.to_s.to_i }.select(&:positive?).sort now = Time.now years.each do |year| - months = @analytics[ontology.acronym.to_sym].to_h[year.to_s.to_sym].to_h.keys.map { |e| e.to_s.to_i }.select { |e| e > 0 }.sort + months = @analytics[ontology.acronym.to_sym].to_h[year.to_s.to_sym].to_h.keys.map do |e| + e.to_s.to_i + end.select(&:positive?).sort months.each do |month| # No good data prior to Oct 2013 next if now.year == year && now.month <= month || (year == 2013 && month < 10) visits_data[:visits] << @analytics[ontology.acronym.to_sym].to_h[year.to_s.to_sym][month.to_s.to_sym] - visits_data[:labels] << DateTime.parse("#{year}/#{month}").strftime("%b %Y") + visits_data[:labels] << DateTime.parse("#{year}/#{month}").strftime('%b %Y') end end @visits_data = visits_data end def acronyms(ontologies) - ontologies.present? ? ontologies.map { |ont| ont.acronym } : [] + ontologies.present? ? ontologies.map(&:acronym) : [] end def change_requests_enabled?(ontology_acronym) @@ -249,14 +251,14 @@ def change_requests_enabled?(ontology_acronym) end def current_section - (params[:p]) ? params[:p] : 'summary' + params[:p] || 'summary' end def link_to_section(section_title) link_to(section_name(section_title), ontology_path(@ontology.acronym, p: section_title), id: "ont-#{section_title}-tab", class: "nav-link #{selected_section?(section_title) ? 'active show' : ''}", data: { action: 'click->ontology-viewer-tabs#selectTab', - toggle: "tab", target: "#ont_#{section_title}_content", 'bp-ont-page': section_title, + toggle: 'tab', target: "#ont_#{section_title}_content", 'bp-ont-page': section_title, 'bp-ont-page-name': ontology_viewer_page_name(@ontology.name, @concept&.prefLabel || '', section_title) }) end @@ -275,7 +277,8 @@ def ontology_data_section?(section_title = current_section) def section_data(section_title) if ontology_data_section?(section_title) url_value = selected_section?(section_title) ? request.fullpath : "/ontologies/#{@ontology.acronym}?p=#{section_title}" - { controller: "history turbo-frame", 'turbo-frame-url-value': url_value, action: "lang_changed->history#updateURL lang_changed->turbo-frame#updateFrame" } + { controller: 'history turbo-frame', 'turbo-frame-url-value': url_value, + action: 'lang_changed->history#updateURL lang_changed->turbo-frame#updateFrame' } else {} end @@ -285,19 +288,20 @@ def lazy_load_section(section_title, &block) if current_section.eql?(section_title) block.call else - render TurboFrameComponent.new(id: section_title, src: "/ontologies/#{@ontology.acronym}?p=#{section_title}", target: '_top', data: { "turbo-frame-target": "frame" }) + render TurboFrameComponent.new(id: section_title, src: "/ontologies/#{@ontology.acronym}?p=#{section_title}", + target: '_top', data: { "turbo-frame-target": 'frame' }) end end def visits_chart_dataset(visits_data) [{ - label: 'Visits', - data: visits_data, - backgroundColor: 'rgba(151, 187, 205, 0.2)', - borderColor: 'rgba(151, 187, 205, 1)', - pointBorderColor: 'rgba(151, 187, 205, 1)', - pointBackgroundColor: 'rgba(151, 187, 205, 1)', - }].to_json + label: 'Visits', + data: visits_data, + backgroundColor: 'rgba(151, 187, 205, 0.2)', + borderColor: 'rgba(151, 187, 205, 1)', + pointBorderColor: 'rgba(151, 187, 205, 1)', + pointBackgroundColor: 'rgba(151, 187, 205, 1)' + }].to_json end def sections_to_show @@ -311,39 +315,44 @@ def sections_to_show end sections end + def dispaly_complex_text(definitions) - html = "" + html = '' definitions.each do |definition| if definition.is_a?(String) - html += '

' + definition + '

' + html += "

#{definition}

" elsif definition.respond_to?(:uri) && definition.uri - html += '

' + definition.uri + '

' + html += "

#{definition.uri}

" end end - return html.html_safe + html.html_safe end def language_selector_tag(name) languages = languages_options if languages.empty? && @submission_latest - return unless @ontology.admin?(session[:user]) - content_tag(:div, data: { 'ontology-viewer-tabs-target': 'languageSelector' }, style: "visibility: #{ontology_data_section? ? 'visible' : 'hidden'} ; margin-bottom: -1px;") do - edit_submission_property_link(@ontology.acronym, @submission_latest.submissionId, :naturalLanguage, container_id: '') do - ("Enable multilingual display " + content_tag(:i, "", class: "fas fa-lg fa-question-circle")).html_safe + return unless @ontology.admin?(session[:user]) + + content_tag(:div, data: { 'ontology-viewer-tabs-target': 'languageSelector' }, + style: "visibility: #{ontology_data_section? ? 'visible' : 'hidden'} ; margin-bottom: -1px;") do + edit_submission_property_link(@ontology.acronym, @submission_latest.submissionId, :naturalLanguage, + container_id: '') do + "Enable multilingual display #{content_tag(:i, '', class: 'fas fa-lg fa-question-circle')}".html_safe end end else - select_tag name, languages_options, class: '', disabled: !ontology_data_section?, style: "visibility: #{ontology_data_section? ? 'visible' : 'hidden'}; border: none; outline: none;", data: { 'ontology-viewer-tabs-target': 'languageSelector' } + select_tag name, languages_options, class: '', disabled: !ontology_data_section?, + style: "visibility: #{ontology_data_section? ? 'visible' : 'hidden'}; border: none; outline: none;", data: { 'ontology-viewer-tabs-target': 'languageSelector' } end end def language_selector_hidden_tag(section) hidden_field_tag "language_selector_hidden_#{section}", '', - data: { controller: "language-change", 'language-change-section-value': section, action: "change->language-change#dispatchLangChangeEvent" } + data: { controller: 'language-change', 'language-change-section-value': section, action: 'change->language-change#dispatchLangChangeEvent' } end - def languages_options(submission = @submission || @submission_latest) + def languages_options(submission = @submission || @submission_latest) current_lang = request_lang.downcase submission_lang = submission_languages(submission) # Transform each language into a select option @@ -360,17 +369,17 @@ def languages_options(submission = @submission || @submission_latest) end def display_complex_text(definitions) - html = "" + html = '' definitions.each do |definition| - if definition.is_a?(String) - html += '

' + definition + '

' - elsif definition.respond_to?(:uri) && definition.uri - html += render LinkFieldComponent.new(value: definition.uri) - else - html += display_in_multiple_languages(definition) - end + html += if definition.is_a?(String) + "

#{definition}

" + elsif definition.respond_to?(:uri) && definition.uri + render LinkFieldComponent.new(value: definition.uri) + else + display_in_multiple_languages(definition) + end end - return html.html_safe + html.html_safe end def new_view_path(ont_id) @@ -383,12 +392,10 @@ def new_view_path(ont_id) end def new_element_link(title, link) - if session[:user].nil? - link = "/login?redirect=#{link}" - end + link = "/login?redirect=#{link}" if session[:user].nil? - link_to(link, title: title, class: "mx-1") do - inline_svg_tag("icons/plus.svg", width: '15px', height: '15px') + link_to(link, title: title, class: 'mx-1') do + inline_svg_tag('icons/plus.svg', width: '15px', height: '15px') end end @@ -396,7 +403,7 @@ def ontology_icon_links(links, submission_latest) links.map do |icon, attr| value = submission_latest.nil? ? nil : submission_latest.send(attr) - link_options = { style: "text-decoration: none; width: 30px; height: 30px" } + link_options = { style: 'text-decoration: none; width: 30px; height: 30px' } link_options[:class] = 'disabled-icon' if value.nil? link_to(inline_svg("#{icon}.svg"), Array(value).first || '', link_options) @@ -423,12 +430,11 @@ def metadata_formats_buttons ]) do |format, label| render ChipButtonComponent.new(type: 'clickable', 'data-action': "metadata-downloader#download#{format}") do concat content_tag(:span, label) - concat content_tag(:span, inline_svg("summary/download.svg", width: '15px', height: '15px')) + concat content_tag(:span, inline_svg('summary/download.svg', width: '15px', height: '15px')) end end end end - end def count_subscriptions(ontology_id) @@ -438,12 +444,14 @@ def count_subscriptions(ontology_id) def new_submission_button return unless @ontology.admin?(session[:user]) + render RoundedButtonComponent.new(link: new_ontology_submission_path(@ontology.acronym), icon: 'icons/plus.svg', size: 'medium', title: 'Add new submission') end def ontology_edit_button return unless @ontology.admin?(session[:user]) + render RoundedButtonComponent.new(link: edit_ontology_path(@ontology.acronym), icon: 'edit.svg', size: 'medium', title: 'Edit metadata') @@ -452,27 +460,27 @@ def ontology_edit_button def upload_ontology_button if session[:user].nil? render PillButtonComponent.new do - link_to "/login?redirect=/ontologies/new" do - inline_svg('upload.svg') + "Submit new ontology" + link_to '/login?redirect=/ontologies/new' do + "#{inline_svg('upload.svg')}Submit new ontology" end end else render PillButtonComponent.new do link_to new_ontology_path do - inline_svg('upload.svg') + "Submit new ontology" + "#{inline_svg('upload.svg')}Submit new ontology" end end end end def submission_json_button - render RoundedButtonComponent.new(link: "#{(@submission_latest || @ontology).id}?display=all", target: '_blank', size: 'medium') + render RoundedButtonComponent.new(link: "#{(@submission_latest || @ontology).id}?display=all", target: '_blank', + size: 'medium') end - def summary_only? - @ontology&.summaryOnly || @submission&.isRemote&.eql?('3') + @ontology&.summaryOnly || @submission&.isRemote.eql?('3') end def ontology_pull_location? @@ -482,7 +490,8 @@ def ontology_pull_location? private def submission_languages(submission = @submission) - Array(submission&.naturalLanguage).map { |natural_language| natural_language["iso639"] && natural_language.split('/').last }.compact + Array(submission&.naturalLanguage).map do |natural_language| + natural_language['iso639'] && natural_language.split('/').last + end.compact end end - diff --git a/app/helpers/ontology_metrics_helper.rb b/app/helpers/ontology_metrics_helper.rb index aed1241258..7368bce88a 100644 --- a/app/helpers/ontology_metrics_helper.rb +++ b/app/helpers/ontology_metrics_helper.rb @@ -1,29 +1,30 @@ -module OntologyMetricsHelper +# frozen_string_literal: true +module OntologyMetricsHelper def format_metric_list(metrics, metric, title) return 0 if metric.nil? - markup = "" + markup = '' # IF all of the classes triggered the metric, return the class count - if metric.include?("alltriggered") - markup = "#{metrics.numberOfClasses}" - elsif metric.kind_of?(Array) && metric.length == 1 && metric[0].include?("limitpassed") + if metric.include?('alltriggered') + markup = metrics.numberOfClasses.to_s + elsif metric.is_a?(Array) && metric.length == 1 && metric[0].include?('limitpassed') # Split at the magic marker and return the count - markup = metric[0].split(":")[1] - elsif metric.kind_of?(Hash) && metric.length == 1 && metric["limitpassed:"] + markup = metric[0].split(':')[1] + elsif metric.is_a?(Hash) && metric.length == 1 && metric['limitpassed:'] # Return the count, which is an int value to the key 'limitpassed:' - markup = metric["limitpassed:"] - elsif metric.kind_of?(Array) && metric.length == 0 + markup = metric['limitpassed:'] + elsif metric.is_a?(Array) && metric.empty? # If we have an empty array return 0 - markup = "0" - elsif metric.kind_of?(Array) + markup = '0' + elsif metric.is_a?(Array) markup << "#{metric.length}" markup << "" - elsif metric.kind_of?(Hash) + markup << metric.join('
') + markup << '

' + elsif metric.is_a?(Hash) counts = [] metric.each do |cls, count| counts << "#{cls} (#{count})" @@ -34,13 +35,12 @@ def format_metric_list(metrics, metric, title) markup << "#{metric.length}" markup << "" + markup << metric.join('
') + markup << '

' else markup = metric.to_s end markup end - end diff --git a/app/helpers/reviews_helper.rb b/app/helpers/reviews_helper.rb index bb859ee872..c6ade5b00d 100644 --- a/app/helpers/reviews_helper.rb +++ b/app/helpers/reviews_helper.rb @@ -1,6 +1,8 @@ +# frozen_string_literal: true + module ReviewsHelper def organize_ratings(review) - return [ + [ { name: :usability, value: review.usabilityRating.to_i }, { name: :coverage, value: review.coverageRating.to_i }, { name: :quality, value: review.qualityRating.to_i }, diff --git a/app/helpers/schemes_helper.rb b/app/helpers/schemes_helper.rb index f9c67d1324..0396e7a61b 100644 --- a/app/helpers/schemes_helper.rb +++ b/app/helpers/schemes_helper.rb @@ -1,11 +1,10 @@ module SchemesHelper - def get_schemes(ontology) ontology.explore.schemes(language: request_lang) end def get_scheme(ontology, scheme_uri) - ontology.explore.schemes({ include: 'all', language: request_lang}, scheme_uri) + ontology.explore.schemes({ include: 'all', language: request_lang }, scheme_uri) end def get_scheme_label(scheme) @@ -19,7 +18,6 @@ def get_scheme_label(scheme) end def get_schemes_labels(schemes, main_uri) - selected_label = nil schemes_labels = [] schemes.each do |x| @@ -29,7 +27,7 @@ def get_schemes_labels(schemes, main_uri) label[1] = "#{label[1]} (main)" unless label[0].empty? selected_label = { 'prefLabel' => label, '@id' => id } else - schemes_labels.append( { 'prefLabel' => label, '@id' => id }) + schemes_labels.append({ 'prefLabel' => label, '@id' => id }) end end @@ -65,6 +63,7 @@ def no_main_scheme_alert 'no main scheme defined in the URI attribute' end end + def no_schemes_alert render Display::AlertComponent.new do "#{@ontology.acronym} does not contain schemes (skos:ConceptScheme)" @@ -72,8 +71,8 @@ def no_schemes_alert end def schemes_data - schemes_labels, main_scheme = get_schemes_labels(@schemes,@submission.URI) - selected_scheme = @schemes.select{ |s| params[:concept_schemes]&.split(',')&.include?(s['@id']) } + schemes_labels, main_scheme = get_schemes_labels(@schemes, @submission.URI) + selected_scheme = @schemes.select { |s| params[:concept_schemes]&.split(',')&.include?(s['@id']) } selected_scheme = selected_scheme.empty? ? [main_scheme] : selected_scheme [schemes_labels, main_scheme, selected_scheme] end @@ -84,7 +83,7 @@ def tree_link_to_schemes(schemes_labels, main_scheme_label, selected_scheme_id) sorted_labels(schemes_labels).each do |s| next unless main_scheme_label.nil? || s['prefLabel'] != main_scheme_label['prefLabel'] - out << <<-EOS + out << <<-EOS
  • #{link_to_scheme(s, selected_scheme_id)}
  • @@ -92,11 +91,12 @@ def tree_link_to_schemes(schemes_labels, main_scheme_label, selected_scheme_id) end out end + def link_to_scheme(scheme, selected_scheme_id) pref_label_lang, pref_label_html = get_scheme_label(scheme) - tooltip = pref_label_lang.to_s.eql?('@none') ? '' : "data-controller='tooltip' data-tooltip-position-value='right' title='#{pref_label_lang.upcase}'" + tooltip = pref_label_lang.to_s.eql?('@none') ? '' : "data-controller='tooltip' data-tooltip-position-value='right' title='#{pref_label_lang.upcase}'" <<-EOS - @@ -105,4 +105,3 @@ def link_to_scheme(scheme, selected_scheme_id) EOS end end - diff --git a/app/helpers/submission_inputs_helper.rb b/app/helpers/submission_inputs_helper.rb index bdc113a75a..4b166b2dfb 100644 --- a/app/helpers/submission_inputs_helper.rb +++ b/app/helpers/submission_inputs_helper.rb @@ -1,9 +1,10 @@ -module SubmissionInputsHelper +# frozen_string_literal: true +module SubmissionInputsHelper class SubmissionMetadataInput include MetadataHelper - def initialize(attribute_key:, attr_metadata: , submission: nil, label: nil) + def initialize(attribute_key:, attr_metadata:, submission: nil, label: nil) @attribute_key = attribute_key @attr_metadata = attr_metadata @submission = submission @@ -82,10 +83,8 @@ def attribute_input(attr_key, long_text: false, label: nil, show_tooltip: true, value: attr.values) end end - end - def ontology_name_input(ontology = @ontology) text_input(name: 'ontology[name]', value: ontology.name) end @@ -98,10 +97,11 @@ def ontology_acronym_input(ontology = @ontology, update: @is_update_ontology) def ontology_administered_by_input(ontology = @ontology, users_list = @user_select_list) unless users_list - users_list = LinkedData::Client::Models::User.all(include: "username").map { |u| [u.username, u.id] } + users_list = LinkedData::Client::Models::User.all(include: 'username').map { |u| [u.username, u.id] } users_list.sort! { |a, b| a[1].downcase <=> b[1].downcase } end - select_input(label: "Administrator", name: "ontology[administeredBy]", values: users_list, selected: ontology.administeredBy || session[:user].id, multiple: true) + select_input(label: 'Administrator', name: 'ontology[administeredBy]', values: users_list, + selected: ontology.administeredBy || session[:user].id, multiple: true) end def ontology_categories_input(ontology = @ontology, categories = @categories) @@ -111,20 +111,24 @@ def ontology_categories_input(ontology = @ontology, categories = @categories) content_tag(:div, class: 'upload-ontology-chips-container') do hidden_field_tag('ontology[hasDomain][]') + categories.map do |category| - check_input(name: "ontology[hasDomain][]", id: category[:acronym], label: category[:acronym], value: category[:id], checked: ontology.hasDomain&.any? { |x| x.eql?(category[:id]) }) + check_input(name: 'ontology[hasDomain][]', id: category[:acronym], label: category[:acronym], value: category[:id], checked: ontology.hasDomain&.any? do |x| + x.eql?(category[:id]) + end) end.join.html_safe end end end def ontology_groups_input(ontology = @ontology, groups = @groups) - groups ||= LinkedData::Client::Models::Group.all(display_links: false, display_context: false) + groups ||= LinkedData::Client::Models::Group.all(display_links: false, display_context: false) render Input::InputFieldComponent.new(name: '', label: 'Groups') do content_tag(:div, class: 'upload-ontology-chips-container') do hidden_field_tag('ontology[group][]') + groups.map do |group| - check_input(name: "ontology[group][]", id: group[:acronym], label: group[:acronym], value: group[:id], checked: ontology.group&.any? { |x| x.eql?(group[:id]) }) + check_input(name: 'ontology[group][]', id: group[:acronym], label: group[:acronym], value: group[:id], checked: ontology.group&.any? do |x| + x.eql?(group[:id]) + end) end.join.html_safe end end @@ -132,16 +136,20 @@ def ontology_groups_input(ontology = @ontology, groups = @groups) def ontology_visibility_input(ontology = @ontology) unless @user_select_list - @user_select_list = LinkedData::Client::Models::User.all(include: "username").map { |u| [u.username, u.id] } + @user_select_list = LinkedData::Client::Models::User.all(include: 'username').map { |u| [u.username, u.id] } @user_select_list.sort! { |a, b| a[1].downcase <=> b[1].downcase } end - render(Layout::RevealComponent.new(init_show: ontology.viewingRestriction&.eql?('private'), show_condition: 'private')) do |c| + render(Layout::RevealComponent.new(init_show: ontology.viewingRestriction&.eql?('private'), + show_condition: 'private')) do |c| c.button do - select_input(label: "Visibility", name: "ontology[viewingRestriction]", values: %w[public private], selected: ontology.viewingRestriction ) + select_input(label: 'Visibility', name: 'ontology[viewingRestriction]', values: %w[public private], + selected: ontology.viewingRestriction) end content_tag(:div, class: 'upload-ontology-input-field-container') do - select_input(label: "Add or remove accounts that are allowed to view classes in this ontology using the account name", name: "ontology[acl]", values: @user_select_list, selected: ontology.acl, multiple: true) + select_input( + label: 'Add or remove accounts that are allowed to view classes in this ontology using the account name', name: 'ontology[acl]', values: @user_select_list, selected: ontology.acl, multiple: true + ) end end end @@ -150,12 +158,14 @@ def ontology_view_of_input(ontology = @ontology) render Layout::RevealComponent.new(init_show: ontology.view?) do |c| c.button do content_tag(:span, class: 'd-flex') do - switch_input(id: 'ontology_isView', name: 'ontology[isView]', label: 'Is a view of another ontology?', checked: ontology.view?) + switch_input(id: 'ontology_isView', name: 'ontology[isView]', label: 'Is a view of another ontology?', + checked: ontology.view?) end end content_tag(:div) do - render partial: "shared/ontology_picker_single", locals: {placeholder: "", field_name: "viewOf", selected: ontology.viewOf} + render partial: 'shared/ontology_picker_single', + locals: { placeholder: '', field_name: 'viewOf', selected: ontology.viewOf } end end end @@ -184,10 +194,12 @@ def contact_input(label: '', name: 'Contact', show_help: true) c.row do content_tag(:div, class: 'd-flex my-1') do out = content_tag(:div, class: 'w-50 mr-2') do - text_input(label: '', name: "submission[contact][#{i}][name]", value: contact['name'], error_message: '') + text_input(label: '', name: "submission[contact][#{i}][name]", value: contact['name'], + error_message: '') end out + content_tag(:div, class: 'w-50') do - text_input(label: '', name: "submission[contact][#{i}][email]", value: contact['email'], error_message: '') + text_input(label: '', name: "submission[contact][#{i}][email]", value: contact['email'], + error_message: '') end end end @@ -221,8 +233,9 @@ def agent_type(attr) end def generate_integer_input(attr) - # TODO to update to use a component - number_field object_name, attr.metadata['attribute'].to_s.to_sym, value: @submission.send(attr.metadata['attribute']), class: 'metadataInput form-control' + # TODO: to update to use a component + number_field object_name, attr.metadata['attribute'].to_s.to_sym, + value: @submission.send(attr.metadata['attribute']), class: 'metadataInput form-control' end def generate_agent_input(attr) @@ -233,7 +246,6 @@ def generate_agent_input(attr) name_prefix: attr.name, parent_id: '') end - end def generate_date_input(attr, max_date: nil) @@ -268,7 +280,7 @@ def generate_list_field_input(attr, name, label, values, &block) label end c.template do - block.call('', "#{name}[NEW_RECORD]", attr.metadata['attribute'].to_s + '_' + @ontology.acronym) + block.call('', "#{name}[NEW_RECORD]", "#{attr.metadata['attribute']}_#{@ontology.acronym}") end c.empty_state do @@ -277,12 +289,12 @@ def generate_list_field_input(attr, name, label, values, &block) Array(values).each_with_index do |metadata_val, i| c.row do - block.call(metadata_val, "#{name}[#{i}]", "submission_#{attr.metadata['attribute'].to_s}" + '_' + @ontology.acronym) + block.call(metadata_val, "#{name}[#{i}]", + "submission_#{attr.metadata['attribute']}_#{@ontology.acronym}") end end end end - end def generate_url_input(attr) @@ -290,7 +302,7 @@ def generate_url_input(attr) values = attr.values name = attr.name if attr.type?('list') - generate_list_field_input(attr, name, label, values) do |value, row_name, id| + generate_list_field_input(attr, name, label, values) do |value, row_name, _id| url_input(label: '', name: row_name, value: value) end else @@ -302,7 +314,7 @@ def generate_list_text_input(attr) label = attr_header_label(attr) values = attr.values || [''] name = attr.name - generate_list_field_input(attr, name, label, values) do |value, row_name, id| + generate_list_field_input(attr, name, label, values) do |value, row_name, _id| text_input(label: '', name: row_name, value: value) end end @@ -312,7 +324,8 @@ def generate_boolean_input(attr) value = value.to_s unless value.nil? name = attr.name content_tag(:div, class: 'd-flex') do - switch_input(id: name, name: name, label: attr_header_label(attr), checked: value.eql?('true'), value: value, boolean_switch: true) + switch_input(id: name, name: name, label: attr_header_label(attr), checked: value.eql?('true'), value: value, + boolean_switch: true) end end @@ -328,7 +341,7 @@ def selected_values(attr, enforced_values) metadata_values = attr.values select_values = enforced_values - if metadata_values.kind_of?(Array) + if metadata_values.is_a?(Array) metadata_values.map do |metadata| select_values << metadata unless select_values.flatten.include?(metadata) end @@ -338,8 +351,6 @@ def selected_values(attr, enforced_values) [metadata_values, select_values] end - private - def attr_header_label(attr, label = nil, show_tooltip: true) label ||= attr.label return '' if label.nil? || label.empty? @@ -347,7 +358,7 @@ def attr_header_label(attr, label = nil, show_tooltip: true) content_tag(:div) do tooltip_span = render(Display::InfoTooltipComponent.new(text: attribute_help_text(attr))) html = content_tag(:span, label) - html += content_tag(:span, '*', class: "text-danger") if attr.required? + html += content_tag(:span, '*', class: 'text-danger') if attr.required? html += content_tag(:span, tooltip_span, class: 'ml-1') if show_tooltip html end @@ -366,11 +377,12 @@ def attribute_help_text(attr) render SummarySectionComponent.new(title: title, show_card: false) do help_text = '' unless attr['metadataMappings'].nil? - help_text += render(FieldContainerComponent.new(label: 'Equivalents', value: attr['metadataMappings'].join(', '))) + help_text += render(FieldContainerComponent.new(label: 'Equivalents', + value: attr['metadataMappings'].join(', '))) end unless attr['enforce'].nil? || attr['enforce'].empty? - help_text += render(FieldContainerComponent.new(label: 'Validators', value: attr['enforce'].map do |x| + help_text += render(FieldContainerComponent.new(label: 'Validators', value: attr['enforce'].map do |x| content_tag(:span, x.humanize, class: 'badge badge-primary mx-1') end.join.html_safe)) end @@ -382,4 +394,4 @@ def attribute_help_text(attr) help_text end end -end \ No newline at end of file +end diff --git a/app/helpers/submissions_helper.rb b/app/helpers/submissions_helper.rb index 10f1dd8228..859432a373 100644 --- a/app/helpers/submissions_helper.rb +++ b/app/helpers/submissions_helper.rb @@ -1,15 +1,16 @@ +# frozen_string_literal: true + module SubmissionsHelper def metadata_help_link content_tag(:div, class: 'edit-ontology-desc') do html = content_tag(:span, 'To understand the ontologies metadata:') html += content_tag(:span, style: 'width: 10px; height: 10px') do - link_to(render(ExternalLinkTextComponent.new(text: 'see the Wiki')), "https://github.com/agroportal/documentation/wiki/Ontology-metadata") + link_to(render(ExternalLinkTextComponent.new(text: 'see the Wiki')), 'https://github.com/agroportal/documentation/wiki/Ontology-metadata') end html.html_safe end end - def ontology_submission_id_label(acronym, submission_id) [acronym, submission_id].join('#') end @@ -24,7 +25,8 @@ def ontology_and_submission_id(value) end def render_submission_attribute(attribute, submission = @submission, ontology = @ontology) - render partial: 'ontologies_metadata_curator/attribute_inline_editable', locals: { attribute: attribute, submission: submission, ontology: ontology } + render partial: 'ontologies_metadata_curator/attribute_inline_editable', + locals: { attribute: attribute, submission: submission, ontology: ontology } end def attribute_input_frame_id(acronym, submission_id, attribute) @@ -33,11 +35,11 @@ def attribute_input_frame_id(acronym, submission_id, attribute) def edit_submission_property_link(acronym, submission_id, attribute, container_id = nil, &block) link = "/ontologies/#{acronym}/submissions/#{submission_id}/edit_properties?properties=#{attribute}&inline_save=true" - if container_id - link += "&container_id=#{container_id}" - else - link += "&container_id=#{attribute_input_frame_id(acronym, submission_id, attribute)}" - end + link += if container_id + "&container_id=#{container_id}" + else + "&container_id=#{attribute_input_frame_id(acronym, submission_id, attribute)}" + end link_to link, data: { turbo: true }, class: 'btn btn-sm btn-light' do capture(&block) end @@ -48,17 +50,17 @@ def display_submission_attributes(acronym, attributes, submissionId: nil, inline @selected_attributes = attributes @inline_save = inline_save - if @selected_attributes && !@selected_attributes.empty? - display_properties = (equivalent_properties(@selected_attributes) + [:ontology, :submissionId]).join(',') - else - display_properties = 'all' - end + display_properties = if @selected_attributes && !@selected_attributes.empty? + (equivalent_properties(@selected_attributes) + %i[ontology submissionId]).join(',') + else + 'all' + end - if submissionId - @submission = @ontology.explore.submissions({ display: display_properties }, submissionId) - else - @submission = @ontology.explore.latest_submission({ display: display_properties }) - end + @submission = if submissionId + @ontology.explore.submissions({ display: display_properties }, submissionId) + else + @ontology.explore.latest_submission({ display: display_properties }) + end end def inline_save? @@ -75,20 +77,21 @@ def selected_attribute?(attr) def save_button content_tag :div do button_tag({ data: { controller: 'tooltip' }, title: 'Save', class: 'btn btn-sm btn-light mx-1' }) do - content_tag(:i, "", class: 'fas fa-check') + content_tag(:i, '', class: 'fas fa-check') end end - end - def cancel_link(acronym: @ontology.acronym, submission_id: @submission.submissionId, attribute:) + def cancel_link(attribute:, acronym: @ontology.acronym, submission_id: @submission.submissionId) "/ontologies_metadata_curator/#{acronym}/submissions/#{submission_id}/attributes/#{attribute}" end def cancel_button(href) content_tag :div do - link_to(href, { data: { turbo: true, controller: 'tooltip', turbo_frame: '_self' }, title: 'Cancel', class: 'btn btn-sm btn-light mx-1' }) do - content_tag(:i, "", class: 'fas fa-times') + link_to(href, + { data: { turbo: true, controller: 'tooltip', turbo_frame: '_self' }, title: 'Cancel', + class: 'btn btn-sm btn-light mx-1' }) do + content_tag(:i, '', class: 'fas fa-times') end end end @@ -119,7 +122,8 @@ def sections end def format_equivalent - %w[hasOntologyLanguage prefLabelProperty synonymProperty definitionProperty authorProperty obsoleteProperty obsoleteParent] + %w[hasOntologyLanguage prefLabelProperty synonymProperty definitionProperty authorProperty obsoleteProperty + obsoleteParent] end def location_equivalent @@ -160,49 +164,33 @@ def submission_editable_properties end end - - def attribute_infos(attr_label) - submission_metadata.select{ |attr_hash| attr_hash["attribute"].to_s.eql?(attr_label) }.first + submission_metadata.select { |attr_hash| attr_hash['attribute'].to_s.eql?(attr_label) }.first end - def object_name(acronym = @ontology.acronym, submissionId = @submission.submissionId) + def object_name(_acronym = @ontology.acronym, _submissionId = @submission.submissionId) # TO REMOVE or Update 'submission' end def agent_attributes - submission_metadata.select { |x| x["enforce"].include?('Agent') }.map { |x| x["attribute"] } + submission_metadata.select { |x| x['enforce'].include?('Agent') }.map { |x| x['attribute'] } end def render_submission_inputs(frame_id) - output = "" - - if selected_attribute?('acronym') - output += ontology_acronym_input(update: true) - end + output = '' - if selected_attribute?('name') - output += ontology_name_input - end + output += ontology_acronym_input(update: true) if selected_attribute?('acronym') + output += ontology_name_input if selected_attribute?('name') - if selected_attribute?('hasOntologyLanguage') - output += render partial: 'submissions/submission_format_form' - end + output += render partial: 'submissions/submission_format_form' if selected_attribute?('hasOntologyLanguage') - if selected_attribute?('categories') - output += ontology_categories_input - end - - if selected_attribute?('groups') - output += ontology_groups_input - end + output += ontology_categories_input if selected_attribute?('categories') + output += ontology_groups_input if selected_attribute?('groups') - if selected_attribute?('administeredBy') - output += ontology_administered_by_input - end + output += ontology_administered_by_input if selected_attribute?('administeredBy') if selected_attribute?('location') output += attribute_form_group_container('location') do @@ -212,7 +200,7 @@ def render_submission_inputs(frame_id) if selected_attribute?('contact') output += attribute_form_group_container('contact') do - @submission.contact = [] unless @submission.contact && @submission.contact.size > 0 + @submission.contact = [] unless @submission.contact&.size&.positive? contact_input(label: 'Contacts', name: '') end end @@ -223,7 +211,6 @@ def render_submission_inputs(frame_id) end end - if selected_attribute?('viewOf') output += attribute_form_group_container('viewOf') do ontology_view_of_input @@ -235,27 +222,26 @@ def render_submission_inputs(frame_id) if selected_attribute?('abstract') output += attribute_form_group_container('abstract') do - raw attribute_input('abstract',long_text: true, label: label) + raw attribute_input('abstract', long_text: true, label: label) end end if selected_attribute?('description') output += attribute_form_group_container('description') do - raw attribute_input('description',long_text: true, label: label) + raw attribute_input('description', long_text: true, label: label) end end - submission_metadata.reject { |attr| reject_metadata.include?(attr['attribute']) || !selected_attribute?(attr['attribute']) }.each do |attr| + submission_metadata.reject do |attr| + reject_metadata.include?(attr['attribute']) || !selected_attribute?(attr['attribute']) + end.each do |attr| output += attribute_form_group_container(attr['attribute']) do raw attribute_input(attr['attribute'], label: label) end end - - - render TurboFrameComponent.new(id: frame_id) do output.html_safe end end -end \ No newline at end of file +end diff --git a/app/helpers/turbo_helper.rb b/app/helpers/turbo_helper.rb index c1b0303b46..b80ef1f03b 100644 --- a/app/helpers/turbo_helper.rb +++ b/app/helpers/turbo_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module TurboHelper def frame_id(id, suffix) "#{id}_#{suffix}" @@ -8,20 +10,23 @@ def alerts_container_id(id = nil) end def alert(id: nil, type: 'success', &block) - turbo_stream.prepend(id ||alerts_container_id) do + turbo_stream.prepend(id || alerts_container_id) do Display::AlertComponent.new(type: type).render_in(view_context, &block) end end def alert_error(id: nil, &block) - alert(id: id, type:'danger', &block) + alert(id: id, type: 'danger', &block) end + def alert_success(id: nil, &block) - alert(id: id, type:'success', &block) + alert(id: id, type: 'success', &block) end + def prepend(id, options = {}, &block) turbo_stream.prepend(id, options, &block) end + def replace(id, options = {}, &block) turbo_stream.replace(id, options, &block) end @@ -29,13 +34,13 @@ def replace(id, options = {}, &block) def remove(id) turbo_stream.remove(id) end + def render_turbo_stream(*streams) render turbo_stream: streams end def render_alerts_container(controller_class = nil) id = controller_class.is_a?(String) ? controller_class : alerts_container_id(controller_class&.controller_name) - render AlertsContainerComponent.new(id: id) + render AlertsContainerComponent.new(id: id) end - -end \ No newline at end of file +end diff --git a/app/jobs/application_job.rb b/app/jobs/application_job.rb index a009ace51c..d92ffddcb5 100644 --- a/app/jobs/application_job.rb +++ b/app/jobs/application_job.rb @@ -1,2 +1,4 @@ +# frozen_string_literal: true + class ApplicationJob < ActiveJob::Base end diff --git a/app/lib/kgcl/issue_content_generator.rb b/app/lib/kgcl/issue_content_generator.rb index dce34fb35e..1ae5244ebb 100644 --- a/app/lib/kgcl/issue_content_generator.rb +++ b/app/lib/kgcl/issue_content_generator.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -Dir[Rails.root.join('app', 'lib', 'kgcl', 'renderers', '*.rb')].sort.each { |file| require file } +Dir[Rails.root.join('app', 'lib', 'kgcl', 'renderers', '*.rb')].sort.each { |file| require_relative file } module KGCL module IssueContentGenerator diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb index f2961e12cd..5c719f00ad 100644 --- a/app/mailers/application_mailer.rb +++ b/app/mailers/application_mailer.rb @@ -1,5 +1,6 @@ +# frozen_string_literal: true + class ApplicationMailer < ActionMailer::Base default from: 'noreply@lirmm.com' # layout 'mailer' end - diff --git a/app/mailers/notifier.rb b/app/mailers/notifier.rb index 7d517cf8f1..3bf842f60a 100644 --- a/app/mailers/notifier.rb +++ b/app/mailers/notifier.rb @@ -1,27 +1,28 @@ -class Notifier < ApplicationMailer +# frozen_string_literal: true +class Notifier < ApplicationMailer def lost_password(user, password) # Email header info MUST be added here recipients user.email - from "#{$SUPPORT_EMAIL}" + from $SUPPORT_EMAIL.to_s subject "[#{$ORG_SITE}] Password Reset" # Email body substitutions go here - body :user => user, :password => password + body user: user, password: password end def error(error) recipients $ERROR_EMAIL - from "#{$ADMIN_EMAIL}" - subject "Exception Mailer" - body :exception_message => error.message, :trace => error.backtrace + from $ADMIN_EMAIL.to_s + subject 'Exception Mailer' + body exception_message: error.message, trace: error.backtrace end def endlessloop(node) recipients $ERROR_EMAIL - from "#{$ADMIN_EMAIL}" - subject "Exception Mailer" - body :node => node.inspect + from $ADMIN_EMAIL.to_s + subject 'Exception Mailer' + body node: node.inspect end def feedback(name, email, comment, location, tags) @@ -31,13 +32,10 @@ def feedback(name, email, comment, location, tags) @location = location @tags = tags - mail(:to => "#{$SUPPORT_EMAIL}, #{email}", - :from => "#{$SUPPORT_EMAIL}", - :subject => "[#{$SITE}] Feedback from #{name}") - end - - def signup(user) - + mail(to: "#{$SUPPORT_EMAIL}, #{email}", + from: $SUPPORT_EMAIL.to_s, + subject: "[#{$SITE}] Feedback from #{name}") end + def signup(user); end end diff --git a/app/mailers/subscribe_mailer.rb b/app/mailers/subscribe_mailer.rb index c80a4538eb..bf510f30fb 100644 --- a/app/mailers/subscribe_mailer.rb +++ b/app/mailers/subscribe_mailer.rb @@ -1,42 +1,45 @@ +# frozen_string_literal: true + class SubscribeMailer < ApplicationMailer - - def register_for_announce_list(email,firstName,lastName) - if subscription_configs_valid? - if $ANNOUNCE_LIST_SERVICE.upcase.eql? "SYMPA" - mail( - :to => $ANNOUNCE_SERVICE_HOST, - :from => email, - :subject => "subscribe #{$ANNOUNCE_LIST} #{firstName} #{lastName}") - end - - mail( - :to => $SUPPORT_EMAIL, - :from => email, - :subject => "#{email} has been subscribe to our user mailing list #{$ANNOUNCE_LIST}") - end - end - - def unregister_for_announce_list(email) - if subscription_configs_valid? - if $ANNOUNCE_LIST_SERVICE.upcase.eql? "SYMPA" - mail( - :to => $ANNOUNCE_SERVICE_HOST, - :from => email, - :subject => "unsubscribe #{$ANNOUNCE_LIST}") - end - - mail( - :to => $SUPPORT_EMAIL, - :from => email, - :subject => "#{email} has been unsubscribe from our user mailing list #{$ANNOUNCE_LIST}") - end + def register_for_announce_list(email, firstName, lastName) + return unless subscription_configs_valid? + + if $ANNOUNCE_LIST_SERVICE.upcase.eql? 'SYMPA' + mail( + to: $ANNOUNCE_SERVICE_HOST, + from: email, + subject: "subscribe #{$ANNOUNCE_LIST} #{firstName} #{lastName}" + ) end - - private + mail( + to: $SUPPORT_EMAIL, + from: email, + subject: "#{email} has been subscribe to our user mailing list #{$ANNOUNCE_LIST}" + ) + end + + def unregister_for_announce_list(email) + return unless subscription_configs_valid? - def subscription_configs_valid? - $ANNOUNCE_SERVICE_HOST.present? && $ANNOUNCE_LIST_SERVICE.present? && $ANNOUNCE_LIST.present? + if $ANNOUNCE_LIST_SERVICE.upcase.eql? 'SYMPA' + mail( + to: $ANNOUNCE_SERVICE_HOST, + from: email, + subject: "unsubscribe #{$ANNOUNCE_LIST}" + ) end - + + mail( + to: $SUPPORT_EMAIL, + from: email, + subject: "#{email} has been unsubscribe from our user mailing list #{$ANNOUNCE_LIST}" + ) + end + + private + + def subscription_configs_valid? + $ANNOUNCE_SERVICE_HOST.present? && $ANNOUNCE_LIST_SERVICE.present? && $ANNOUNCE_LIST.present? + end end diff --git a/app/models/analytics.rb b/app/models/analytics.rb index 9493888906..1be4c25047 100644 --- a/app/models/analytics.rb +++ b/app/models/analytics.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class Analytics < ApplicationRecord serialize :params end diff --git a/app/models/application_record.rb b/app/models/application_record.rb index 71a1a03cc9..71fbba5b32 100644 --- a/app/models/application_record.rb +++ b/app/models/application_record.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class ApplicationRecord < ActiveRecord::Base self.abstract_class = true -end \ No newline at end of file +end diff --git a/app/models/bpid_resolver.rb b/app/models/bpid_resolver.rb index 3f345b39f1..037247781d 100644 --- a/app/models/bpid_resolver.rb +++ b/app/models/bpid_resolver.rb @@ -1,28 +1,28 @@ +# frozen_string_literal: true + require 'cgi' require 'ostruct' require 'json' require 'open-uri' class BpidResolver - require Rails.root + 'lib/resolver/acronym_from_virtual' - require Rails.root + 'lib/resolver/virtual_from_acronym' - require Rails.root + 'lib/resolver/virtual_from_version' + require "#{Rails.root}/lib/resolver/acronym_from_virtual" + require "#{Rails.root}/lib/resolver/virtual_from_acronym" + require "#{Rails.root}/lib/resolver/virtual_from_version" def self.id_to_acronym(id) - acronym = self.acronym_from_virtual_id(id) - acronym = self.acronym_from_version_id(id) unless acronym + acronym = acronym_from_virtual_id(id) + acronym ||= acronym_from_version_id(id) acronym end def self.acronym_to_virtual_id(acronym) - self.virtual_id_from_acronym(acronym) + virtual_id_from_acronym(acronym) end - private - def self.acronym_from_id(id) - acronym = self.acronym_from_virtual_id(id) - acronym = self.acronym_from_version_id(id) unless acronym + acronym = acronym_from_virtual_id(id) + acronym ||= acronym_from_version_id(id) acronym end @@ -42,5 +42,4 @@ def self.virtual_id_from_version_id(version_id) def self.virtual_id_from_acronym(acronym) VIRTUAL_FROM_ACRONYM["old:virtual_from_acronym:#{acronym}"] end - -end \ No newline at end of file +end diff --git a/app/models/history.rb b/app/models/history.rb index 56aac8792d..ed337aab03 100644 --- a/app/models/history.rb +++ b/app/models/history.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class History attr_accessor :ontology_id, :ontology_name, :ontology_acronym, :concept @@ -7,4 +9,4 @@ def initialize(ontology_id, ontology_name, ontology_acronym, concept) self.ontology_acronym = ontology_acronym self.concept = concept end -end \ No newline at end of file +end diff --git a/app/models/license.rb b/app/models/license.rb index fffdb7b321..aed90154d7 100644 --- a/app/models/license.rb +++ b/app/models/license.rb @@ -1,5 +1,6 @@ -class License < ApplicationRecord +# frozen_string_literal: true +class License < ApplicationRecord attr_reader :appliance_id, :organization, :expiry_date validates :encrypted_key, presence: true, encrypted_key: true, virtual_appliance_id: true @@ -14,7 +15,7 @@ def is_trial? end def days_remaining - (@expiry_date < Date.current) ? 0 : (@expiry_date - Date.current).to_i + @expiry_date < Date.current ? 0 : (@expiry_date - Date.current).to_i end private @@ -28,7 +29,6 @@ def decrypt @appliance_id = license_data[0] @organization = license_data[1] @expiry_date = Date.parse(license_data[2]) - end + end end - end diff --git a/app/models/mapping_page.rb b/app/models/mapping_page.rb index 11966172f7..aee1483347 100644 --- a/app/models/mapping_page.rb +++ b/app/models/mapping_page.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class MappingPage < Array attr_accessor :page, :pageCount, :collection end diff --git a/app/models/ontology.rb b/app/models/ontology.rb index 04662e1288..9d58713e4d 100644 --- a/app/models/ontology.rb +++ b/app/models/ontology.rb @@ -1,2 +1,4 @@ +# frozen_string_literal: true + class Ontology < ApplicationRecord -end \ No newline at end of file +end diff --git a/app/models/remote_file.rb b/app/models/remote_file.rb index e668987a9d..b7e9c70b83 100644 --- a/app/models/remote_file.rb +++ b/app/models/remote_file.rb @@ -1,32 +1,30 @@ +# frozen_string_literal: true + require 'open-uri' require 'digest/sha1' - + class RemoteFile < ::Tempfile - - def initialize(path, name = nil, tmpdir = Dir::tmpdir) + def initialize(path, name = nil, tmpdir = Dir.tmpdir) @original_filename = name.nil? ? File.basename(path) : name @remote_path = path - + super Digest::SHA1.hexdigest(path), tmpdir fetch end - + def fetch string_io = OpenURI.send(:open, @remote_path) - self.write string_io.read - self.rewind + write string_io.read + rewind self end - - def original_filename - @original_filename - end - + + attr_reader :original_filename + def content_type - mime = `file --mime -br #{self.path}`.strip - mime = mime.gsub(/^.*: */,"") - mime = mime.gsub(/;.*$/,"") - mime = mime.gsub(/,.*$/,"") - mime + mime = `file --mime -br #{path}`.strip + mime = mime.gsub(/^.*: */, '') + mime = mime.gsub(/;.*$/, '') + mime.gsub(/,.*$/, '') end end diff --git a/app/models/resource_index_result_paginatable.rb b/app/models/resource_index_result_paginatable.rb index 4e9c06b8c5..a7f0977719 100644 --- a/app/models/resource_index_result_paginatable.rb +++ b/app/models/resource_index_result_paginatable.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class ResourceIndexResultPaginatable < WillPaginate::Collection attr_accessor :totalResults, :offset, :limit, :acronym @@ -11,10 +13,10 @@ def initialize(hash) # Fill out attributes needed by will_paginate @current_page = hash.page - @per_page = self.limit - self.total_entries = self.totalResults + @per_page = limit + self.total_entries = totalResults # Put the array elements in place - self.replace(hash.collection) + replace(hash.collection) end -end \ No newline at end of file +end diff --git a/app/models/virtual_appliance_user.rb b/app/models/virtual_appliance_user.rb index 6624753d01..d9c75403fe 100644 --- a/app/models/virtual_appliance_user.rb +++ b/app/models/virtual_appliance_user.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class VirtualApplianceUser < ApplicationRecord self.implicit_order_column = 'user_id' end diff --git a/app/services/application_service.rb b/app/services/application_service.rb index 618af8a239..44262b0ea0 100644 --- a/app/services/application_service.rb +++ b/app/services/application_service.rb @@ -1,5 +1,7 @@ +# frozen_string_literal: true + class ApplicationService def self.call(*args, &block) new(*args, &block).call end -end \ No newline at end of file +end diff --git a/app/services/issue_creator_service.rb b/app/services/issue_creator_service.rb index 19d81ce475..fda0d5c0db 100644 --- a/app/services/issue_creator_service.rb +++ b/app/services/issue_creator_service.rb @@ -3,7 +3,6 @@ class IssueCreatorService < ApplicationService class QueryError < StandardError; end - def initialize(params) @title = params[:content][:title] @body = params[:content][:body] @@ -11,7 +10,6 @@ def initialize(params) end def call - findRepoQuery = GitHub::Client.parse <<-'GRAPHQL' query ($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { @@ -36,7 +34,7 @@ def call } } } - GRAPHQL + GRAPHQL data = query(findRepoQuery, variables: { owner: repo_owner, name: repo_name }) data = query(createIssueMutation, variables: { repositoryId: data.repository.id, title: @title, body: @body }) data.to_h.dig('createIssue', 'issue') diff --git a/app/services/license_key_decrypter.rb b/app/services/license_key_decrypter.rb index 54369fcabb..ea1703bcb0 100644 --- a/app/services/license_key_decrypter.rb +++ b/app/services/license_key_decrypter.rb @@ -1,19 +1,19 @@ -class LicenseKeyDecrypter < ApplicationService +# frozen_string_literal: true +class LicenseKeyDecrypter < ApplicationService def initialize(license_key) @license_key = license_key end def call - encrypted_key, encrypted_data = @license_key.split('|').map{ |a| Base64.decode64(a) } + encrypted_key, encrypted_data = @license_key.split('|').map { |a| Base64.decode64(a) } public_key_file = Rails.root.join('config', 'keys', 'public.pem') public_key = OpenSSL::PKey::RSA.new(File.read(public_key_file)) - cipher = OpenSSL::Cipher::AES256.new(:CBC) + cipher = OpenSSL::Cipher.new('aes-256-cbc') cipher.decrypt cipher.key = public_key.public_decrypt(encrypted_key) cipher.update(encrypted_data) + cipher.final end - -end \ No newline at end of file +end diff --git a/app/validators/encrypted_key_validator.rb b/app/validators/encrypted_key_validator.rb index e19ab707ee..52742bce27 100644 --- a/app/validators/encrypted_key_validator.rb +++ b/app/validators/encrypted_key_validator.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # EncryptedKeyValidator # # Custom validator for encrypted license keys @@ -8,13 +10,12 @@ # class EncryptedKeyValidator < ActiveModel::EachValidator - def validate_each(record, attribute, value) return if record.is_trial? - unless valid_encrypted_key?(value) - record.errors.add(attribute, :invalid_license_key) - end + return if valid_encrypted_key?(value) + + record.errors.add(attribute, :invalid_license_key) end private @@ -24,5 +25,4 @@ def valid_encrypted_key?(value) rescue OpenSSL::Cipher::CipherError, OpenSSL::PKey::RSAError false end - -end \ No newline at end of file +end diff --git a/app/validators/virtual_appliance_id_validator.rb b/app/validators/virtual_appliance_id_validator.rb index 6bb5f300b1..51a86ce207 100644 --- a/app/validators/virtual_appliance_id_validator.rb +++ b/app/validators/virtual_appliance_id_validator.rb @@ -1,7 +1,9 @@ +# frozen_string_literal: true + # VirtualApplianceIdValidator # -# Custom validator for virtual appliance IDs. The virtual appliance ID in a -# license key must match the ID of the virtual appliance against which a +# Custom validator for virtual appliance IDs. The virtual appliance ID in a +# license key must match the ID of the virtual appliance against which a # license is submitted. # # class License < ApplicationRecord @@ -10,21 +12,20 @@ # class VirtualApplianceIdValidator < ActiveModel::EachValidator - def validate_each(record, attribute, value) return if record.is_trial? response = JSON.parse( - LinkedData::Client::HTTP.get(LinkedData::Client.settings.rest_url + "/admin/update_info", {}, raw: true) + LinkedData::Client::HTTP.get("#{LinkedData::Client.settings.rest_url}/admin/update_info", {}, raw: true) ) - if response["error"] + if response['error'] record.errors.add(attribute, :no_appliance_id_for_comparison) return false end - - unless valid_virtual_appliance_id?(value, response["appliance_id"]) - record.errors.add(attribute, :appliance_id_mismatch) - end + + return if valid_virtual_appliance_id?(value, response['appliance_id']) + + record.errors.add(attribute, :appliance_id_mismatch) end private @@ -36,5 +37,4 @@ def valid_virtual_appliance_id?(value, appliance_id) rescue OpenSSL::Cipher::CipherError, OpenSSL::PKey::RSAError false end - -end \ No newline at end of file +end diff --git a/app/views/projects/index.html.haml b/app/views/projects/index.html.haml index e17084d21d..1aaf9aed37 100644 --- a/app/views/projects/index.html.haml +++ b/app/views/projects/index.html.haml @@ -5,7 +5,7 @@ %h1.tab_header= t("projects.self") %p.tab_description = t("projects.index.intro", site: "#{$SITE}") - = link_to(help_path(anchor: "Projects_Tab"), id: "projects-help", aria: {label: t("projects.view_projects_help")}) do + = link_to("#{Rails.configuration.settings.links[:help]}#Projects_Tab", id: "projects-help", aria: {label: t("projects.view_projects_help")}) do %i.fas.fa-question-circle.fa-lg{aria: {hidden: "true"}, style: "margin-left: .25em"} %div{:style => "padding:10px;"} diff --git a/bin/bundle b/bin/bundle index f19acf5b5c..2dbb71769e 100755 --- a/bin/bundle +++ b/bin/bundle @@ -1,3 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: true + ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) load Gem.bin_path('bundler', 'bundle') diff --git a/bin/rails b/bin/rails index efc0377492..a31728ab97 100755 --- a/bin/rails +++ b/bin/rails @@ -1,4 +1,6 @@ #!/usr/bin/env ruby -APP_PATH = File.expand_path("../config/application", __dir__) -require_relative "../config/boot" -require "rails/commands" +# frozen_string_literal: true + +APP_PATH = File.expand_path('../config/application', __dir__) +require_relative '../config/boot' +require 'rails/commands' diff --git a/bin/rake b/bin/rake index 4fbf10b960..c199955006 100755 --- a/bin/rake +++ b/bin/rake @@ -1,4 +1,6 @@ #!/usr/bin/env ruby -require_relative "../config/boot" -require "rake" +# frozen_string_literal: true + +require_relative '../config/boot' +require 'rake' Rake.application.run diff --git a/bin/setup b/bin/setup index ec47b79b3b..516b651e39 100755 --- a/bin/setup +++ b/bin/setup @@ -1,8 +1,10 @@ #!/usr/bin/env ruby -require "fileutils" +# frozen_string_literal: true + +require 'fileutils' # path to your application root. -APP_ROOT = File.expand_path("..", __dir__) +APP_ROOT = File.expand_path('..', __dir__) def system!(*args) system(*args) || abort("\n== Command #{args} failed ==") @@ -13,9 +15,9 @@ FileUtils.chdir APP_ROOT do # This script is idempotent, so that you can run it at any time and get an expectable outcome. # Add necessary setup steps to this file. - puts "== Installing dependencies ==" - system! "gem install bundler --conservative" - system("bundle check") || system!("bundle install") + puts '== Installing dependencies ==' + system! 'gem install bundler --conservative' + system('bundle check') || system!('bundle install') # puts "\n== Copying sample files ==" # unless File.exist?("config/database.yml") @@ -23,11 +25,11 @@ FileUtils.chdir APP_ROOT do # end puts "\n== Preparing database ==" - system! "bin/rails db:prepare" + system! 'bin/rails db:prepare' puts "\n== Removing old logs and tempfiles ==" - system! "bin/rails log:clear tmp:clear" + system! 'bin/rails log:clear tmp:clear' puts "\n== Restarting application server ==" - system! "bin/rails restart" + system! 'bin/rails restart' end diff --git a/bin/update b/bin/update index 58bfaed518..313c74b38b 100755 --- a/bin/update +++ b/bin/update @@ -1,4 +1,6 @@ #!/usr/bin/env ruby +# frozen_string_literal: true + require 'fileutils' include FileUtils diff --git a/bin/wait-for-it b/bin/wait-for-it new file mode 100755 index 0000000000..7888ed4326 --- /dev/null +++ b/bin/wait-for-it @@ -0,0 +1,182 @@ +#!/usr/bin/env sh +# Use this script to test if a given TCP host/port are available + +WAITFORIT_cmdname=${0##*/} + +echoerr() { if [[ $WAITFORIT_QUIET -ne 1 ]]; then echo "$@" 1>&2; fi } + +usage() +{ + cat << USAGE >&2 +Usage: + $WAITFORIT_cmdname host:port [-s] [-t timeout] [-- command args] + -h HOST | --host=HOST Host or IP under test + -p PORT | --port=PORT TCP port under test + Alternatively, you specify the host and port as host:port + -s | --strict Only execute subcommand if the test succeeds + -q | --quiet Don't output any status messages + -t TIMEOUT | --timeout=TIMEOUT + Timeout in seconds, zero for no timeout + -- COMMAND ARGS Execute command with args after the test finishes +USAGE + exit 1 +} + +wait_for() +{ + if [[ $WAITFORIT_TIMEOUT -gt 0 ]]; then + echoerr "$WAITFORIT_cmdname: waiting $WAITFORIT_TIMEOUT seconds for $WAITFORIT_HOST:$WAITFORIT_PORT" + else + echoerr "$WAITFORIT_cmdname: waiting for $WAITFORIT_HOST:$WAITFORIT_PORT without a timeout" + fi + WAITFORIT_start_ts=$(date +%s) + while : + do + if [[ $WAITFORIT_ISBUSY -eq 1 ]]; then + nc -z $WAITFORIT_HOST $WAITFORIT_PORT + WAITFORIT_result=$? + else + (echo -n > /dev/tcp/$WAITFORIT_HOST/$WAITFORIT_PORT) >/dev/null 2>&1 + WAITFORIT_result=$? + fi + if [[ $WAITFORIT_result -eq 0 ]]; then + WAITFORIT_end_ts=$(date +%s) + echoerr "$WAITFORIT_cmdname: $WAITFORIT_HOST:$WAITFORIT_PORT is available after $((WAITFORIT_end_ts - WAITFORIT_start_ts)) seconds" + break + fi + sleep 1 + done + return $WAITFORIT_result +} + +wait_for_wrapper() +{ + # In order to support SIGINT during timeout: http://unix.stackexchange.com/a/57692 + if [[ $WAITFORIT_QUIET -eq 1 ]]; then + timeout $WAITFORIT_BUSYTIMEFLAG $WAITFORIT_TIMEOUT $0 --quiet --child --host=$WAITFORIT_HOST --port=$WAITFORIT_PORT --timeout=$WAITFORIT_TIMEOUT & + else + timeout $WAITFORIT_BUSYTIMEFLAG $WAITFORIT_TIMEOUT $0 --child --host=$WAITFORIT_HOST --port=$WAITFORIT_PORT --timeout=$WAITFORIT_TIMEOUT & + fi + WAITFORIT_PID=$! + trap "kill -INT -$WAITFORIT_PID" INT + wait $WAITFORIT_PID + WAITFORIT_RESULT=$? + if [[ $WAITFORIT_RESULT -ne 0 ]]; then + echoerr "$WAITFORIT_cmdname: timeout occurred after waiting $WAITFORIT_TIMEOUT seconds for $WAITFORIT_HOST:$WAITFORIT_PORT" + fi + return $WAITFORIT_RESULT +} + +# process arguments +while [[ $# -gt 0 ]] +do + case "$1" in + *:* ) + WAITFORIT_hostport=(${1//:/ }) + WAITFORIT_HOST=${WAITFORIT_hostport[0]} + WAITFORIT_PORT=${WAITFORIT_hostport[1]} + shift 1 + ;; + --child) + WAITFORIT_CHILD=1 + shift 1 + ;; + -q | --quiet) + WAITFORIT_QUIET=1 + shift 1 + ;; + -s | --strict) + WAITFORIT_STRICT=1 + shift 1 + ;; + -h) + WAITFORIT_HOST="$2" + if [[ $WAITFORIT_HOST == "" ]]; then break; fi + shift 2 + ;; + --host=*) + WAITFORIT_HOST="${1#*=}" + shift 1 + ;; + -p) + WAITFORIT_PORT="$2" + if [[ $WAITFORIT_PORT == "" ]]; then break; fi + shift 2 + ;; + --port=*) + WAITFORIT_PORT="${1#*=}" + shift 1 + ;; + -t) + WAITFORIT_TIMEOUT="$2" + if [[ $WAITFORIT_TIMEOUT == "" ]]; then break; fi + shift 2 + ;; + --timeout=*) + WAITFORIT_TIMEOUT="${1#*=}" + shift 1 + ;; + --) + shift + WAITFORIT_CLI=("$@") + break + ;; + --help) + usage + ;; + *) + echoerr "Unknown argument: $1" + usage + ;; + esac +done + +if [[ "$WAITFORIT_HOST" == "" || "$WAITFORIT_PORT" == "" ]]; then + echoerr "Error: you need to provide a host and port to test." + usage +fi + +WAITFORIT_TIMEOUT=${WAITFORIT_TIMEOUT:-15} +WAITFORIT_STRICT=${WAITFORIT_STRICT:-0} +WAITFORIT_CHILD=${WAITFORIT_CHILD:-0} +WAITFORIT_QUIET=${WAITFORIT_QUIET:-0} + +# Check to see if timeout is from busybox? +WAITFORIT_TIMEOUT_PATH=$(type -p timeout) +WAITFORIT_TIMEOUT_PATH=$(realpath $WAITFORIT_TIMEOUT_PATH 2>/dev/null || readlink -f $WAITFORIT_TIMEOUT_PATH) + +WAITFORIT_BUSYTIMEFLAG="" +if [[ $WAITFORIT_TIMEOUT_PATH =~ "busybox" ]]; then + WAITFORIT_ISBUSY=1 + # Check if busybox timeout uses -t flag + # (recent Alpine versions don't support -t anymore) + if timeout &>/dev/stdout | grep -q -e '-t '; then + WAITFORIT_BUSYTIMEFLAG="-t" + fi +else + WAITFORIT_ISBUSY=0 +fi + +if [[ $WAITFORIT_CHILD -gt 0 ]]; then + wait_for + WAITFORIT_RESULT=$? + exit $WAITFORIT_RESULT +else + if [[ $WAITFORIT_TIMEOUT -gt 0 ]]; then + wait_for_wrapper + WAITFORIT_RESULT=$? + else + wait_for + WAITFORIT_RESULT=$? + fi +fi + +if [[ $WAITFORIT_CLI != "" ]]; then + if [[ $WAITFORIT_RESULT -ne 0 && $WAITFORIT_STRICT -eq 1 ]]; then + echoerr "$WAITFORIT_cmdname: strict mode, refusing to execute subprocess" + exit $WAITFORIT_RESULT + fi + exec "${WAITFORIT_CLI[@]}" +else + exit $WAITFORIT_RESULT +fi diff --git a/bin/yarn b/bin/yarn index 9fab2c3507..9da8e5c570 100755 --- a/bin/yarn +++ b/bin/yarn @@ -1,17 +1,19 @@ #!/usr/bin/env ruby +# frozen_string_literal: true + APP_ROOT = File.expand_path('..', __dir__) Dir.chdir(APP_ROOT) do - yarn = ENV["PATH"].split(File::PATH_SEPARATOR). - select { |dir| File.expand_path(dir) != __dir__ }. - product(["yarn", "yarn.cmd", "yarn.ps1"]). - map { |dir, file| File.expand_path(file, dir) }. - find { |file| File.executable?(file) } + yarn = ENV['PATH'].split(File::PATH_SEPARATOR) + .reject { |dir| File.expand_path(dir) == __dir__ } + .product(['yarn', 'yarn.cmd', 'yarn.ps1']) + .map { |dir, file| File.expand_path(file, dir) } + .find { |file| File.executable?(file) } if yarn exec yarn, *ARGV else - $stderr.puts "Yarn executable was not detected in the system." - $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install" + warn 'Yarn executable was not detected in the system.' + warn 'Download Yarn at https://yarnpkg.com/en/docs/install' exit 1 end end diff --git a/config.ru b/config.ru index a8f6e4abd6..3c189ca528 100644 --- a/config.ru +++ b/config.ru @@ -1,6 +1,8 @@ +# frozen_string_literal: true + # This file is used by Rack-based servers to start the application. -require_relative "config/environment" +require_relative 'config/environment' run BioportalWebUi::Application Rails.application.load_server diff --git a/config/application.rb b/config/application.rb index 1213596fa4..eba0fdc731 100644 --- a/config/application.rb +++ b/config/application.rb @@ -1,6 +1,8 @@ -require_relative "boot" +# frozen_string_literal: true -require "rails/all" +require_relative 'boot' + +require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. @@ -12,21 +14,18 @@ class Application < Rails::Application config.load_defaults 7.0 # permitted locales available for the application - config.i18n.available_locales = [:en, :fr, :it, :de] + config.i18n.available_locales = %i[en fr it de] config.i18n.default_locale = :en - # Configuration for the application, engines, and railties goes here. # # These settings can be overridden in specific environments using the files # in config/environments, which are processed later. # # config.time_zone = "Central Time (US & Canada)" - config.exceptions_app = self.routes - + config.exceptions_app = routes config.autoload_paths += %W[#{config.root}/app/lib/kgcl] - config.settings = config_for :settings # Initialize configuration for KGCL change request functionality. config.change_request = config_for :change_request @@ -34,6 +33,6 @@ class Application < Rails::Application config.generators.template_engine = :haml # Set the default layout to app/views/layouts/component_preview.html.erb - config.view_component.default_preview_layout = "component_preview" + config.view_component.default_preview_layout = 'component_preview' end end diff --git a/config/bioportal_config_test.rb b/config/bioportal_config_test.rb new file mode 100644 index 0000000000..c76174deb8 --- /dev/null +++ b/config/bioportal_config_test.rb @@ -0,0 +1,172 @@ +# frozen_string_literal: true + +$SITE = 'Testportal' +$UI_HOSTNAME = 'localhost' +$UI_URL = "http://#{$UI_HOSTNAME}:3000" + +$API_KEY = ENV['API_KEY'] +$REST_URL = ENV['API_URL'] +$BIOMIXER_URL = ENV['BIOMIXER_URL'] +$ANNOTATOR_URL = $PROXY_URL = ENV['ANNOTATOR_URL'] +$FAIRNESS_URL = ENV['ANNOTATOR_URL'] + +# config/initializers/omniauth_providers.rb +$OMNIAUTH_PROVIDERS = { + github: { + client_id: 'id', + client_secret: 'secret', + icon: 'icons/github.svg' + }, + google: { + strategy: :google_oauth2, + client_id: 'id', + client_secret: 'secret', + icon: 'icons/google.svg' + }, + orcid: { + client_id: 'YOUR_ORCID_CLIENT_ID', + client_secret: 'YOUR_ORCID_CLIENT_SECRET', + icon: 'icons/orcid.svg' + }, + keycloak: { + strategy: :keycloak_openid, + client_id: 'YOUR_KEYCLOAK_CLIENT_ID', + client_secret: 'YOUR_KEYCLOAK_CLIENT_SECRET', + client_options: { site: 'KEYCLOAK_SITE', realm: 'KEYCLOAK_REALM' }, + name: 'keycloak', + icon: 'icons/keycloak.svg' + } +}.freeze + +$INTERPORTAL_HASH = {} + +# If your BioPortal installation includes Fairness score set this to true +$FAIRNESS_DISABLED = false + +# Pairing a name with an array of ontology virtual ids will allow you to filter ontologies based on a subdomain. +# If your main UI is hosted at example.org and you add custom.example.org pointing to the same Rails installation +# you could filter the ontologies visible at custom.example.org by adding this to the hash: "custom" => { :name => "Custom Slice", :ontologies => [1032, 1054, 1099] } +# Any number of slices can be added. Groups are added automatically using the group acronym as the subdomain. +$ENABLE_SLICES = true +$ONTOLOGY_SLICES = {} + +# Cube metrics reporting +$ENABLE_CUBE = false + +$NOT_DOWNLOADABLE = {} +# Enable client request caching +$CLIENT_REQUEST_CACHING = true + +# If you don't use Airbrake you can have exceptions emailed to the $ERROR_EMAIL address by setting this to 'true' +$EMAIL_EXCEPTIONS = false + +# Announcements mailman mailing list REQUEST address, EX: list-request@lists.example.org +# NOTE: You must use the REQUEST address for the mailing list. ONLY WORKS WITH MAILMAN LISTS. +$ANNOUNCE_LIST ||= 'appliance-users-request@localhost' + +# Email addresses used for sending notifications (errors, feedback, support) +$SUPPORT_EMAIL ||= 'support@localhost' +$ADMIN_EMAIL ||= 'admin@localhost' +$ERROR_EMAIL ||= 'errors@localhost' + +# Custom BioPortal logging +require 'log' +$REMOTE_LOGGING = false + +## +# Custom Ontology Details +# Custom details can be added on a per ontology basis using a key/value pair as columns of the details table +# +# Example: +# $ADDITIONAL_ONTOLOGY_DETAILS = { 1000 => { "Additional Detail" => "Text to be shown in the right-hand column." } } +## +$ADDITIONAL_ONTOLOGY_DETAILS = {} + +# Site notice appears on all pages and remains closed indefinitely. Stored below as a hash with a unique key and a +# EX: $SITE_NOTICE = { :unique_key => 'Put your message here (can include html if you use +$SITE_NOTICE = {} +################################ +## AUTO-GENERATED DO NOT MODIFY +################################# + +# Full string for site, EX: "NCBO BioPortal" +$ORG_SITE = $ORG.nil? || $ORG.empty? ? $SITE : "#{$ORG} #{$SITE}" + +$HOME_PAGE_LOGOS = { + supported_by: [ + { + img_src: 'logos/supports/numev.png', + url: 'http://www.lirmm.fr/numev', + target: '_blank' + }, + { + img_src: 'logos/supports/anr.png', + url: 'https://anr.fr/en', + target: '_blank' + }, + { + img_src: 'logos/supports/eu.png', + url: 'https://commission.europa.eu/research-and-innovation_en', + target: '_blank' + } + ], + with_the_collaboration_of: [ + { + img_src: 'logos/collaboration/d2kab.png', + url: 'http://d2kab.mystrikingly.com', + target: '_blank' + }, + { + img_src: 'logos/collaboration/lirmm.png', + url: 'http://www.lirmm.fr', + target: '_blank' + }, + { + img_src: 'logos/collaboration/inrae.png', + url: 'https://www.inrae.fr/enm', + target: '_blank' + }, + { + img_src: 'logos/collaboration/stanford.png', + url: 'https://www.stanford.edu', + target: '_blank' + } + ] +} + +$FOOTER_LINKS = { + social: [ + { logo: 'social/people.svg', link: 'https://github.com/orgs/agroportal/people' }, + { logo: 'social/github.svg', link: 'https://github.com/agroportal' }, + { logo: 'social/twitter.svg', link: 'https://twitter.com/lagroportal' } + ], + sections: { + products: { + ontoportal: 'https://ontoportal.org/', + release_notes: 'https://doc.jonquetlab.lirmm.fr/share/e6158eda-c109-4385-852c-51a42de9a412/doc/release-notes-btKjZk5tU2', + api: 'https://data.agroportal.lirmm.fr/', + sparql: 'https://sparql.agroportal.lirmm.fr/test/' + }, + support: { + contact_us: 'https://agroportal.lirmm.fr/feedback', + wiki: 'https://www.bioontology.org/wiki/', + documentation: 'https://ontoportal.github.io/documentation/' + }, + agreements: { + terms: '', + privacy_policy: '', + cite_us: '', + acknowledgments: '' + }, + about: { + about_us: 'https://github.com/agroportal/project-management', + projects: 'https://d2kab.mystrikingly.com/', + team: 'https://github.com/orgs/agroportal/people' + } + } +} + +$UI_THEME = :stageportal +if File.exist?('config/bioportal_config_development_testportal.lirmm.fr.rb') + require_relative 'bioportal_config_development_testportal.lirmm.fr' # local credentials +end diff --git a/config/boot.rb b/config/boot.rb index 340e433cb6..cac5b8f4d2 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -1,4 +1,6 @@ -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__) +# frozen_string_literal: true -require "bundler/setup" # Set up gems listed in the Gemfile. +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) + +require 'bundler/setup' # Set up gems listed in the Gemfile. require 'bootsnap/setup' diff --git a/config/database.yml.sample b/config/database.yml.sample index c92d72df20..463e3ebea9 100644 --- a/config/database.yml.sample +++ b/config/database.yml.sample @@ -12,10 +12,9 @@ default: &default adapter: mysql2 encoding: utf8mb4 - pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> username: root password: bp_user - host: db + host: 127.0.0.1 development: <<: *default diff --git a/config/deploy.rb b/config/deploy.rb index 1fe0d99900..9b103d7038 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -1,5 +1,7 @@ -set :author, "ontoportal-lirmm" -set :application, "bioportal_web_ui" +# frozen_string_literal: true + +set :author, 'ontoportal-lirmm' +set :application, 'bioportal_web_ui' set :repo_url, "https://github.com/#{fetch(:author)}/#{fetch(:application)}.git" @@ -33,7 +35,7 @@ # Default value for linked_dirs is [] # set :linked_dirs, %w{bin log tmp/pids tmp/cache public/system public/assets config/locales} -set :linked_dirs, %w{log tmp/pids tmp/cache public/system public/assets} +set :linked_dirs, %w[log tmp/pids tmp/cache public/system public/assets] # Default value for default_env is {} # set :default_env, { path: "/opt/ruby/bin:$PATH" } @@ -44,7 +46,7 @@ set :bundle_config, { deployment: true } # Defaults to [:web] -set :assets_roles, [:web, :app] +set :assets_roles, %i[web app] set :keep_assets, 3 # If you want to restart using `touch tmp/restart.txt`, add this to your config/deploy.rb: @@ -55,10 +57,10 @@ # If you don't set `:passenger_restart_with_touch`, capistrano-passenger will check what version of passenger you are running # and use `passenger-config restart-app` if it is available in that version. -desc "Check if agent forwarding is working" +desc 'Check if agent forwarding is working' task :forwarding do on roles(:all) do |h| - if test("env | grep SSH_AUTH_SOCK") + if test('env | grep SSH_AUTH_SOCK') info "Agent forwarding is up to #{h}" else error "Agent forwarding is NOT up to #{h}" @@ -70,7 +72,7 @@ desc 'display remote system env vars' task :show_remote_env do on roles(:all) do - remote_env = capture("env") + remote_env = capture('env') puts remote_env end end @@ -80,7 +82,7 @@ # or get config from local directory if LOCAL_CONFIG_PATH env var is set task :get_config do if defined?(PRIVATE_CONFIG_REPO) - TMP_CONFIG_PATH = "/tmp/#{SecureRandom.hex(15)}".freeze + TMP_CONFIG_PATH = "/tmp/#{SecureRandom.hex(15)}" on roles(:app) do execute "git clone -q #{PRIVATE_CONFIG_REPO} #{TMP_CONFIG_PATH}" execute "rsync -a #{TMP_CONFIG_PATH}/#{fetch(:application)}/ #{release_path}/" @@ -101,7 +103,6 @@ end end - after :publishing, :restart after :restart, :clear_cache do diff --git a/config/deploy/appliance.rb b/config/deploy/appliance.rb index 7b965a0fcd..f8169f6b0c 100644 --- a/config/deploy/appliance.rb +++ b/config/deploy/appliance.rb @@ -1,12 +1,14 @@ +# frozen_string_literal: true + # Simple Role Syntax # ================== # Supports bulk-adding hosts to roles, the primary # server in each group is considered to be the first # unless any hosts have the primary property set. # Don't declare `role :all`, it's a meta role -#role :app, %w{deploy@example.com} -#role :web, %w{deploy@example.com} -#role :db, %w{deploy@example.com} +# role :app, %w{deploy@example.com} +# role :web, %w{deploy@example.com} +# role :db, %w{deploy@example.com} # Extended Server Syntax # ====================== @@ -14,7 +16,7 @@ # definition into the server list. The second argument # something that quacks like a hash can be used to set # extended properties on the server. -server 'localhost', roles: %w{app db} +server 'localhost', roles: %w[app db] # you can set custom ssh options # it's possible to pass any option but you need to keep in mind that net/ssh understand limited list of options @@ -40,14 +42,14 @@ # BRANCH = ENV.include?('BRANCH') ? ENV['BRANCH'] : 'master' -set :branch, "#{BRANCH}" +set :branch, BRANCH.to_s set :deploy_to, "/srv/ontoportal/#{fetch(:application)}" # install gems into a common direcotry shared across ui, api and ncbo_cron to reduce disk usage set :bundle_path, '/srv/ontoportal/.bundle' -#private git repo for configuraiton -#PRIVATE_CONFIG_REPO = ENV.include?('PRIVATE_CONFIG_REPO') ? ENV['PRIVATE_CONFIG_REPO'] : 'git@github.com:your_org/private-config-repo.git' +# private git repo for configuraiton +# PRIVATE_CONFIG_REPO = ENV.include?('PRIVATE_CONFIG_REPO') ? ENV['PRIVATE_CONFIG_REPO'] : 'git@github.com:your_org/private-config-repo.git' -#location of configuration files +# location of configuration files LOCAL_CONFIG_PATH = ENV.include?('LOCAL_CONFIG_PATH') ? ENV['LOCAL_CONFIG_PATH'] : '/srv/ontoportal/virtual_appliance/appliance_config' diff --git a/config/deploy/production.rb b/config/deploy/production.rb index 78022105df..57e5e5b41f 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -1,11 +1,13 @@ +# frozen_string_literal: true + # Simple Role Syntax # ================== # Supports bulk-adding hosts to roles, the primary # server in each group is considered to be the first # unless any hosts have the primary property set. # Don't declare `role :all`, it's a meta role -role :app, %w{ui1.prd.ontoportal.org ui2.prd.ontoportal.org} -role :db, %w{ui1.prd.ontoportal.org} # sufficient to run db:migrate only on one system +role :app, %w[ui1.prd.ontoportal.org ui2.prd.ontoportal.org] +role :db, %w[ui1.prd.ontoportal.org] # sufficient to run db:migrate only on one system # Extended Server Syntax # ====================== @@ -13,7 +15,7 @@ # definition into the server list. The second argument # something that quacks like a hash can be used to set # extended properties on the server. -#server 'example.com', user: 'deploy', roles: %w{web app}, my_property: :my_value +# server 'example.com', user: 'deploy', roles: %w{web app}, my_property: :my_value set :log_level, :error # you can set custom ssh options # it's possible to pass any option but you need to keep in mind that net/ssh understand limited list of options @@ -39,11 +41,11 @@ set :ssh_options, { user: 'deployer', forward_agent: 'true', - keys: %w(config/deploy_id_rsa), - auth_methods: %w(publickey), + keys: %w[config/deploy_id_rsa], + auth_methods: %w[publickey], # use ssh proxy if UI servers are on a private network proxy: Net::SSH::Proxy::Command.new('ssh deployer@sshproxy.ontoportal.org -W %h:%p') } -#private git repo for configuraiton +# private git repo for configuraiton PRIVATE_CONFIG_REPO = ENV.include?('PRIVATE_CONFIG_REPO') ? ENV['PRIVATE_CONFIG_REPO'] : 'git@github.com:author/private_config_repo.git' diff --git a/config/deploy/staging.rb b/config/deploy/staging.rb index 2ad6dc6cd6..9a9b13906e 100644 --- a/config/deploy/staging.rb +++ b/config/deploy/staging.rb @@ -1,11 +1,13 @@ +# frozen_string_literal: true + # Simple Role Syntax # ================== # Supports bulk-adding hosts to roles, the primary # server in each group is considered to be the first # unless any hosts have the primary property set. # Don't declare `role :all`, it's a meta role -role :app, %w{stageportal.lirmm.fr} -role :db, %w{stageportal.lirmm.fr} # sufficient to run db:migrate only on one system +role :app, %w[stageportal.lirmm.fr] +role :db, %w[stageportal.lirmm.fr] # sufficient to run db:migrate only on one system # Extended Server Syntax # ====================== @@ -13,7 +15,7 @@ # definition into the server list. The second argument # something that quacks like a hash can be used to set # extended properties on the server. -#server 'example.com', user: 'deploy', roles: %w{web app}, my_property: :my_value +# server 'example.com', user: 'deploy', roles: %w{web app}, my_property: :my_value set :log_level, :error # you can set custom ssh options # it's possible to pass any option but you need to keep in mind that net/ssh understand limited list of options @@ -39,11 +41,11 @@ set :ssh_options, { user: 'deploy', forward_agent: 'true', - keys: %w(config/deploy_id_rsa), - auth_methods: %w(publickey), + keys: %w[config/deploy_id_rsa], + auth_methods: %w[publickey] # use ssh proxy if UI servers are on a private network # proxy: Net::SSH::Proxy::Command.new('ssh deployer@sshproxy.ontoportal.org -W %h:%p') } -#private git repo for configuraiton +# private git repo for configuraiton PRIVATE_CONFIG_REPO = ENV.include?('PRIVATE_CONFIG_REPO') ? ENV['PRIVATE_CONFIG_REPO'] : 'git@github.com:author/private_config_repo.git' diff --git a/config/environment.rb b/config/environment.rb index cac5315775..d5abe55806 100755 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,5 +1,7 @@ +# frozen_string_literal: true + # Load the Rails application. -require_relative "application" +require_relative 'application' # Initialize the Rails application. Rails.application.initialize! diff --git a/config/environments/appliance.rb b/config/environments/appliance.rb index ec5f5e79f9..8eb7c6b594 100644 --- a/config/environments/appliance.rb +++ b/config/environments/appliance.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + BioportalWebUi::Application.configure do # Settings specified here will take precedence over those in config/application.rb. @@ -78,15 +80,15 @@ require Rails.root.join('config', "bioportal_config_#{Rails.env}.rb") # Use a different cache store in the appliance. - config.cache_store = :mem_cache_store, ENV["MEMCACHE_SERVERS"] || "localhost:11211", { :namespace => 'bioportal_web_ui', :expires_in => 1.day } - + config.cache_store = :mem_cache_store, ENV['MEMCACHE_SERVERS'] || 'localhost:11211', + { namespace: 'bioportal_web_ui', expires_in: 1.day } # Disable serving static files from the `/public` folder by default since # Apache or NGINX already handles this. config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? # Add custom data attributes to sanitize allowed list - config.action_view.sanitized_allowed_attributes = ['id', 'class', 'style', 'data-cls', 'data-ont'] + config.action_view.sanitized_allowed_attributes = %w[id class style data-cls data-ont] config.view_component.show_previews = true # TODO: Fix this? # enable json logging format. Useful for logstash diff --git a/config/environments/development.rb b/config/environments/development.rb index b595b87cd8..cac6782afb 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -1,4 +1,6 @@ -require "active_support/core_ext/integer/time" +# frozen_string_literal: true + +require 'active_support/core_ext/integer/time' Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. @@ -19,13 +21,13 @@ # Enable/disable caching. By default caching is disabled. # Run rails dev:cache to toggle caching. - if Rails.root.join("tmp/caching-dev.txt").exist? + if Rails.root.join('tmp/caching-dev.txt').exist? config.action_controller.perform_caching = true config.action_controller.enable_fragment_cache_logging = true config.cache_store = :memory_store config.public_file_server.headers = { - "Cache-Control" => "public, max-age=#{2.days.to_i}" + 'Cache-Control' => "public, max-age=#{2.days.to_i}" } else config.action_controller.perform_caching = false @@ -63,10 +65,10 @@ config.cache_store = ActiveSupport::Cache::MemCacheStore.new('cache:11211', namespace: 'BioPortal') # Silence cache output - config.cache_store.logger = Logger.new("/dev/null") if config.cache_store.respond_to?(:logger) + config.cache_store.logger = Logger.new('/dev/null') if config.cache_store.respond_to?(:logger) # Add custom data attributes to sanitize allowed list - config.action_view.sanitized_allowed_attributes = ['id', 'class', 'style', 'data-cls', 'data-ont'] + config.action_view.sanitized_allowed_attributes = %w[id class style data-cls data-ont] config.view_component.generate.sidecar = true config.file_watcher = ActiveSupport::FileUpdateChecker @@ -82,4 +84,4 @@ # Uncomment if you wish to allow Action Cable access from any origin. # config.action_cable.disable_request_forgery_protection = true -end \ No newline at end of file +end diff --git a/config/environments/production.rb b/config/environments/production.rb index 3eea9fbc87..d963486b26 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,4 +1,6 @@ -require "active_support/core_ext/integer/time" +# frozen_string_literal: true + +require 'active_support/core_ext/integer/time' Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. @@ -22,7 +24,7 @@ # Disable serving static files from the `/public` folder by default since # Apache or NGINX already handles this. - config.public_file_server.enabled = ENV["RAILS_SERVE_STATIC_FILES"].present? + config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? # Compress JavaScripts config.assets.js_compressor = :terser @@ -56,7 +58,7 @@ config.log_level = :info # Prepend all log lines with the following tags. - config.log_tags = [ :request_id ] + config.log_tags = [:request_id] # Use a different cache store in production. # config.cache_store = :mem_cache_store @@ -93,15 +95,16 @@ # Include the BioPortal-specific configuration options require Rails.root.join('config', "bioportal_config_#{Rails.env}.rb") - + # Use a different cache store in production. - config.cache_store = :mem_cache_store, ENV["MEMCACHE_SERVERS"] || "localhost:11211", { namespace: 'bioportal_web_ui', expires_in: 1.day } + config.cache_store = :mem_cache_store, ENV['MEMCACHE_SERVERS'] || 'localhost:11211', + { namespace: 'bioportal_web_ui', expires_in: 1.day } # Add custom data attributes to sanitize allowed list - config.action_view.sanitized_allowed_attributes = ['id', 'class', 'style', 'data-cls', 'data-ont'] + config.action_view.sanitized_allowed_attributes = %w[id class style data-cls data-ont] - if ENV["RAILS_LOG_TO_STDOUT"].present? - logger = ActiveSupport::Logger.new(STDOUT) + if ENV['RAILS_LOG_TO_STDOUT'].present? + logger = ActiveSupport::Logger.new($stdout) logger.formatter = config.log_formatter config.logger = ActiveSupport::TaggedLogging.new(logger) end diff --git a/config/environments/staging.rb b/config/environments/staging.rb index c24addeaf1..d0fcbec7b0 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + BioportalWebUi::Application.configure do # Settings specified here will take precedence over those in config/application.rb. @@ -78,15 +80,16 @@ require Rails.root.join('config', "bioportal_config_#{Rails.env}.rb") # Use a different cache store in staging. - config.cache_store = :mem_cache_store, ENV["MEMCACHE_SERVERS"] || "localhost:11211", { namespace: 'bioportal_web_ui', expires_in: 1.day } + config.cache_store = :mem_cache_store, ENV['MEMCACHE_SERVERS'] || 'localhost:11211', + { namespace: 'bioportal_web_ui', expires_in: 1.day } # Disable serving static files from the `/public` folder by default since # Apache or NGINX already handles this. config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? # Add custom data attributes to sanitize allowed list - config.action_view.sanitized_allowed_attributes = ['id', 'class', 'style', 'data-cls', 'data-ont'] + config.action_view.sanitized_allowed_attributes = %w[id class style data-cls data-ont] # Include BioPortal-specific configuration options - require Rails.root.join('config', "bioportal_config_staging.rb") + require Rails.root.join('config', 'bioportal_config_staging.rb') end diff --git a/config/environments/test.rb b/config/environments/test.rb index 4448d0e8fb..d35b8d0f72 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -1,4 +1,6 @@ -require "active_support/core_ext/integer/time" +# frozen_string_literal: true + +require 'active_support/core_ext/integer/time' # The test environment is used exclusively to run your application's # test suite. You never need to work with it otherwise. Remember that @@ -14,18 +16,18 @@ # Eager loading loads your whole application. When running a single test locally, # this probably isn't necessary. It's a good idea to do in a continuous integration # system, or in some way before deploying your code. - config.eager_load = ENV["CI"].present? + config.eager_load = ENV['CI'].present? # Configure public file server for tests with Cache-Control for performance. config.public_file_server.enabled = true config.public_file_server.headers = { - "Cache-Control" => "public, max-age=#{1.hour.to_i}" + 'Cache-Control' => "public, max-age=#{1.hour.to_i}" } # Show full error reports and disable caching. config.consider_all_requests_local = true config.action_controller.perform_caching = false - config.cache_store = :null_store + config.cache_store = ActiveSupport::Cache::MemCacheStore.new('localhost:11211', namespace: 'BioPortal') # Raise exceptions instead of rendering exception templates. config.action_dispatch.show_exceptions = false diff --git a/config/initializers/application_controller_renderer.rb b/config/initializers/application_controller_renderer.rb index 89d2efab2b..f4556db399 100644 --- a/config/initializers/application_controller_renderer.rb +++ b/config/initializers/application_controller_renderer.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # Be sure to restart your server when you modify this file. # ActiveSupport::Reloader.to_prepare do diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb index 15e0202651..e6986f5c1e 100644 --- a/config/initializers/assets.rb +++ b/config/initializers/assets.rb @@ -1,7 +1,9 @@ +# frozen_string_literal: true + # Be sure to restart your server when you modify this file. # Version of your assets, change this if you want to expire all your assets. -Rails.application.config.assets.version = "1.0" +Rails.application.config.assets.version = '1.0' # Add additional assets to the asset load path. Rails.application.config.assets.paths << Rails.root.join('node_modules') diff --git a/config/initializers/backtrace_silencers.rb b/config/initializers/backtrace_silencers.rb index 33699c3091..d43cc1d2fe 100644 --- a/config/initializers/backtrace_silencers.rb +++ b/config/initializers/backtrace_silencers.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # Be sure to restart your server when you modify this file. # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. @@ -5,4 +7,4 @@ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code # by setting BACKTRACE=1 before calling your invocation, like "BACKTRACE=1 ./bin/rails runner 'MyClass.perform'". -Rails.backtrace_cleaner.remove_silencers! if ENV["BACKTRACE"] +Rails.backtrace_cleaner.remove_silencers! if ENV['BACKTRACE'] diff --git a/config/initializers/cache_output.rb b/config/initializers/cache_output.rb index 3f1335b177..8a7218e3c3 100644 --- a/config/initializers/cache_output.rb +++ b/config/initializers/cache_output.rb @@ -1,2 +1,3 @@ -Rails.cache.silence! +# frozen_string_literal: true +Rails.cache.silence! diff --git a/config/initializers/content_security_policy.rb b/config/initializers/content_security_policy.rb index 54f47cf15f..691cfa11a6 100644 --- a/config/initializers/content_security_policy.rb +++ b/config/initializers/content_security_policy.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # Be sure to restart your server when you modify this file. # Define an application-wide content security policy. diff --git a/config/initializers/cookies_serializer.rb b/config/initializers/cookies_serializer.rb index 5a6a32d371..ee8dff9c99 100644 --- a/config/initializers/cookies_serializer.rb +++ b/config/initializers/cookies_serializer.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # Be sure to restart your server when you modify this file. # Specify a serializer for the signed and encrypted cookie jars. diff --git a/config/initializers/cube_reporter.rb b/config/initializers/cube_reporter.rb index 136f509dd5..315828989b 100644 --- a/config/initializers/cube_reporter.rb +++ b/config/initializers/cube_reporter.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'cube' ## @@ -5,9 +7,8 @@ # A cube server is required. See http://square.github.io/cube/ for more info. module Rack class CubeReporter - def initialize(app = nil, options = {}) - host = options[:cube_host] || "localhost" + host = options[:cube_host] || 'localhost' port = options[:cube_port] || 1180 @app = app @cube = ::Cube::Client.new(host, port) @@ -17,27 +18,26 @@ def call(env) start = Time.now data = @app.call(env) finish = Time.now - user = env["rack.session"] ? env["rack.session"][:user] : nil + user = env['rack.session'] ? env['rack.session'][:user] : nil apikey = user.apikey if user username = user.username if user req_data = { - duration_ms: ((finish - start)*1000).ceil, - path: env["REQUEST_PATH"], + duration_ms: ((finish - start) * 1000).ceil, + path: env['REQUEST_PATH'], status: data[0], user: { apikey: apikey, username: username, - ip: env["REMOTE_ADDR"], - user_agent: env["HTTP_USER_AGENT"] + ip: env['REMOTE_ADDR'], + user_agent: env['HTTP_USER_AGENT'] } } - @cube.send "ui_request", DateTime.now, req_data + @cube.send 'ui_request', DateTime.now, req_data data end - end end if global_variables.include?(:$ENABLE_CUBE) && $ENABLE_CUBE == true - Rails.configuration.middleware.use(::Rack::CubeReporter, {cube_host: $CUBE_HOST, cube_port: $CUBE_PORT}) -end \ No newline at end of file + Rails.configuration.middleware.use(::Rack::CubeReporter, { cube_host: $CUBE_HOST, cube_port: $CUBE_PORT }) +end diff --git a/config/initializers/filter_parameter_logging.rb b/config/initializers/filter_parameter_logging.rb index adc6568ce8..3df77c5bee 100644 --- a/config/initializers/filter_parameter_logging.rb +++ b/config/initializers/filter_parameter_logging.rb @@ -1,8 +1,10 @@ +# frozen_string_literal: true + # Be sure to restart your server when you modify this file. # Configure parameters to be filtered from the log file. Use this to limit dissemination of # sensitive information. See the ActiveSupport::ParameterFilter documentation for supported # notations and behaviors. -Rails.application.config.filter_parameters += [ - :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn +Rails.application.config.filter_parameters += %i[ + passw secret token _key crypt salt certificate otp ssn ] diff --git a/config/initializers/haml.rb b/config/initializers/haml.rb index bdcbd0c87d..8c4a797a01 100644 --- a/config/initializers/haml.rb +++ b/config/initializers/haml.rb @@ -1 +1,3 @@ -Haml::Template.options[:format] = :xhtml \ No newline at end of file +# frozen_string_literal: true + +Haml::Template.options[:format] = :xhtml diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb index 3860f659ea..6c78420e71 100644 --- a/config/initializers/inflections.rb +++ b/config/initializers/inflections.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # Be sure to restart your server when you modify this file. # Add new inflection rules using the following format. Inflections diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb index dc1899682b..6e1d16f027 100644 --- a/config/initializers/mime_types.rb +++ b/config/initializers/mime_types.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # Be sure to restart your server when you modify this file. # Add new mime types for use in respond_to blocks: diff --git a/config/initializers/miniprofiler.rb b/config/initializers/miniprofiler.rb index 05194cebbe..9d43c82ec4 100644 --- a/config/initializers/miniprofiler.rb +++ b/config/initializers/miniprofiler.rb @@ -1,2 +1,4 @@ +# frozen_string_literal: true + Rack::MiniProfiler.config.authorization_mode = :allow_authorized Rack::MiniProfiler.config.position = 'right' diff --git a/config/initializers/monkeypatches.rb b/config/initializers/monkeypatches.rb index e917a47cc2..7cd0c8195c 100644 --- a/config/initializers/monkeypatches.rb +++ b/config/initializers/monkeypatches.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # Mixin for UTF-8 supported substring class String def utf8_slice(index, size = 1) @@ -6,7 +8,7 @@ def utf8_slice(index, size = 1) def utf8_slice!(index, size = 1) str = self[/.{#{index}}(.{#{size}})/, 1] - self[/.{#{index}}(.{#{size}})/, 1] = "" + self[/.{#{index}}(.{#{size}})/, 1] = '' str end end diff --git a/config/initializers/new_framework_defaults_6_0.rb b/config/initializers/new_framework_defaults_6_0.rb index 8c069c5f45..829ebeed93 100644 --- a/config/initializers/new_framework_defaults_6_0.rb +++ b/config/initializers/new_framework_defaults_6_0.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # Be sure to restart your server when you modify this file. # # This file contains migration options to ease your Rails 6.0 upgrade. diff --git a/config/initializers/new_framework_defaults_6_1.rb b/config/initializers/new_framework_defaults_6_1.rb index 9526b835ab..0b4ce02317 100644 --- a/config/initializers/new_framework_defaults_6_1.rb +++ b/config/initializers/new_framework_defaults_6_1.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # Be sure to restart your server when you modify this file. # # This file contains migration options to ease your Rails 6.1 upgrade. diff --git a/config/initializers/new_framework_defaults_7_0.rb b/config/initializers/new_framework_defaults_7_0.rb index a579326e20..9cf319f0a5 100644 --- a/config/initializers/new_framework_defaults_7_0.rb +++ b/config/initializers/new_framework_defaults_7_0.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # Be sure to restart your server when you modify this file. # # This file eases your Rails 7.0 framework defaults upgrade. diff --git a/config/initializers/omniauth.rb b/config/initializers/omniauth.rb index af53788f9c..d1923e1675 100644 --- a/config/initializers/omniauth.rb +++ b/config/initializers/omniauth.rb @@ -1,5 +1,8 @@ +# frozen_string_literal: true + Rails.application.config.middleware.use OmniAuth::Builder do $OMNIAUTH_PROVIDERS.each do |provider, config| - provider config[:strategy] || provider, config[:client_id], config[:client_secret], client_options: {}.merge(config[:client_options].to_h) + provider config[:strategy] || provider, config[:client_id], config[:client_secret], + client_options: {}.merge(config[:client_options].to_h) end -end \ No newline at end of file +end diff --git a/config/initializers/ontologies_api_client.rb b/config/initializers/ontologies_api_client.rb index ca8f07e9eb..bcef2b067f 100644 --- a/config/initializers/ontologies_api_client.rb +++ b/config/initializers/ontologies_api_client.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # ontologies_api_client init (default config works for the UI) require 'ontologies_api_client' LinkedData::Client.config do |config| diff --git a/config/initializers/open_uri_no_temp_files.rb b/config/initializers/open_uri_no_temp_files.rb index 461dc2bcbd..4424ffb76f 100644 --- a/config/initializers/open_uri_no_temp_files.rb +++ b/config/initializers/open_uri_no_temp_files.rb @@ -1,5 +1,6 @@ - # Don't allow downloaded files to be created as tempfiles. Force storage in memory using StringIO. - require 'open-uri' - OpenURI::Buffer.send :remove_const, 'StringMax' if OpenURI::Buffer.const_defined?('StringMax') - OpenURI::Buffer.const_set 'StringMax', 104857600 - \ No newline at end of file +# frozen_string_literal: true + +# Don't allow downloaded files to be created as tempfiles. Force storage in memory using StringIO. +require 'open-uri' +OpenURI::Buffer.send :remove_const, 'StringMax' if OpenURI::Buffer.const_defined?('StringMax') +OpenURI::Buffer.const_set 'StringMax', 104_857_600 diff --git a/config/initializers/passenger_memcache_reset.rb b/config/initializers/passenger_memcache_reset.rb index a69516ce23..ec3ad05334 100644 --- a/config/initializers/passenger_memcache_reset.rb +++ b/config/initializers/passenger_memcache_reset.rb @@ -1,12 +1,14 @@ - begin - PhusionPassenger.on_event(:starting_worker_process) do |forked| - if forked - # We're in smart spawning mode, so... - # Close duplicated memcached connections - they will open themselves - cache = Rails.cache.instance_variable_get("@data") - cache.reset if cache && cache.respond_to?(:reset) - end - end - rescue NameError - # In case you're not running under Passenger (i.e. devmode with mongrel) - end \ No newline at end of file +# frozen_string_literal: true + +begin + PhusionPassenger.on_event(:starting_worker_process) do |forked| + if forked + # We're in smart spawning mode, so... + # Close duplicated memcached connections - they will open themselves + cache = Rails.cache.instance_variable_get('@data') + cache.reset if cache.respond_to?(:reset) + end + end +rescue NameError + # In case you're not running under Passenger (i.e. devmode with mongrel) +end diff --git a/config/initializers/permissions_policy.rb b/config/initializers/permissions_policy.rb index 00f64d71b0..50bcf4eade 100644 --- a/config/initializers/permissions_policy.rb +++ b/config/initializers/permissions_policy.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # Define an application-wide HTTP permissions policy. For further # information see https://developers.google.com/web/updates/2018/06/feature-policy # diff --git a/config/initializers/recaptcha.rb b/config/initializers/recaptcha.rb index ae2bcc95cf..f847577c1b 100644 --- a/config/initializers/recaptcha.rb +++ b/config/initializers/recaptcha.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + if ENV['USE_RECAPTCHA'].present? && ENV['USE_RECAPTCHA'] == 'true' Recaptcha.configure do |config| config.site_key = Rails.application.credentials.recaptcha[:site_key] diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb index 1a4686867d..af5bbb34ee 100644 --- a/config/initializers/session_store.rb +++ b/config/initializers/session_store.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # Be sure to restart your server when you modify this file. # BioportalWebUi::Application.config.session_store :cookie_store, key: '_bioportal_web_ui_session' diff --git a/config/initializers/sigtrap.rb b/config/initializers/sigtrap.rb index 70f601e846..755080a620 100644 --- a/config/initializers/sigtrap.rb +++ b/config/initializers/sigtrap.rb @@ -1,7 +1,9 @@ +# frozen_string_literal: true + # Run `kill -TTIN {pid}` to get backtraces for a running process trap 'TTIN' do Thread.list.each do |thread| puts "Thread TID-#{thread.object_id.to_s(36)}" - puts thread.backtrace.join("n") + puts thread.backtrace.join('n') end end diff --git a/config/initializers/wrap_parameters.rb b/config/initializers/wrap_parameters.rb index bbfc3961bf..2f3c0db471 100644 --- a/config/initializers/wrap_parameters.rb +++ b/config/initializers/wrap_parameters.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # Be sure to restart your server when you modify this file. # This file contains settings for ActionController::ParamsWrapper which diff --git a/config/initializers/zeitwerk.rb b/config/initializers/zeitwerk.rb new file mode 100644 index 0000000000..edc750f48a --- /dev/null +++ b/config/initializers/zeitwerk.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +Rails.autoloaders.each do |autoloader| + autoloader.inflector = Zeitwerk::Inflector.new + autoloader.inflector.inflect( + 'kgcl' => 'KGCL' + ) +end diff --git a/config/puma.rb b/config/puma.rb index 1e19380dcb..ea3ca621c5 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -1,19 +1,21 @@ +# frozen_string_literal: true + # Puma can serve each request in a thread from an internal thread pool. # The `threads` method setting takes two numbers: a minimum and maximum. # Any libraries that use thread pools should be configured to match # the maximum value specified for Puma. Default is set to 5 threads for minimum # and maximum; this matches the default thread size of Active Record. # -threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 } +threads_count = ENV.fetch('RAILS_MAX_THREADS', 5) threads threads_count, threads_count # Specifies the `port` that Puma will listen on to receive requests; default is 3000. # -port ENV.fetch("PORT") { 3000 } +port ENV.fetch('PORT', 3000) # Specifies the `environment` that Puma will run in. # -environment ENV.fetch("RAILS_ENV") { "development" } +environment ENV.fetch('RAILS_ENV', 'development') # Specifies the number of `workers` to boot in clustered mode. # Workers are forked webserver processes. If using threads and workers together diff --git a/config/routes.rb b/config/routes.rb index 8e706eba1d..7d0e84c679 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,5 +1,6 @@ -Rails.application.routes.draw do +# frozen_string_literal: true +Rails.application.routes.draw do root to: 'home#index' get 'auth/:provider/callback', to: 'login#create_omniauth' @@ -16,16 +17,16 @@ post :save_new_term_instructions, on: :collection end - resources :projects, constraints: { id: /[^\/]+/ } + resources :projects, constraints: { id: %r{[^/]+} } - resources :users, path: :accounts, constraints: { id: /[\d\w\.\-\%\+ ]+/ } + resources :users, path: :accounts, constraints: { id: /[\d\w.\-%+ ]+/ } resources :reviews get '/users/subscribe/:username', to: 'users#subscribe' get '/users/un-subscribe/:email', to: 'users#un_subscribe' - get '/mappings/loader' , to: 'mappings#loader' + get '/mappings/loader', to: 'mappings#loader' post '/mappings/loader', to: 'mappings#loader_process' get 'mappings/count/:id', to: 'mappings#count', constraints: { id: /.+/ } get 'mappings/show_mappings', to: 'mappings#show_mappings' @@ -42,11 +43,11 @@ get 'ontologies/:ontology_id/concepts', to: 'concepts#show_concept' resources :ontologies do - resources :submissions do + resources :submissions do get 'edit_properties' - end + end - get 'instances/:instance_id', to: 'instances#show', constraints: { instance_id: /[^\/?]+/ } + get 'instances/:instance_id', to: 'instances#show', constraints: { instance_id: %r{[^/?]+} } get 'schemes/show_scheme', to: 'schemes#show' get 'collections/show' get 'metrics_evolution' @@ -57,9 +58,9 @@ resources :admin, only: [:index] namespace :admin do - resources :licenses, only: [:index, :create, :new] - resources :groups, only: [:index, :create, :new, :edit, :update, :destroy] - resources :categories, only: [:index, :create, :new, :edit, :update, :destroy] + resources :licenses, only: %i[index create new] + resources :groups, only: %i[index create new edit update destroy] + resources :categories, only: %i[index create new edit update destroy] end resources :subscriptions @@ -82,47 +83,48 @@ post '/result', to: 'ontologies_metadata_curator#result' post '/edit', to: 'ontologies_metadata_curator#edit' put '/update', to: 'ontologies_metadata_curator#update' - get '/:ontology/submissions/:submission_id/attributes/:attribute', to: 'ontologies_metadata_curator#show_metadata_value' + get '/:ontology/submissions/:submission_id/attributes/:attribute', + to: 'ontologies_metadata_curator#show_metadata_value' get '/:ontology/submissions/:submission_id', to: 'ontologies_metadata_curator#show_metadata_by_ontology' end - + get '' => 'home#index' # Top-level pages - match '/feedback', to: 'home#feedback', via: [:get, :post] + match '/feedback', to: 'home#feedback', via: %i[get post] get '/account' => 'home#account' get '/site_config' => 'home#site_config' get '/validate_ontology_file' => 'home#validate_ontology_file_show' post '/annotator_recommender_form' => 'home#annotator_recommender_form' - match '/validate_ontology_file' => 'home#validate_ontology_file', via: [:get, :post] + match '/validate_ontology_file' => 'home#validate_ontology_file', via: %i[get post] get '/layout_partial/:partial' => 'home#render_layout_partial' match '/visits', to: 'visits#index', via: :get # Error pages - match "/404", to: "errors#not_found", via: :all - match "/500", to: "errors#internal_server_error", via: :all + match '/404', to: 'errors#not_found', via: :all + match '/500', to: 'errors#internal_server_error', via: :all # Analytics - match 'analytics', to: 'analytics#track', via: [:post] - + match 'analytics', to: 'analytics#track', via: [:post] + # Robots.txt get '/robots.txt' => 'robots#index' # Ontologies - get '/ontologies/view/edit/:id' => 'ontologies#edit_view', :constraints => { id: /[^\/?]+/ } + get '/ontologies/view/edit/:id' => 'ontologies#edit_view', :constraints => { id: %r{[^/?]+} } get '/ontologies/view/new/:id' => 'ontologies#new_view' - + get '/ontologies/virtual/:ontology' => 'ontologies#virtual', :as => :ontology_virtual get '/ontologies/success/:id' => 'ontologies#submit_success' - match '/ontologies/:acronym' => 'ontologies#update', via: [:get, :post] - match '/ontologies/:acronym/submissions/:id' => 'submissions#update', via: [:get, :post] + match '/ontologies/:acronym' => 'ontologies#update', via: %i[get post] + match '/ontologies/:acronym/submissions/:id' => 'submissions#update', via: %i[get post] get '/ontologies/:ontology_id/submissions/new' => 'submissions#new', :ontology_id => /.+/ match '/ontologies/:ontology_id/submissions' => 'submissions#create', :ontology_id => /.+/, via: [:post] match '/ontologies/:ontology_id/submissions' => 'submissions#index', :ontology_id => /.+/, via: [:get] - get '/ontologies/:acronym/classes/:purl_conceptid', to: 'ontologies#show', constraints: { purl_conceptid: /[^\/]+/ } - get '/ontologies/:acronym/: f', to: 'ontologies#show', constraints: { purl_conceptid: /[^\/]+/ } - match '/ontologies/:acronym/submissions/:id/edit_metadata' => 'submissions#edit_metadata', via: [:get, :post] - get '/ontologies_filter', to: 'ontologies#ontologies_filter' + get '/ontologies/:acronym/classes/:purl_conceptid', to: 'ontologies#show', constraints: { purl_conceptid: %r{[^/]+} } + get '/ontologies/:acronym/: f', to: 'ontologies#show', constraints: { purl_conceptid: %r{[^/]+} } + match '/ontologies/:acronym/submissions/:id/edit_metadata' => 'submissions#edit_metadata', via: %i[get post] + get '/ontologies_filter', to: 'ontologies#ontologies_filter' # Analytics get '/analytics/:action' => 'analytics#(?-mix:search_result_clicked|user_intention_surveys)' @@ -133,7 +135,7 @@ # Ajax get '/ajax/' => 'ajax_proxy#get', :as => :ajax - get '/ajax_concepts/:ontology/' => 'concepts#show', :constraints => { id: /[^\/?]+/ } + get '/ajax_concepts/:ontology/' => 'concepts#show', :constraints => { id: %r{[^/?]+} } get '/ajax/class_details' => 'concepts#details' get '/ajax/mappings/get_concept_table' => 'mappings#get_concept_table' get '/ajax/json_ontology' => 'ajax_proxy#json_ontology' @@ -148,19 +150,20 @@ get '/ajax/classes/list' => 'collections#show_members' get '/ajax/classes/date_sorted_list' => 'concepts#show_date_sorted_list' get '/ajax/properties/tree' => 'concepts#property_tree' - get 'ajax/schemes/label', to: "schemes#show_label" - get 'ajax/collections/label', to: "collections#show_label" - get 'ajax/label_xl/label', to: "label_xl#show_label" - get 'ajax/label_xl', to: "label_xl#show" + get 'ajax/schemes/label', to: 'schemes#show_label' + get 'ajax/collections/label', to: 'collections#show_label' + get 'ajax/label_xl/label', to: 'label_xl#show_label' + get 'ajax/label_xl', to: 'label_xl#show' get '/ajax/biomixer' => 'concepts#biomixer' get '/ajax/fair_score/html' => 'fair_score#details_html' get '/ajax/submission/show_additional_metadata/:id' => 'ontologies#show_additional_metadata' get '/ajax/submission/show_licenses/:id' => 'ontologies#show_licenses' get '/ajax/fair_score/json' => 'fair_score#details_json' get '/ajax/:ontology/instances' => 'instances#index_by_ontology' - get '/ajax/:ontology/classes/:conceptid/instances' => 'instances#index_by_class', :constraints => { conceptid: /[^\/?]+/ } - get '/ajax/ontologies' , to:"ontologies#ajax_ontologies" - get '/ajax/agents' , to:"agents#ajax_agents" + get '/ajax/:ontology/classes/:conceptid/instances' => 'instances#index_by_class', + :constraints => { conceptid: %r{[^/?]+} } + get '/ajax/ontologies', to: 'ontologies#ajax_ontologies' + get '/ajax/agents', to: 'agents#ajax_agents' get '/ajax/images/show' => 'application#show_image_modal' # User get '/logout' => 'login#destroy', :as => :logout @@ -168,7 +171,7 @@ get '/lost_pass_success' => 'login#lost_password_success' get '/reset_password' => 'login#reset_password' post '/accounts/:id/custom_ontologies' => 'users#custom_ontologies', :as => :custom_ontologies - get '/login_as/:login_as' => 'login#login_as' , constraints: { login_as: /[\d\w\.\-\%\+ ]+/ } + get '/login_as/:login_as' => 'login#login_as', constraints: { login_as: /[\d\w.\-%+ ]+/ } post '/login/send_pass', to: 'login#send_pass' # History @@ -216,12 +219,13 @@ get '/ajax/json_term' => 'redirect#index', :url => '/ajax/json_class' # Visualize - get '/visualize/:ontology' => 'ontologies#visualize', :as => :visualize, :constraints => { ontology: /[^\/?]+/ } - get '/visualize/:ontology/:conceptid' => 'ontologies#visualize', :as => :uri, :constraints => { ontology: /[^\/?]+/, conceptid: /[^\/?]+/ } - get '/visualize' => 'ontologies#visualize', :as => :visualize_concept, :constraints => { ontology: /[^\/?]+/, id: /[^\/?]+/, ontologyid: /[^\/?]+/, conceptid: /[^\/?]+/ } + get '/visualize/:ontology' => 'ontologies#visualize', :as => :visualize, :constraints => { ontology: %r{[^/?]+} } + get '/visualize/:ontology/:conceptid' => 'ontologies#visualize', :as => :uri, + :constraints => { ontology: %r{[^/?]+}, conceptid: %r{[^/?]+} } + get '/visualize' => 'ontologies#visualize', :as => :visualize_concept, + :constraints => { ontology: %r{[^/?]+}, id: %r{[^/?]+}, ontologyid: %r{[^/?]+}, conceptid: %r{[^/?]+} } get '/exhibit/:ontology/:id' => 'concepts#exhibit' - mount Lookbook::Engine, at: "/lookbook" - + mount Lookbook::Engine, at: '/lookbook' end diff --git a/config/spring.rb b/config/spring.rb index c9119b40c0..c5933e491b 100644 --- a/config/spring.rb +++ b/config/spring.rb @@ -1,6 +1,8 @@ -%w( +# frozen_string_literal: true + +%w[ .ruby-version .rbenv-vars tmp/restart.txt tmp/caching-dev.txt -).each { |path| Spring.watch(path) } +].each { |path| Spring.watch(path) } diff --git a/db/migrate/20120114000857_create_virtual_appliance_users.rb b/db/migrate/20120114000857_create_virtual_appliance_users.rb index 06f8e1aaf0..d929ec2fb3 100644 --- a/db/migrate/20120114000857_create_virtual_appliance_users.rb +++ b/db/migrate/20120114000857_create_virtual_appliance_users.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class CreateVirtualApplianceUsers < ActiveRecord::Migration[4.2] def self.up create_table :virtual_appliance_users do |t| diff --git a/db/migrate/20120223203256_create_timeouts_table.rb b/db/migrate/20120223203256_create_timeouts_table.rb index 22dfbb3e66..894027c6e7 100644 --- a/db/migrate/20120223203256_create_timeouts_table.rb +++ b/db/migrate/20120223203256_create_timeouts_table.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class CreateTimeoutsTable < ActiveRecord::Migration[4.2] def self.up create_table :timeouts do |t| diff --git a/db/migrate/20120719010735_create_analytics.rb b/db/migrate/20120719010735_create_analytics.rb index 0a026e6c67..0d9842c3aa 100644 --- a/db/migrate/20120719010735_create_analytics.rb +++ b/db/migrate/20120719010735_create_analytics.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class CreateAnalytics < ActiveRecord::Migration[4.2] def self.up create_table :analytics do |t| diff --git a/db/migrate/20130930214323_change_virtual_appliance_user_id_type.rb b/db/migrate/20130930214323_change_virtual_appliance_user_id_type.rb index cce4c2955c..43b5c5813c 100644 --- a/db/migrate/20130930214323_change_virtual_appliance_user_id_type.rb +++ b/db/migrate/20130930214323_change_virtual_appliance_user_id_type.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class ChangeVirtualApplianceUserIdType < ActiveRecord::Migration[4.2] def self.up change_column :virtual_appliance_users, :user_id, :string diff --git a/db/migrate/20140306012927_drop_old_tables.rb b/db/migrate/20140306012927_drop_old_tables.rb index 692613e4f0..a2c5188936 100644 --- a/db/migrate/20140306012927_drop_old_tables.rb +++ b/db/migrate/20140306012927_drop_old_tables.rb @@ -1,25 +1,29 @@ +# frozen_string_literal: true + class DropOldTables < ActiveRecord::Migration[4.2] def self.up - old_tables = [ - :custom_ontologies, - :event_items, - :groups, - :mapping_import_errors, - :mappings, - :margin_notes, - :notes, - :notes_indices, - :projects, - :rating_types, - :ratings, - :reviews, - :surveys, - :users, - :uses, - :widget_logs + old_tables = %i[ + custom_ontologies + event_items + groups + mapping_import_errors + mappings + margin_notes + notes + notes_indices + projects + rating_types + ratings + reviews + surveys + users + uses + widget_logs ] old_tables.each do |table| - drop_table table rescue next + drop_table table + rescue StandardError + next end end diff --git a/db/migrate/20150806211835_change_slice_column_name.rb b/db/migrate/20150806211835_change_slice_column_name.rb index 65447a6aa6..202755118d 100644 --- a/db/migrate/20150806211835_change_slice_column_name.rb +++ b/db/migrate/20150806211835_change_slice_column_name.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class ChangeSliceColumnName < ActiveRecord::Migration[4.2] def change rename_column :analytics, :slice, :bp_slice diff --git a/db/migrate/20200220191815_create_licenses.rb b/db/migrate/20200220191815_create_licenses.rb index 82d29bdf0f..fec50092fd 100644 --- a/db/migrate/20200220191815_create_licenses.rb +++ b/db/migrate/20200220191815_create_licenses.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class CreateLicenses < ActiveRecord::Migration[5.1] def change create_table :licenses do |t| diff --git a/db/migrate/20200921120918_create_ontologies.rb b/db/migrate/20200921120918_create_ontologies.rb index d372192308..80409405a6 100644 --- a/db/migrate/20200921120918_create_ontologies.rb +++ b/db/migrate/20200921120918_create_ontologies.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class CreateOntologies < ActiveRecord::Migration[5.1] def change create_table :ontologies do |t| diff --git a/db/schema.rb b/db/schema.rb index 22dc2b318a..d315a8b976 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. @@ -10,45 +12,45 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.0].define(version: 2020_09_21_120918) do - create_table "analytics", id: :integer, charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t| - t.string "segment" - t.string "action" - t.string "bp_slice" - t.string "ip" - t.integer "user" - t.text "params" - t.datetime "created_at", precision: nil - t.datetime "updated_at", precision: nil +ActiveRecord::Schema[7.0].define(version: 20_200_921_120_918) do + create_table 'analytics', id: :integer, charset: 'utf8mb4', collation: 'utf8mb4_0900_ai_ci', force: :cascade do |t| + t.string 'segment' + t.string 'action' + t.string 'bp_slice' + t.string 'ip' + t.integer 'user' + t.text 'params' + t.datetime 'created_at', precision: nil + t.datetime 'updated_at', precision: nil end - create_table "licenses", charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t| - t.text "encrypted_key" - t.datetime "created_at", precision: nil, null: false - t.datetime "updated_at", precision: nil, null: false + create_table 'licenses', charset: 'utf8mb4', collation: 'utf8mb4_0900_ai_ci', force: :cascade do |t| + t.text 'encrypted_key' + t.datetime 'created_at', precision: nil, null: false + t.datetime 'updated_at', precision: nil, null: false end - create_table "ontologies", charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t| - t.string "acronym", null: false - t.text "new_term_instructions" - t.text "custom_message" - t.datetime "created_at", precision: nil, null: false - t.datetime "updated_at", precision: nil, null: false - t.index ["acronym"], name: "index_ontologies_on_acronym", unique: true + create_table 'ontologies', charset: 'utf8mb4', collation: 'utf8mb4_0900_ai_ci', force: :cascade do |t| + t.string 'acronym', null: false + t.text 'new_term_instructions' + t.text 'custom_message' + t.datetime 'created_at', precision: nil, null: false + t.datetime 'updated_at', precision: nil, null: false + t.index ['acronym'], name: 'index_ontologies_on_acronym', unique: true end - create_table "timeouts", id: :integer, charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t| - t.string "path" - t.integer "ontology_id" - t.text "concept_id" - t.text "params" - t.timestamp "created" + create_table 'timeouts', id: :integer, charset: 'utf8mb4', collation: 'utf8mb4_0900_ai_ci', force: :cascade do |t| + t.string 'path' + t.integer 'ontology_id' + t.text 'concept_id' + t.text 'params' + t.timestamp 'created' end - create_table "virtual_appliance_users", id: :integer, charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t| - t.string "user_id" - t.datetime "created_at", precision: nil - t.datetime "updated_at", precision: nil + create_table 'virtual_appliance_users', id: :integer, charset: 'utf8mb4', collation: 'utf8mb4_0900_ai_ci', + force: :cascade do |t| + t.string 'user_id' + t.datetime 'created_at', precision: nil + t.datetime 'updated_at', precision: nil end - end diff --git a/db/seeds.rb b/db/seeds.rb index 4edb1e857e..c8774b7376 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). # diff --git a/docker-compose.yml b/docker-compose.yml index 38be0278fb..f8f8ecd249 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,7 @@ x-app: &default-app tty: true volumes: - "${DOCKER_WEB_VOLUME}" - - bundle:/usr/local/bundle + - bundle:/usr/local/bundle - node:/node_modules services: @@ -26,7 +26,7 @@ services: environment: MYSQL_ROOT_PASSWORD: 'bp_user' image: "mysql:latest" - profiles: ["db"] + profiles: [ "cache-db", "db", "web", "test" ] ports: - "3306:3306" volumes: @@ -38,14 +38,28 @@ services: cpus: "${DOCKER_REDIS_CPUS:-0}" memory: "${DOCKER_REDIS_MEMORY:-0}" image: "memcached:1.6.17-bullseye" - profiles: ["cache"] + profiles: [ "cache-db", "cache", "web", "test" ] - web: + yarn: <<: *default-app ports: - "${DOCKER_WEB_PORT_FORWARD:-127.0.0.1:3000}:${PORT:-3000}" - profiles: ["web"] + profiles: [ "web" ] command: "yarn build --watch" + + web: + <<: *default-app + environment: + API_URL: ${API_URL} + API_KEY: ${API_KEY} + BIOMIXER_URL: ${BIOMIXER_URL} + FAIRNESS_URL: ${FAIRNESS_URL} + ANNOTATOR_URL: ${ANNOTATOR_URL} + BUNDLE_PATH: /usr/local/bundle + ports: + - "${DOCKER_WEB_PORT_FORWARD:-127.0.0.1:3000}:${PORT:-3000}" + profiles: [ "test" ] + command: RAILS_ENV=test bin/rails s volumes: db-v: bundle: diff --git a/eslint-output.json b/eslint-output.json new file mode 100644 index 0000000000..14d8978c8b --- /dev/null +++ b/eslint-output.json @@ -0,0 +1 @@ +[{"filePath":"/Users/bouazzouni/Work/ontoportal_projects/bioportal_web_ui/app/assets/builds/application_esbuild.js","messages":[{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2,"endColumn":32,"fix":{"range":[11,14],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2,"endColumn":32,"fix":{"range":[33,46],"text":"create\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3,"endColumn":41,"fix":{"range":[43,46],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3,"column":40,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3,"endColumn":41,"fix":{"range":[66,87],"text":"defineProperty\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4,"endColumn":58,"fix":{"range":[84,87],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4,"column":57,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4,"endColumn":58,"fix":{"range":[114,145],"text":"getOwnPropertyDescriptor\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5,"endColumn":54,"fix":{"range":[142,145],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5,"column":53,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5,"endColumn":54,"fix":{"range":[173,199],"text":"getOwnPropertyNames\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6,"endColumn":44,"fix":{"range":[196,199],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6,"column":43,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6,"endColumn":44,"fix":{"range":[222,243],"text":"getPrototypeOf\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7,"endColumn":54,"fix":{"range":[240,243],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7,"column":53,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7,"endColumn":54,"fix":{"range":[276,297],"text":"hasOwnProperty\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":8,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":8,"endColumn":163,"fix":{"range":[294,297],"text":"let"}},{"ruleId":"no-return-assign","severity":2,"message":"Arrow function should not return assignment.","line":8,"column":25,"nodeType":"ArrowFunctionExpression","messageId":"arrowAssignment","endLine":8,"endColumn":162},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":8,"column":162,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":8,"endColumn":163,"fix":{"range":[448,460],"text":"value\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":9,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":11,"endColumn":5,"fix":{"range":[457,460],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":9,"column":44,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":9,"endColumn":45,"fix":{"range":[498,498],"text":" "}},{"ruleId":"no-sequences","severity":2,"message":"Unexpected use of comma operator.","line":10,"column":71,"nodeType":"SequenceExpression","messageId":"unexpectedCommaExpression","endLine":10,"endColumn":72},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":10,"column":76,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":10,"endColumn":77,"fix":{"range":[575,583],"text":"res\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":11,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":11,"endColumn":5,"fix":{"range":[582,590],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":12,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":14,"endColumn":5,"fix":{"range":[587,590],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":12,"column":52,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":12,"endColumn":53,"fix":{"range":[636,636],"text":" "}},{"ruleId":"no-sequences","severity":2,"message":"Unexpected use of comma operator.","line":13,"column":92,"nodeType":"SequenceExpression","messageId":"unexpectedCommaExpression","endLine":13,"endColumn":93},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":13,"column":105,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":13,"endColumn":106,"fix":{"range":[738,750],"text":"exports\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":14,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":14,"endColumn":5,"fix":{"range":[749,757],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":15,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":18,"endColumn":5,"fix":{"range":[754,757],"text":"let"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":16,"column":10,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":16,"endColumn":18,"fix":{"range":[797,800],"text":"let"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'for-in'.","line":17,"column":7,"nodeType":"ForInStatement","messageId":"missingCurlyAfter","endLine":17,"endColumn":69,"fix":{"range":[820,882],"text":"{__defProp(target, name, { get: all[name], enumerable: true });}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":17,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":17,"endColumn":69,"fix":{"range":[880,886],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":18,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":18,"endColumn":5,"fix":{"range":[885,893],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":19,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":26,"endColumn":5,"fix":{"range":[890,893],"text":"let"}},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations.","line":20,"column":14,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":20,"endColumn":16},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":20,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":20,"endColumn":41,"fix":{"range":[971,979],"text":"'object'"}},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations.","line":20,"column":42,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":20,"endColumn":44},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":20,"column":61,"nodeType":"Literal","messageId":"wrongQuotes","endLine":20,"endColumn":71,"fix":{"range":[999,1009],"text":"'function'"}},{"ruleId":"prefer-const","severity":2,"message":"'key' is never reassigned. Use 'const' instead.","line":21,"column":16,"nodeType":"Identifier","messageId":"useConst","endLine":21,"endColumn":19,"fix":{"range":[1024,1031],"text":"const key"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'for-of'.","line":22,"column":9,"nodeType":"ForOfStatement","messageId":"missingCurlyAfter","endLine":23,"endColumn":127,"fix":{"range":[1068,1246],"text":"{if (!__hasOwnProp.call(to2, key) && key !== except)\n __defProp(to2, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });}"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":23,"column":11,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":23,"endColumn":127,"fix":{"range":[1130,1246],"text":"{__defProp(to2, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":23,"column":126,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":23,"endColumn":127,"fix":{"range":[1244,1252],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":25,"column":15,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":25,"endColumn":16,"fix":{"range":[1264,1272],"text":"to2\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":26,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":26,"endColumn":5,"fix":{"range":[1271,1279],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":27,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":27,"endColumn":235,"fix":{"range":[1276,1279],"text":"let"}},{"ruleId":"no-return-assign","severity":2,"message":"Arrow function should not return assignment.","line":27,"column":17,"nodeType":"ArrowFunctionExpression","messageId":"arrowAssignment","endLine":27,"endColumn":234},{"ruleId":"no-sequences","severity":2,"message":"Unexpected use of comma operator.","line":27,"column":102,"nodeType":"SequenceExpression","messageId":"unexpectedCommaExpression","endLine":27,"endColumn":103},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":27,"column":174,"nodeType":"Literal","messageId":"wrongQuotes","endLine":27,"endColumn":183,"fix":{"range":[1447,1456],"text":"'default'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":27,"column":234,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":27,"endColumn":235,"fix":{"range":[1506,1514],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":28,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":31,"endColumn":5,"fix":{"range":[1511,1514],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":29,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":29,"endColumn":49,"fix":{"range":[1594,1602],"text":"'symbol'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":29,"column":58,"nodeType":"Literal","messageId":"wrongQuotes","endLine":29,"endColumn":60,"fix":{"range":[1611,1613],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":29,"column":74,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":29,"endColumn":75,"fix":{"range":[1626,1639],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":30,"column":17,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":30,"endColumn":18,"fix":{"range":[1640,1650],"text":"value\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":31,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":31,"endColumn":5,"fix":{"range":[1649,1657],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":32,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":35,"endColumn":5,"fix":{"range":[1654,1657],"text":"let"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":34,"column":7,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":34,"endColumn":40,"fix":{"range":[1730,1763],"text":"{throw TypeError(\"Cannot \" + msg);}"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":34,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":34,"endColumn":32,"fix":{"range":[1746,1755],"text":"'Cannot '"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":34,"column":39,"nodeType":"ThrowStatement","messageId":"extraSemi","endLine":34,"endColumn":40,"fix":{"range":[1761,1767],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":35,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":35,"endColumn":5,"fix":{"range":[1766,1774],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":36,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":40,"endColumn":5,"fix":{"range":[1771,1774],"text":"let"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":38,"column":7,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":38,"endColumn":76,"fix":{"range":[1847,1916],"text":"{throw TypeError(\"Cannot add the same private member more than once\");}"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":38,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":38,"endColumn":74,"fix":{"range":[1863,1914],"text":"'Cannot add the same private member more than once'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":38,"column":75,"nodeType":"ThrowStatement","messageId":"extraSemi","endLine":38,"endColumn":76,"fix":{"range":[1914,1927],"text":")\n member"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":39,"column":73,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":39,"endColumn":74,"fix":{"range":[1988,1994],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":40,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":40,"endColumn":5,"fix":{"range":[1993,2001],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":41,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":44,"endColumn":5,"fix":{"range":[1998,2001],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":42,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":42,"endColumn":55,"fix":{"range":[2078,2101],"text":"'access private method'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":42,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":42,"endColumn":57,"fix":{"range":[2101,2114],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":43,"column":18,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":43,"endColumn":19,"fix":{"range":[2115,2126],"text":"method\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":44,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":44,"endColumn":5,"fix":{"range":[2125,2187],"text":"}\n\n // node_modules/@rails/actioncable/src/adapters.js\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":47,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":47,"endColumn":24,"fix":{"range":[2184,2187],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'adapters_default' is not in camel case.","line":47,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":47,"endColumn":23},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":47,"column":23,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":47,"endColumn":24,"fix":{"range":[2188,2211],"text":"adapters_default\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":48,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":55,"endColumn":6,"fix":{"range":[2208,2211],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'init_adapters' is not in camel case.","line":48,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":48,"endColumn":20},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":49,"column":5,"nodeType":"Literal","messageId":"wrongQuotes","endLine":49,"endColumn":54,"fix":{"range":[2240,2289],"text":"'node_modules/@rails/actioncable/src/adapters.js'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":49,"column":54,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":49,"endColumn":55,"fix":{"range":[2289,2289],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'adapters_default' is not in camel case.","line":50,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":50,"endColumn":23},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":53,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":53,"endColumn":9,"fix":{"range":[2391,2399],"text":"}\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":55,"column":5,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":55,"endColumn":6,"fix":{"range":[2403,2463],"text":")\n\n // node_modules/@rails/actioncable/src/logger.js\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":58,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":58,"endColumn":22,"fix":{"range":[2460,2463],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":58,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":58,"endColumn":21},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":58,"column":21,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":58,"endColumn":22,"fix":{"range":[2464,2485],"text":"logger_default\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":59,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":71,"endColumn":6,"fix":{"range":[2482,2485],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'init_logger' is not in camel case.","line":59,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":59,"endColumn":18},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":60,"column":5,"nodeType":"Literal","messageId":"wrongQuotes","endLine":60,"endColumn":52,"fix":{"range":[2512,2559],"text":"'node_modules/@rails/actioncable/src/logger.js'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":60,"column":52,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":60,"endColumn":53,"fix":{"range":[2559,2559],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":61,"column":22,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":61,"endColumn":23,"fix":{"range":[2584,2607],"text":")\n logger_default"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":62,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":62,"endColumn":21},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":63,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":63,"endColumn":13,"fix":{"range":[2623,2623],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":65,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":65,"endColumn":39,"fix":{"range":[2705,2736],"text":")\n adapters_default"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'adapters_default' is not in camel case.","line":66,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":66,"endColumn":29},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":66,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":66,"endColumn":56,"fix":{"range":[2748,2763],"text":"'[ActionCable]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":66,"column":70,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":66,"endColumn":71,"fix":{"range":[2776,2790],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":69,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":69,"endColumn":9,"fix":{"range":[2807,2815],"text":"}\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":71,"column":5,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":71,"endColumn":6,"fix":{"range":[2819,2891],"text":")\n\n // node_modules/@rails/actioncable/src/connection_monitor.js\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":74,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":74,"endColumn":72,"fix":{"range":[2888,2891],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'connection_monitor_default' is not in camel case.","line":74,"column":45,"nodeType":"Identifier","messageId":"notCamelCase","endLine":74,"endColumn":71},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":74,"column":71,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":74,"endColumn":72,"fix":{"range":[2930,2963],"text":"connection_monitor_default\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":75,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":175,"endColumn":6,"fix":{"range":[2960,2963],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'init_connection_monitor' is not in camel case.","line":75,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":75,"endColumn":30},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":76,"column":5,"nodeType":"Literal","messageId":"wrongQuotes","endLine":76,"endColumn":64,"fix":{"range":[3002,3061],"text":"'node_modules/@rails/actioncable/src/connection_monitor.js'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":76,"column":64,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":76,"endColumn":65,"fix":{"range":[3061,3061],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":77,"column":20,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":77,"endColumn":21,"fix":{"range":[3084,3096],"text":")\n now"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":78,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":78,"endColumn":40,"fix":{"range":[3124,3145],"text":")\n secondsSince"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":79,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":79,"endColumn":53,"fix":{"range":[3175,3203],"text":"1e3\n ConnectionMonitor"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":81,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":81,"endColumn":21,"fix":{"range":[3233,3233],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":82,"column":73,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":82,"endColumn":74,"fix":{"range":[3319,3336],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":83,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":83,"endColumn":40,"fix":{"range":[3350,3376],"text":"connection\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":84,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":84,"endColumn":38,"fix":{"range":[3397,3409],"text":"0\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":86,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":94,"endColumn":10,"fix":{"range":[3409,3409],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":86,"column":14,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":86,"endColumn":15,"fix":{"range":[3423,3423],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":88,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":88,"endColumn":36,"fix":{"range":[3496,3517],"text":")\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":89,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":89,"endColumn":35,"fix":{"range":[3523,3550],"text":"stoppedAt\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":90,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":90,"endColumn":33,"fix":{"range":[3564,3595],"text":")\n addEventListener"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":91,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":91,"endColumn":48,"fix":{"range":[3596,3614],"text":"'visibilitychange'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":91,"column":75,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":91,"endColumn":76,"fix":{"range":[3640,3669],"text":")\n logger_default"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":92,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":92,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":92,"column":116,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":92,"endColumn":117,"fix":{"range":[3757,3771],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":95,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":102,"endColumn":10,"fix":{"range":[3781,3781],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":95,"column":13,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":95,"endColumn":14,"fix":{"range":[3794,3794],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":97,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":97,"endColumn":36,"fix":{"range":[3866,3885],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":98,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":98,"endColumn":32,"fix":{"range":[3898,3932],"text":")\n removeEventListener"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":99,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":99,"endColumn":51,"fix":{"range":[3933,3951],"text":"'visibilitychange'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":99,"column":78,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":99,"endColumn":79,"fix":{"range":[3977,4006],"text":")\n logger_default"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":100,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":100,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":100,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":100,"endColumn":59,"fix":{"range":[4011,4038],"text":"'ConnectionMonitor stopped'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":100,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":100,"endColumn":61,"fix":{"range":[4038,4052],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":103,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":105,"endColumn":10,"fix":{"range":[4062,4062],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":103,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":103,"endColumn":19,"fix":{"range":[4080,4080],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":104,"column":51,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":104,"endColumn":52,"fix":{"range":[4126,4146],"text":"stoppedAt\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":106,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":108,"endColumn":10,"fix":{"range":[4146,4146],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":106,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":106,"endColumn":20,"fix":{"range":[4165,4165],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":107,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":107,"endColumn":33,"fix":{"range":[4200,4212],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":109,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":114,"endColumn":10,"fix":{"range":[4212,4212],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":109,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":109,"endColumn":23,"fix":{"range":[4234,4234],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":110,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":110,"endColumn":38,"fix":{"range":[4274,4291],"text":"0\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":111,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":111,"endColumn":29,"fix":{"range":[4303,4322],"text":")\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":112,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":112,"endColumn":38,"fix":{"range":[4328,4368],"text":"disconnectedAt\n logger_default"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":113,"column":11,"nodeType":"Identifier","messageId":"notCamelCase","endLine":113,"endColumn":25},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":113,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":113,"endColumn":66,"fix":{"range":[4373,4409],"text":"'ConnectionMonitor recorded connect'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":113,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":113,"endColumn":68,"fix":{"range":[4409,4421],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":115,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":118,"endColumn":10,"fix":{"range":[4421,4421],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":115,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":115,"endColumn":26,"fix":{"range":[4446,4446],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":116,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":116,"endColumn":39,"fix":{"range":[4487,4514],"text":")\n logger_default"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":117,"column":11,"nodeType":"Identifier","messageId":"notCamelCase","endLine":117,"endColumn":25},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":117,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":117,"endColumn":69,"fix":{"range":[4519,4558],"text":"'ConnectionMonitor recorded disconnect'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":117,"column":70,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":117,"endColumn":71,"fix":{"range":[4558,4570],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":119,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":122,"endColumn":10,"fix":{"range":[4570,4570],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":119,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":119,"endColumn":22,"fix":{"range":[4591,4591],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":120,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":120,"endColumn":30,"fix":{"range":[4623,4640],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":121,"column":22,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":121,"endColumn":23,"fix":{"range":[4646,4658],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":123,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":125,"endColumn":10,"fix":{"range":[4658,4658],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":123,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":123,"endColumn":21,"fix":{"range":[4678,4678],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":124,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":124,"endColumn":42,"fix":{"range":[4722,4734],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":126,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":131,"endColumn":10,"fix":{"range":[4734,4734],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":126,"column":13,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":126,"endColumn":14,"fix":{"range":[4747,4747],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":128,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":128,"endColumn":37,"fix":{"range":[4834,4853],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":129,"column":24,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":129,"endColumn":25,"fix":{"range":[4859,4873],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":130,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":130,"endColumn":38,"fix":{"range":[4897,4909],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":132,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":138,"endColumn":10,"fix":{"range":[4909,4909],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":132,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":132,"endColumn":25,"fix":{"range":[4933,4933],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":133,"column":79,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":133,"endColumn":80,"fix":{"range":[5005,5033],"text":"constructor\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":134,"column":102,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":134,"endColumn":103,"fix":{"range":[5118,5136],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":135,"column":87,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":135,"endColumn":88,"fix":{"range":[5184,5224],"text":"reconnectionBackoffRate\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":136,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":136,"endColumn":52,"fix":{"range":[5258,5277],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":137,"column":63,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":137,"endColumn":64,"fix":{"range":[5322,5334],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":139,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":150,"endColumn":10,"fix":{"range":[5334,5334],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":139,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":139,"endColumn":26,"fix":{"range":[5359,5359],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":141,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":141,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":141,"column":231,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":141,"endColumn":232,"fix":{"range":[5635,5654],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":142,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":142,"endColumn":38,"fix":{"range":[5672,5690],"text":"++\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":144,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":144,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":144,"column":151,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":144,"endColumn":152,"fix":{"range":[5872,5888],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":146,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":146,"endColumn":29},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":146,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":146,"endColumn":63,"fix":{"range":[5929,5958],"text":"'ConnectionMonitor reopening'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":146,"column":64,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":146,"endColumn":65,"fix":{"range":[5958,5979],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":147,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":147,"endColumn":40,"fix":{"range":[5998,6014],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":151,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":153,"endColumn":10,"fix":{"range":[6036,6036],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":151,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":151,"endColumn":25,"fix":{"range":[6060,6060],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":152,"column":64,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":152,"endColumn":65,"fix":{"range":[6119,6139],"text":"startedAt\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":154,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":156,"endColumn":10,"fix":{"range":[6139,6139],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":154,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":154,"endColumn":27,"fix":{"range":[6165,6165],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":155,"column":82,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":155,"endColumn":83,"fix":{"range":[6237,6262],"text":"staleThreshold\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":157,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":159,"endColumn":10,"fix":{"range":[6262,6262],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":157,"column":29,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":157,"endColumn":30,"fix":{"range":[6291,6291],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":158,"column":108,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":158,"endColumn":109,"fix":{"range":[6389,6414],"text":"staleThreshold\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":160,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":169,"endColumn":10,"fix":{"range":[6414,6414],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":160,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":160,"endColumn":29,"fix":{"range":[6442,6442],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":161,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":161,"endColumn":53,"fix":{"range":[6490,6499],"text":"'visible'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":164,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":164,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":164,"column":150,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":164,"endColumn":151,"fix":{"range":[6757,6780],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":165,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":165,"endColumn":42,"fix":{"range":[6799,6817],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":167,"column":20,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":167,"endColumn":21,"fix":{"range":[6836,6850],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":170,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":170,"endColumn":9,"fix":{"range":[6867,6893],"text":"}\n ConnectionMonitor"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":171,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":171,"endColumn":44,"fix":{"range":[6911,6937],"text":"6\n ConnectionMonitor"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":172,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":172,"endColumn":56,"fix":{"range":[6964,7002],"text":"0.15\n connection_monitor_default"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'connection_monitor_default' is not in camel case.","line":173,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":173,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":173,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":173,"endColumn":54,"fix":{"range":[7005,7029],"text":"ConnectionMonitor\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":175,"column":5,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":175,"endColumn":6,"fix":{"range":[7033,7095],"text":")\n\n // node_modules/@rails/actioncable/src/internal.js\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":178,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":178,"endColumn":24,"fix":{"range":[7092,7095],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'internal_default' is not in camel case.","line":178,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":178,"endColumn":23},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":178,"column":23,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":178,"endColumn":24,"fix":{"range":[7096,7119],"text":"internal_default\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":179,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":201,"endColumn":6,"fix":{"range":[7116,7119],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'init_internal' is not in camel case.","line":179,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":179,"endColumn":20},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":180,"column":5,"nodeType":"Literal","messageId":"wrongQuotes","endLine":180,"endColumn":54,"fix":{"range":[7148,7197],"text":"'node_modules/@rails/actioncable/src/internal.js'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":180,"column":54,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":180,"endColumn":55,"fix":{"range":[7197,7197],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'internal_default' is not in camel case.","line":181,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":181,"endColumn":23},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'message_types' found.","line":182,"column":9,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":188,"endColumn":10,"fix":{"range":[7237,7252],"text":"message_types"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":182,"column":9,"nodeType":"Literal","messageId":"wrongQuotes","endLine":182,"endColumn":24,"fix":{"range":[7237,7252],"text":"'message_types'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'welcome' found.","line":183,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":183,"endColumn":31,"fix":{"range":[7266,7275],"text":"welcome"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":183,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":183,"endColumn":20,"fix":{"range":[7266,7275],"text":"'welcome'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":183,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":183,"endColumn":31,"fix":{"range":[7277,7286],"text":"'welcome'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'disconnect' found.","line":184,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":184,"endColumn":37,"fix":{"range":[7298,7310],"text":"disconnect"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":184,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":184,"endColumn":23,"fix":{"range":[7298,7310],"text":"'disconnect'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":184,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":184,"endColumn":37,"fix":{"range":[7312,7324],"text":"'disconnect'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'ping' found.","line":185,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":185,"endColumn":25,"fix":{"range":[7336,7342],"text":"ping"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":185,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":185,"endColumn":17,"fix":{"range":[7336,7342],"text":"'ping'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":185,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":185,"endColumn":25,"fix":{"range":[7344,7350],"text":"'ping'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'confirmation' found.","line":186,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":186,"endColumn":49,"fix":{"range":[7362,7376],"text":"confirmation"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":186,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":186,"endColumn":25,"fix":{"range":[7362,7376],"text":"'confirmation'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":186,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":186,"endColumn":49,"fix":{"range":[7378,7400],"text":"'confirm_subscription'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'rejection' found.","line":187,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":187,"endColumn":45,"fix":{"range":[7412,7423],"text":"rejection"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":187,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":187,"endColumn":22,"fix":{"range":[7412,7423],"text":"'rejection'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":187,"column":24,"nodeType":"Literal","messageId":"wrongQuotes","endLine":187,"endColumn":45,"fix":{"range":[7425,7446],"text":"'reject_subscription'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'disconnect_reasons' found.","line":189,"column":9,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":193,"endColumn":10,"fix":{"range":[7466,7486],"text":"disconnect_reasons"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":189,"column":9,"nodeType":"Literal","messageId":"wrongQuotes","endLine":189,"endColumn":29,"fix":{"range":[7466,7486],"text":"'disconnect_reasons'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'unauthorized' found.","line":190,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":190,"endColumn":41,"fix":{"range":[7500,7514],"text":"unauthorized"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":190,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":190,"endColumn":25,"fix":{"range":[7500,7514],"text":"'unauthorized'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":190,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":190,"endColumn":41,"fix":{"range":[7516,7530],"text":"'unauthorized'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'invalid_request' found.","line":191,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":191,"endColumn":47,"fix":{"range":[7542,7559],"text":"invalid_request"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":191,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":191,"endColumn":28,"fix":{"range":[7542,7559],"text":"'invalid_request'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":191,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":191,"endColumn":47,"fix":{"range":[7561,7578],"text":"'invalid_request'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'server_restart' found.","line":192,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":192,"endColumn":45,"fix":{"range":[7590,7606],"text":"server_restart"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":192,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":192,"endColumn":27,"fix":{"range":[7590,7606],"text":"'server_restart'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":192,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":192,"endColumn":45,"fix":{"range":[7608,7624],"text":"'server_restart'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'default_mount_path' found.","line":194,"column":9,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":194,"endColumn":39,"fix":{"range":[7644,7664],"text":"default_mount_path"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":194,"column":9,"nodeType":"Literal","messageId":"wrongQuotes","endLine":194,"endColumn":29,"fix":{"range":[7644,7664],"text":"'default_mount_path'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":194,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":194,"endColumn":39,"fix":{"range":[7666,7674],"text":"'/cable'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'protocols' found.","line":195,"column":9,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":198,"endColumn":10,"fix":{"range":[7684,7695],"text":"protocols"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":195,"column":9,"nodeType":"Literal","messageId":"wrongQuotes","endLine":195,"endColumn":20,"fix":{"range":[7684,7695],"text":"'protocols'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":196,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":196,"endColumn":32,"fix":{"range":[7709,7730],"text":"'actioncable-v1-json'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":197,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":197,"endColumn":36,"fix":{"range":[7742,7767],"text":"'actioncable-unsupported'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":199,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":199,"endColumn":9,"fix":{"range":[7784,7792],"text":"}\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":201,"column":5,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":201,"endColumn":6,"fix":{"range":[7796,7860],"text":")\n\n // node_modules/@rails/actioncable/src/connection.js\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":204,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":204,"endColumn":93,"fix":{"range":[7857,7860],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'message_types' is not in camel case.","line":204,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":204,"endColumn":20},{"ruleId":"camelcase","severity":2,"message":"Identifier 'connection_default' is not in camel case.","line":204,"column":74,"nodeType":"Identifier","messageId":"notCamelCase","endLine":204,"endColumn":92},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":204,"column":92,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":204,"endColumn":93,"fix":{"range":[7928,7953],"text":"connection_default\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":205,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":356,"endColumn":6,"fix":{"range":[7950,7953],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'init_connection' is not in camel case.","line":205,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":205,"endColumn":22},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":206,"column":5,"nodeType":"Literal","messageId":"wrongQuotes","endLine":206,"endColumn":56,"fix":{"range":[7984,8035],"text":"'node_modules/@rails/actioncable/src/connection.js'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":206,"column":56,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":206,"endColumn":57,"fix":{"range":[8035,8035],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":207,"column":22,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":207,"endColumn":23,"fix":{"range":[8060,8092],"text":")\n init_connection_monitor"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":208,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":208,"endColumn":33,"fix":{"range":[8093,8115],"text":")\n init_internal"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":209,"column":22,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":209,"endColumn":23,"fix":{"range":[8116,8136],"text":")\n init_logger"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'message_types' is not in camel case.","line":211,"column":10,"nodeType":"Identifier","messageId":"notCamelCase","endLine":211,"endColumn":23},{"ruleId":"camelcase","severity":2,"message":"Identifier 'internal_default' is not in camel case.","line":211,"column":39,"nodeType":"Identifier","messageId":"notCamelCase","endLine":211,"endColumn":55},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":211,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":211,"endColumn":57,"fix":{"range":[8194,8221],"text":")\n supportedProtocols"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":212,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":212,"endColumn":69,"fix":{"range":[8263,8279],"text":")\n indexOf"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":213,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":213,"endColumn":28,"fix":{"range":[8285,8310],"text":"indexOf\n Connection"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":215,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":215,"endColumn":21,"fix":{"range":[8340,8340],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":216,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":216,"endColumn":44,"fix":{"range":[8395,8412],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":217,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":217,"endColumn":37,"fix":{"range":[8424,8449],"text":"consumer2\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":218,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":218,"endColumn":60,"fix":{"range":[8480,8509],"text":"subscriptions\n this"}},{"ruleId":"new-cap","severity":2,"message":"A constructor name should not start with a lowercase letter.","line":219,"column":30,"nodeType":"NewExpression","messageId":"lower","endLine":219,"endColumn":56},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":219,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":219,"endColumn":63,"fix":{"range":[8555,8572],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":220,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":220,"endColumn":36,"fix":{"range":[8588,8603],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":222,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":229,"endColumn":10,"fix":{"range":[8603,8603],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":222,"column":13,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":222,"endColumn":14,"fix":{"range":[8616,8616],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":224,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":224,"endColumn":55,"fix":{"range":[8708,8729],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":225,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":225,"endColumn":25,"fix":{"range":[8730,8747],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":227,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":227,"endColumn":26,"fix":{"range":[8774,8792],"text":"false\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":230,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":244,"endColumn":10,"fix":{"range":[8802,8802],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":230,"column":13,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":230,"endColumn":14,"fix":{"range":[8815,8815],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":232,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":232,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":232,"column":105,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":232,"endColumn":106,"fix":{"range":[8956,8977],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":233,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":233,"endColumn":26,"fix":{"range":[8978,8996],"text":"false\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":235,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":235,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":235,"column":117,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":235,"endColumn":118,"fix":{"range":[9119,9136],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":237,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":237,"endColumn":45,"fix":{"range":[9198,9214],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'adapters_default' is not in camel case.","line":239,"column":34,"nodeType":"Identifier","messageId":"notCamelCase","endLine":239,"endColumn":50},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":239,"column":90,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":239,"endColumn":91,"fix":{"range":[9303,9322],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":240,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":240,"endColumn":41,"fix":{"range":[9344,9363],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":241,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":241,"endColumn":34,"fix":{"range":[9378,9399],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":242,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":242,"endColumn":25,"fix":{"range":[9400,9417],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":245,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":252,"endColumn":10,"fix":{"range":[9427,9427],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":245,"column":14,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":245,"endColumn":15,"fix":{"range":[9441,9441],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":247,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":247,"endColumn":33,"fix":{"range":[9554,9568],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":250,"column":42,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":250,"endColumn":43,"fix":{"range":[9640,9654],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":253,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":267,"endColumn":10,"fix":{"range":[9664,9664],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":253,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":253,"endColumn":16,"fix":{"range":[9679,9679],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":254,"column":11,"nodeType":"Identifier","messageId":"notCamelCase","endLine":254,"endColumn":25},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":254,"column":89,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":254,"endColumn":90,"fix":{"range":[9771,9786],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":257,"column":34,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":257,"endColumn":35,"fix":{"range":[9857,9873],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":259,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":259,"endColumn":29},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":259,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":259,"endColumn":62,"fix":{"range":[9924,9952],"text":"'Failed to reopen WebSocket'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":259,"column":71,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":259,"endColumn":72,"fix":{"range":[9960,9976],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":261,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":261,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":261,"column":93,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":261,"endColumn":94,"fix":{"range":[10078,10105],"text":")\n setTimeout"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":262,"column":66,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":262,"endColumn":67,"fix":{"range":[10145,10161],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":265,"column":31,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":265,"endColumn":32,"fix":{"range":[10210,10224],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":268,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":272,"endColumn":10,"fix":{"range":[10234,10234],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":268,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":268,"endColumn":21,"fix":{"range":[10254,10254],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":270,"column":43,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":270,"endColumn":44,"fix":{"range":[10325,10346],"text":"protocol\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":273,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":275,"endColumn":10,"fix":{"range":[10356,10356],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":273,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":273,"endColumn":16,"fix":{"range":[10371,10371],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":274,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":274,"endColumn":37,"fix":{"range":[10406,10412],"text":"'open'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":274,"column":38,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":274,"endColumn":39,"fix":{"range":[10412,10424],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":276,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":278,"endColumn":10,"fix":{"range":[10424,10424],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":276,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":276,"endColumn":18,"fix":{"range":[10441,10441],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":277,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":277,"endColumn":37,"fix":{"range":[10476,10482],"text":"'open'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":277,"column":39,"nodeType":"Literal","messageId":"wrongQuotes","endLine":277,"endColumn":51,"fix":{"range":[10484,10496],"text":"'connecting'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":277,"column":52,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":277,"endColumn":53,"fix":{"range":[10496,10508],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":279,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":281,"endColumn":10,"fix":{"range":[10508,10508],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":279,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":279,"endColumn":29,"fix":{"range":[10536,10536],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":280,"column":75,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":280,"endColumn":76,"fix":{"range":[10614,10626],"text":"0\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":282,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":284,"endColumn":10,"fix":{"range":[10626,10626],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":282,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":282,"endColumn":17,"fix":{"range":[10642,10642],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":283,"column":60,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":283,"endColumn":61,"fix":{"range":[10714,10726],"text":"0\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":285,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":294,"endColumn":10,"fix":{"range":[10726,10726],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":285,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":285,"endColumn":18,"fix":{"range":[10743,10743],"text":" "}},{"ruleId":"prefer-const","severity":2,"message":"'state' is never reassigned. Use 'const' instead.","line":287,"column":22,"nodeType":"Identifier","messageId":"useConst","endLine":287,"endColumn":27,"fix":{"range":[10797,10806],"text":"const state"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'adapters_default' is not in camel case.","line":287,"column":31,"nodeType":"Identifier","messageId":"notCamelCase","endLine":287,"endColumn":47},{"ruleId":"camelcase","severity":2,"message":"Identifier 'adapters_default' is not in camel case.","line":288,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":288,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":289,"column":43,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":289,"endColumn":44,"fix":{"range":[10966,10984],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":293,"column":22,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":293,"endColumn":23,"fix":{"range":[11028,11043],"text":"null\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":295,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":300,"endColumn":10,"fix":{"range":[11043,11043],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":295,"column":29,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":295,"endColumn":30,"fix":{"range":[11072,11072],"text":" "}},{"ruleId":"prefer-const","severity":2,"message":"'eventName' is never reassigned. Use 'const' instead.","line":296,"column":20,"nodeType":"Identifier","messageId":"useConst","endLine":296,"endColumn":29,"fix":{"range":[11092,11105],"text":"const eventName"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":297,"column":62,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":297,"endColumn":63,"fix":{"range":[11184,11203],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":298,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":298,"endColumn":56,"fix":{"range":[11234,11254],"text":"handler\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":301,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":306,"endColumn":10,"fix":{"range":[11264,11264],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":301,"column":31,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":301,"endColumn":32,"fix":{"range":[11295,11295],"text":" "}},{"ruleId":"prefer-const","severity":2,"message":"'eventName' is never reassigned. Use 'const' instead.","line":302,"column":20,"nodeType":"Identifier","messageId":"useConst","endLine":302,"endColumn":29,"fix":{"range":[11315,11328],"text":"const eventName"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":303,"column":56,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":303,"endColumn":57,"fix":{"range":[11402,11402],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":304,"column":14,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":304,"endColumn":15,"fix":{"range":[11419,11433],"text":"}\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":307,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":307,"endColumn":9,"fix":{"range":[11450,11469],"text":"}\n Connection"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":308,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":308,"endColumn":36,"fix":{"range":[11484,11505],"text":"500\n Connection"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":310,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":310,"endColumn":17,"fix":{"range":[11542,11542],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":312,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":312,"endColumn":20,"fix":{"range":[11609,11628],"text":"return\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":314,"column":90,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":314,"endColumn":91,"fix":{"range":[11717,11736],"text":")\n switch"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'message_types' is not in camel case.","line":316,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":316,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":317,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":317,"endColumn":44,"fix":{"range":[11827,11850],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":318,"column":49,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":318,"endColumn":50,"fix":{"range":[11877,11896],"text":")\n case"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'message_types' is not in camel case.","line":319,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":319,"endColumn":31},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":320,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":320,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":320,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":320,"endColumn":70,"fix":{"range":[11990,12013],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":321,"column":63,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":321,"endColumn":64,"fix":{"range":[12054,12073],"text":")\n case"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'message_types' is not in camel case.","line":322,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":322,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":323,"column":47,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":323,"endColumn":48,"fix":{"range":[12139,12158],"text":")\n case"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'message_types' is not in camel case.","line":324,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":324,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":325,"column":65,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":325,"endColumn":66,"fix":{"range":[12250,12273],"text":")\n return"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":326,"column":60,"nodeType":"Literal","messageId":"wrongQuotes","endLine":326,"endColumn":71,"fix":{"range":[12312,12323],"text":"'connected'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":326,"column":72,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":326,"endColumn":73,"fix":{"range":[12323,12342],"text":")\n case"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'message_types' is not in camel case.","line":327,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":327,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":328,"column":59,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":328,"endColumn":60,"fix":{"range":[12425,12447],"text":")\n default"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":330,"column":60,"nodeType":"Literal","messageId":"wrongQuotes","endLine":330,"endColumn":70,"fix":{"range":[12508,12518],"text":"'received'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":330,"column":80,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":330,"endColumn":81,"fix":{"range":[12527,12541],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":333,"column":13,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":333,"endColumn":14,"fix":{"range":[12565,12565],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":334,"column":11,"nodeType":"Identifier","messageId":"notCamelCase","endLine":334,"endColumn":25},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":334,"column":98,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":334,"endColumn":99,"fix":{"range":[12666,12683],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":335,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":335,"endColumn":37,"fix":{"range":[12699,12718],"text":"false\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":337,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":337,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":337,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":337,"endColumn":94,"fix":{"range":[12782,12844],"text":"'Protocol is unsupported. Stopping monitor and disconnecting.'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":337,"column":95,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":337,"endColumn":96,"fix":{"range":[12844,12865],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":338,"column":57,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":338,"endColumn":58,"fix":{"range":[12902,12916],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":341,"column":14,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":341,"endColumn":15,"fix":{"range":[12941,12941],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":342,"column":11,"nodeType":"Identifier","messageId":"notCamelCase","endLine":342,"endColumn":25},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":342,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":342,"endColumn":55,"fix":{"range":[12980,13005],"text":"'WebSocket onclose event'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":342,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":342,"endColumn":57,"fix":{"range":[13005,13020],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":344,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":344,"endColumn":20,"fix":{"range":[13055,13074],"text":"return\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":346,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":346,"endColumn":36,"fix":{"range":[13105,13125],"text":"true\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":347,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":347,"endColumn":43,"fix":{"range":[13151,13170],"text":")\n return"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":348,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":348,"endColumn":61,"fix":{"range":[13200,13214],"text":"'disconnected'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":348,"column":114,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":348,"endColumn":115,"fix":{"range":[13266,13278],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":350,"column":14,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":350,"endColumn":15,"fix":{"range":[13293,13293],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":351,"column":11,"nodeType":"Identifier","messageId":"notCamelCase","endLine":351,"endColumn":25},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":351,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":351,"endColumn":55,"fix":{"range":[13327,13352],"text":"'WebSocket onerror event'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":351,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":351,"endColumn":57,"fix":{"range":[13352,13364],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":353,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":353,"endColumn":9,"fix":{"range":[13371,13398],"text":"}\n connection_default"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'connection_default' is not in camel case.","line":354,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":354,"endColumn":25},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":354,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":354,"endColumn":39,"fix":{"range":[13401,13418],"text":"Connection\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":356,"column":5,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":356,"endColumn":6,"fix":{"range":[13422,13488],"text":")\n\n // node_modules/@rails/actioncable/src/subscription.js\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":359,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":359,"endColumn":28,"fix":{"range":[13485,13488],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":359,"column":27,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":359,"endColumn":28,"fix":{"range":[13497,13516],"text":"Subscription\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":360,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":389,"endColumn":6,"fix":{"range":[13513,13516],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'init_subscription' is not in camel case.","line":360,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":360,"endColumn":24},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":361,"column":5,"nodeType":"Literal","messageId":"wrongQuotes","endLine":361,"endColumn":58,"fix":{"range":[13549,13602],"text":"'node_modules/@rails/actioncable/src/subscription.js'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":361,"column":58,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":361,"endColumn":59,"fix":{"range":[13602,13602],"text":" "}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":362,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":362,"endColumn":25,"fix":{"range":[13630,13630],"text":" "}},{"ruleId":"prefer-const","severity":2,"message":"'key' is never reassigned. Use 'const' instead.","line":364,"column":20,"nodeType":"Identifier","messageId":"useConst","endLine":364,"endColumn":23,"fix":{"range":[13702,13709],"text":"const key"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":365,"column":42,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":365,"endColumn":43,"fix":{"range":[13767,13788],"text":"]\n object"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":366,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":366,"endColumn":33,"fix":{"range":[13796,13814],"text":"value\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":369,"column":22,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":369,"endColumn":23,"fix":{"range":[13840,13855],"text":"object\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":370,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":370,"endColumn":9,"fix":{"range":[13854,13875],"text":"}\n Subscription"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":372,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":372,"endColumn":21,"fix":{"range":[13905,13905],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":373,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":373,"endColumn":37,"fix":{"range":[13965,13990],"text":"consumer2\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":374,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":374,"endColumn":52,"fix":{"range":[14025,14044],"text":")\n extend"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":375,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":375,"endColumn":31,"fix":{"range":[14056,14068],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":377,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":380,"endColumn":10,"fix":{"range":[14068,14068],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":377,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":377,"endColumn":17,"fix":{"range":[14084,14084],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":378,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":378,"endColumn":32,"fix":{"range":[14130,14154],"text":"action\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":379,"column":33,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":379,"endColumn":34,"fix":{"range":[14169,14181],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":381,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":383,"endColumn":10,"fix":{"range":[14181,14181],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":381,"column":13,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":381,"endColumn":14,"fix":{"range":[14194,14194],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":382,"column":48,"nodeType":"Literal","messageId":"wrongQuotes","endLine":382,"endColumn":57,"fix":{"range":[14250,14259],"text":"'message'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":382,"column":117,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":382,"endColumn":118,"fix":{"range":[14318,14330],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":384,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":386,"endColumn":10,"fix":{"range":[14330,14330],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":384,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":384,"endColumn":21,"fix":{"range":[14350,14350],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":385,"column":58,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":385,"endColumn":59,"fix":{"range":[14411,14423],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":387,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":387,"endColumn":9,"fix":{"range":[14430,14438],"text":"}\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":389,"column":5,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":389,"endColumn":6,"fix":{"range":[14442,14518],"text":")\n\n // node_modules/@rails/actioncable/src/subscription_guarantor.js\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":392,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":392,"endColumn":61,"fix":{"range":[14515,14518],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'subscription_guarantor_default' is not in camel case.","line":392,"column":30,"nodeType":"Identifier","messageId":"notCamelCase","endLine":392,"endColumn":60},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":392,"column":60,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":392,"endColumn":61,"fix":{"range":[14542,14579],"text":"subscription_guarantor_default\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":393,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":434,"endColumn":6,"fix":{"range":[14576,14579],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'init_subscription_guarantor' is not in camel case.","line":393,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":393,"endColumn":34},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":394,"column":5,"nodeType":"Literal","messageId":"wrongQuotes","endLine":394,"endColumn":68,"fix":{"range":[14622,14685],"text":"'node_modules/@rails/actioncable/src/subscription_guarantor.js'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":394,"column":68,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":394,"endColumn":69,"fix":{"range":[14685,14685],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":395,"column":20,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":395,"endColumn":21,"fix":{"range":[14708,14738],"text":")\n SubscriptionGuarantor"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":397,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":397,"endColumn":21,"fix":{"range":[14768,14768],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":398,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":398,"endColumn":46,"fix":{"range":[14817,14846],"text":"subscriptions\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":399,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":399,"endColumn":42,"fix":{"range":[14871,14883],"text":"]\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":401,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":409,"endColumn":10,"fix":{"range":[14883,14883],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":401,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":401,"endColumn":19,"fix":{"range":[14901,14901],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":402,"column":63,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":402,"endColumn":65},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":403,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":403,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":403,"column":96,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":403,"endColumn":97,"fix":{"range":[15083,15102],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":404,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":404,"endColumn":58,"fix":{"range":[15141,15155],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":406,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":406,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":406,"column":104,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":406,"endColumn":105,"fix":{"range":[15265,15279],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":408,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":408,"endColumn":36,"fix":{"range":[15313,15325],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":410,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":413,"endColumn":10,"fix":{"range":[15325,15325],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":410,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":410,"endColumn":16,"fix":{"range":[15340,15340],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":411,"column":11,"nodeType":"Identifier","messageId":"notCamelCase","endLine":411,"endColumn":25},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":411,"column":92,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":411,"endColumn":93,"fix":{"range":[15447,15464],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":412,"column":100,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":412,"endColumn":101,"fix":{"range":[15548,15560],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":414,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":417,"endColumn":10,"fix":{"range":[15560,15560],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":414,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":414,"endColumn":27,"fix":{"range":[15586,15586],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":415,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":415,"endColumn":35,"fix":{"range":[15623,15640],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":416,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":416,"endColumn":35,"fix":{"range":[15658,15670],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":418,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":420,"endColumn":10,"fix":{"range":[15670,15670],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":418,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":418,"endColumn":26,"fix":{"range":[15695,15695],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":419,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":419,"endColumn":43,"fix":{"range":[15740,15752],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":421,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":430,"endColumn":10,"fix":{"range":[15752,15752],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":421,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":421,"endColumn":26,"fix":{"range":[15777,15777],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":423,"column":79,"nodeType":"Literal","messageId":"wrongQuotes","endLine":423,"endColumn":89,"fix":{"range":[15909,15919],"text":"'function'"}},{"ruleId":"array-callback-return","severity":2,"message":"Array.prototype.map() expects a return value from arrow function.","line":424,"column":60,"nodeType":"ArrowFunctionExpression","messageId":"expectedInside","endLine":424,"endColumn":62},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":425,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":425,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":425,"column":101,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":425,"endColumn":102,"fix":{"range":[16086,16109],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":426,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":426,"endColumn":60,"fix":{"range":[16146,16164],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":427,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":427,"endColumn":18,"fix":{"range":[16164,16180],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":429,"column":18,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":429,"endColumn":19,"fix":{"range":[16197,16209],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":431,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":431,"endColumn":9,"fix":{"range":[16216,16255],"text":"}\n subscription_guarantor_default"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'subscription_guarantor_default' is not in camel case.","line":432,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":432,"endColumn":37},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":432,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":432,"endColumn":62,"fix":{"range":[16258,16286],"text":"SubscriptionGuarantor\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":434,"column":5,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":434,"endColumn":6,"fix":{"range":[16290,16357],"text":")\n\n // node_modules/@rails/actioncable/src/subscriptions.js\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":437,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":437,"endColumn":21,"fix":{"range":[16354,16357],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":437,"column":20,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":437,"endColumn":21,"fix":{"range":[16358,16378],"text":"Subscriptions\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":438,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":514,"endColumn":6,"fix":{"range":[16375,16378],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'init_subscriptions' is not in camel case.","line":438,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":438,"endColumn":25},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":439,"column":5,"nodeType":"Literal","messageId":"wrongQuotes","endLine":439,"endColumn":59,"fix":{"range":[16412,16466],"text":"'node_modules/@rails/actioncable/src/subscriptions.js'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":439,"column":59,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":439,"endColumn":60,"fix":{"range":[16466,16466],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":440,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":440,"endColumn":27,"fix":{"range":[16495,16531],"text":")\n init_subscription_guarantor"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":441,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":441,"endColumn":37,"fix":{"range":[16532,16552],"text":")\n init_logger"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":442,"column":20,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":442,"endColumn":21,"fix":{"range":[16553,16575],"text":")\n Subscriptions"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":444,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":444,"endColumn":21,"fix":{"range":[16605,16605],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":445,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":445,"endColumn":37,"fix":{"range":[16645,16670],"text":"consumer2\n this"}},{"ruleId":"new-cap","severity":2,"message":"A constructor name should not start with a lowercase letter.","line":446,"column":32,"nodeType":"NewExpression","messageId":"lower","endLine":446,"endColumn":62},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":446,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":446,"endColumn":69,"fix":{"range":[16722,16739],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":447,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":447,"endColumn":35,"fix":{"range":[16757,16769],"text":"]\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":449,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":454,"endColumn":10,"fix":{"range":[16769,16769],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":449,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":449,"endColumn":16,"fix":{"range":[16784,16784],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":450,"column":38,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":450,"endColumn":39,"fix":{"range":[16833,16861],"text":"channelName\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":451,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":451,"endColumn":53,"fix":{"range":[16890,16898],"text":"'object'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":451,"column":77,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":451,"endColumn":78,"fix":{"range":[16921,16939],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":452,"column":78,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":452,"endColumn":79,"fix":{"range":[17000,17019],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":453,"column":40,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":453,"endColumn":41,"fix":{"range":[17041,17053],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":455,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":461,"endColumn":10,"fix":{"range":[17053,17053],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":455,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":455,"endColumn":13,"fix":{"range":[17065,17065],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":456,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":456,"endColumn":49,"fix":{"range":[17128,17145],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":457,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":457,"endColumn":50,"fix":{"range":[17178,17195],"text":")\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":458,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":458,"endColumn":50,"fix":{"range":[17217,17230],"text":"'initialized'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":458,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":458,"endColumn":52,"fix":{"range":[17230,17247],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":459,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":459,"endColumn":40,"fix":{"range":[17270,17289],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":460,"column":30,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":460,"endColumn":31,"fix":{"range":[17290,17313],"text":"subscription\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":462,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":468,"endColumn":10,"fix":{"range":[17313,17313],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":462,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":462,"endColumn":16,"fix":{"range":[17328,17328],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":463,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":463,"endColumn":37,"fix":{"range":[17379,17394],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":465,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":465,"endColumn":57,"fix":{"range":[17488,17501],"text":"'unsubscribe'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":465,"column":58,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":465,"endColumn":59,"fix":{"range":[17501,17515],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":467,"column":30,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":467,"endColumn":31,"fix":{"range":[17533,17556],"text":"subscription\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":469,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":475,"endColumn":10,"fix":{"range":[17556,17556],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":469,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":469,"endColumn":16,"fix":{"range":[17571,17571],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":471,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":471,"endColumn":39,"fix":{"range":[17688,17707],"text":")\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":472,"column":39,"nodeType":"Literal","messageId":"wrongQuotes","endLine":472,"endColumn":49,"fix":{"range":[17729,17739],"text":"'rejected'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":472,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":472,"endColumn":51,"fix":{"range":[17739,17760],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":473,"column":32,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":473,"endColumn":33,"fix":{"range":[17761,17786],"text":"subscription\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":474,"column":13,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":474,"endColumn":14,"fix":{"range":[17786,17798],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":476,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":480,"endColumn":10,"fix":{"range":[17798,17798],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":476,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":476,"endColumn":16,"fix":{"range":[17813,17813],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":477,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":477,"endColumn":47,"fix":{"range":[17874,17891],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":478,"column":86,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":478,"endColumn":87,"fix":{"range":[17961,17980],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":479,"column":30,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":479,"endColumn":31,"fix":{"range":[17981,18004],"text":"subscription\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":481,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":483,"endColumn":10,"fix":{"range":[18004,18004],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":481,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":481,"endColumn":17,"fix":{"range":[18020,18020],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":482,"column":81,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":482,"endColumn":82,"fix":{"range":[18114,18126],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":484,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":486,"endColumn":10,"fix":{"range":[18126,18126],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":484,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":484,"endColumn":16,"fix":{"range":[18141,18141],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":485,"column":88,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":485,"endColumn":89,"fix":{"range":[18232,18244],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":487,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":489,"endColumn":10,"fix":{"range":[18244,18244],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":487,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":487,"endColumn":19,"fix":{"range":[18262,18262],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":488,"column":108,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":488,"endColumn":109,"fix":{"range":[18394,18406],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":490,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":498,"endColumn":10,"fix":{"range":[18406,18406],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":490,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":490,"endColumn":16,"fix":{"range":[18421,18421],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":491,"column":28,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":491,"endColumn":29,"fix":{"range":[18475,18502],"text":"subscriptions\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":492,"column":39,"nodeType":"Literal","messageId":"wrongQuotes","endLine":492,"endColumn":47,"fix":{"range":[18528,18536],"text":"'string'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":493,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":493,"endColumn":56,"fix":{"range":[18593,18607],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":495,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":495,"endColumn":44,"fix":{"range":[18656,18670],"text":"]\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":497,"column":94,"nodeType":"Literal","messageId":"wrongQuotes","endLine":497,"endColumn":104,"fix":{"range":[18764,18774],"text":"'function'"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":497,"column":146,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":497,"endColumn":152},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":497,"column":153,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":497,"endColumn":154,"fix":{"range":[18822,18834],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":499,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":503,"endColumn":10,"fix":{"range":[18834,18834],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":499,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":499,"endColumn":19,"fix":{"range":[18852,18852],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":500,"column":46,"nodeType":"Literal","messageId":"wrongQuotes","endLine":500,"endColumn":57,"fix":{"range":[18914,18925],"text":"'subscribe'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":501,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":501,"endColumn":52,"fix":{"range":[18979,18993],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":504,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":507,"endColumn":10,"fix":{"range":[19003,19003],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":504,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":504,"endColumn":29,"fix":{"range":[19031,19031],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":505,"column":11,"nodeType":"Identifier","messageId":"notCamelCase","endLine":505,"endColumn":25},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":505,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":505,"endColumn":70,"fix":{"range":[19113,19130],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":506,"column":94,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":506,"endColumn":95,"fix":{"range":[19208,19220],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":508,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":511,"endColumn":10,"fix":{"range":[19220,19220],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":508,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":508,"endColumn":21,"fix":{"range":[19240,19240],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":509,"column":46,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":509,"endColumn":47,"fix":{"range":[19299,19329],"text":"subscription\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":510,"column":61,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":510,"endColumn":62,"fix":{"range":[19372,19384],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":512,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":512,"endColumn":9,"fix":{"range":[19391,19399],"text":"}\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":514,"column":5,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":514,"endColumn":6,"fix":{"range":[19403,19470],"text":")\n\n // node_modules/@rails/actioncable/src/consumer.js\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":517,"column":30,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":517,"endColumn":31,"fix":{"range":[19489,19489],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":518,"column":24,"nodeType":"Literal","messageId":"wrongQuotes","endLine":518,"endColumn":34,"fix":{"range":[19520,19530],"text":"'function'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":519,"column":18,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":519,"endColumn":19,"fix":{"range":[19550,19558],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":522,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":522,"endColumn":44,"fix":{"range":[19638,19641],"text":"'a'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":522,"column":45,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":522,"endColumn":46,"fix":{"range":[19641,19652],"text":")\n a2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":523,"column":20,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":523,"endColumn":21,"fix":{"range":[19660,19673],"text":"url\n a2"}},{"ruleId":"no-self-assign","severity":2,"message":"'a2.href' is assigned to itself.","line":524,"column":17,"nodeType":"MemberExpression","messageId":"selfAssignment","endLine":524,"endColumn":24},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":524,"column":24,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":524,"endColumn":25,"fix":{"range":[19684,19698],"text":"href\n a2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":525,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":525,"endColumn":47,"fix":{"range":[19730,19736],"text":"'http'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":525,"column":49,"nodeType":"Literal","messageId":"wrongQuotes","endLine":525,"endColumn":53,"fix":{"range":[19738,19742],"text":"'ws'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":525,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":525,"endColumn":55,"fix":{"range":[19742,19757],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":526,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":526,"endColumn":22,"fix":{"range":[19761,19772],"text":"href\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":528,"column":17,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":528,"endColumn":18,"fix":{"range":[19793,19803],"text":"url\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":531,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":531,"endColumn":16,"fix":{"range":[19810,19813],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":531,"column":15,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":531,"endColumn":16,"fix":{"range":[19814,19829],"text":"Consumer\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":532,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":561,"endColumn":6,"fix":{"range":[19826,19829],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'init_consumer' is not in camel case.","line":532,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":532,"endColumn":20},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":533,"column":5,"nodeType":"Literal","messageId":"wrongQuotes","endLine":533,"endColumn":54,"fix":{"range":[19858,19907],"text":"'node_modules/@rails/actioncable/src/consumer.js'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":533,"column":54,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":533,"endColumn":55,"fix":{"range":[19907,19907],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":534,"column":24,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":534,"endColumn":25,"fix":{"range":[19934,19961],"text":")\n init_subscriptions"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":535,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":535,"endColumn":28,"fix":{"range":[19962,19979],"text":")\n Consumer"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":537,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":537,"endColumn":21,"fix":{"range":[20009,20009],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":538,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":538,"endColumn":27,"fix":{"range":[20039,20058],"text":"url\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":539,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":539,"endColumn":56,"fix":{"range":[20097,20114],"text":")\n this"}},{"ruleId":"new-cap","severity":2,"message":"A constructor name should not start with a lowercase letter.","line":540,"column":33,"nodeType":"NewExpression","messageId":"lower","endLine":540,"endColumn":51},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":540,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":540,"endColumn":58,"fix":{"range":[20155,20167],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":542,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":544,"endColumn":10,"fix":{"range":[20167,20167],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":542,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":542,"endColumn":17,"fix":{"range":[20183,20183],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":543,"column":47,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":543,"endColumn":48,"fix":{"range":[20233,20245],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":545,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":547,"endColumn":10,"fix":{"range":[20245,20245],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":545,"column":13,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":545,"endColumn":14,"fix":{"range":[20258,20258],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":546,"column":44,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":546,"endColumn":45,"fix":{"range":[20309,20321],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":548,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":550,"endColumn":10,"fix":{"range":[20321,20321],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":548,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":548,"endColumn":17,"fix":{"range":[20337,20337],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":549,"column":40,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":549,"endColumn":41,"fix":{"range":[20380,20392],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":551,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":553,"endColumn":10,"fix":{"range":[20392,20392],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":551,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":551,"endColumn":20,"fix":{"range":[20411,20411],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":552,"column":66,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":552,"endColumn":67,"fix":{"range":[20480,20492],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":554,"column":9,"nodeType":"MethodDefinition","messageId":"always","endLine":558,"endColumn":10,"fix":{"range":[20492,20492],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":554,"column":31,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":554,"endColumn":32,"fix":{"range":[20523,20523],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":556,"column":42,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":556,"endColumn":43,"fix":{"range":[20613,20627],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":559,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":559,"endColumn":9,"fix":{"range":[20644,20652],"text":"}\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":561,"column":5,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":561,"endColumn":6,"fix":{"range":[20656,20715],"text":")\n\n // node_modules/@rails/actioncable/src/index.js\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":564,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":564,"endColumn":24,"fix":{"range":[20712,20715],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'src_exports' is not in camel case.","line":564,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":564,"endColumn":18},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":564,"column":23,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":564,"endColumn":24,"fix":{"range":[20731,20744],"text":"}\n __export"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'connection_default' is not in camel case.","line":566,"column":23,"nodeType":"Identifier","messageId":"notCamelCase","endLine":566,"endColumn":41},{"ruleId":"camelcase","severity":2,"message":"Identifier 'connection_monitor_default' is not in camel case.","line":567,"column":30,"nodeType":"Identifier","messageId":"notCamelCase","endLine":567,"endColumn":56},{"ruleId":"camelcase","severity":2,"message":"Identifier 'internal_default' is not in camel case.","line":569,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":569,"endColumn":37},{"ruleId":"camelcase","severity":2,"message":"Identifier 'subscription_guarantor_default' is not in camel case.","line":571,"column":34,"nodeType":"Identifier","messageId":"notCamelCase","endLine":571,"endColumn":64},{"ruleId":"camelcase","severity":2,"message":"Identifier 'adapters_default' is not in camel case.","line":573,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":573,"endColumn":37},{"ruleId":"camelcase","severity":2,"message":"Identifier 'logger_default' is not in camel case.","line":577,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":577,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":578,"column":5,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":578,"endColumn":6,"fix":{"range":[21268,21281],"text":")\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":579,"column":26,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":579,"endColumn":27,"fix":{"range":[21296,21296],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":579,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":579,"endColumn":48,"fix":{"range":[21313,21318],"text":"'url'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'internal_default' is not in camel case.","line":579,"column":53,"nodeType":"Identifier","messageId":"notCamelCase","endLine":579,"endColumn":69},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":580,"column":29,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":580,"endColumn":30,"fix":{"range":[21389,21395],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":582,"column":21,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":582,"endColumn":22,"fix":{"range":[21416,21416],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":583,"column":85,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":583,"endColumn":86,"fix":{"range":[21508,21517],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":585,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":585,"endColumn":44,"fix":{"range":[21564,21573],"text":"'content'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":585,"column":45,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":585,"endColumn":46,"fix":{"range":[21573,21581],"text":")\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":588,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":600,"endColumn":6,"fix":{"range":[21588,21591],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'init_src' is not in camel case.","line":588,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":588,"endColumn":15},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":589,"column":5,"nodeType":"Literal","messageId":"wrongQuotes","endLine":589,"endColumn":51,"fix":{"range":[21615,21661],"text":"'node_modules/@rails/actioncable/src/index.js'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":589,"column":51,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":589,"endColumn":52,"fix":{"range":[21661,21661],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":590,"column":24,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":590,"endColumn":25,"fix":{"range":[21688,21720],"text":")\n init_connection_monitor"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":591,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":591,"endColumn":33,"fix":{"range":[21721,21743],"text":")\n init_consumer"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":592,"column":22,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":592,"endColumn":23,"fix":{"range":[21744,21766],"text":")\n init_internal"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":593,"column":22,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":593,"endColumn":23,"fix":{"range":[21767,21793],"text":")\n init_subscription"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":594,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":594,"endColumn":27,"fix":{"range":[21794,21821],"text":")\n init_subscriptions"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":595,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":595,"endColumn":28,"fix":{"range":[21822,21858],"text":")\n init_subscription_guarantor"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":596,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":596,"endColumn":37,"fix":{"range":[21859,21881],"text":")\n init_adapters"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":597,"column":22,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":597,"endColumn":23,"fix":{"range":[21882,21902],"text":")\n init_logger"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":598,"column":20,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":598,"endColumn":21,"fix":{"range":[21903,21911],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":600,"column":5,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":600,"endColumn":6,"fix":{"range":[21915,21960],"text":")\n\n // node_modules/debounce/index.js\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":603,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":654,"endColumn":6,"fix":{"range":[21957,21960],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'require_debounce' is not in camel case.","line":603,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":603,"endColumn":23},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":604,"column":5,"nodeType":"Literal","messageId":"wrongQuotes","endLine":604,"endColumn":37,"fix":{"range":[21997,22029],"text":"'node_modules/debounce/index.js'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":604,"column":37,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":604,"endColumn":38,"fix":{"range":[22029,22029],"text":" "}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":605,"column":25,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":605,"endColumn":26,"fix":{"range":[22073,22073],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":606,"column":9,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":606,"endColumn":55,"fix":{"range":[22107,22110],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":606,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":606,"endColumn":55,"fix":{"range":[22146,22164],"text":"result\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":608,"column":11,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":608,"endColumn":22,"fix":{"range":[22190,22201],"text":"{wait = 100;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":608,"column":21,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":608,"endColumn":22,"fix":{"range":[22197,22218],"text":"100\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":609,"column":23,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":609,"endColumn":24,"fix":{"range":[22224,22224],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":610,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":610,"endColumn":45,"fix":{"range":[22239,22242],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":610,"column":44,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":610,"endColumn":45,"fix":{"range":[22263,22286],"text":"timestamp\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":612,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":612,"endColumn":54,"fix":{"range":[22367,22381],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":614,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":614,"endColumn":28,"fix":{"range":[22411,22431],"text":"null\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":616,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":616,"endColumn":50,"fix":{"range":[22494,22518],"text":")\n context"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":617,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":617,"endColumn":37,"fix":{"range":[22528,22547],"text":"null\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":622,"column":9,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":634,"endColumn":11,"fix":{"range":[22588,22591],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":622,"column":33,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":622,"endColumn":34,"fix":{"range":[22612,22612],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":623,"column":25,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":623,"endColumn":26,"fix":{"range":[22637,22657],"text":"this\n args"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":624,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":624,"endColumn":28,"fix":{"range":[22660,22690],"text":"arguments\n timestamp"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":625,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":625,"endColumn":34,"fix":{"range":[22702,22718],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":626,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":626,"endColumn":47,"fix":{"range":[22715,22718],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":626,"column":46,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":626,"endColumn":47,"fix":{"range":[22743,22764],"text":"timeout\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":628,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":628,"endColumn":47,"fix":{"range":[22788,22822],"text":"{timeout = setTimeout(later, wait);}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":628,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":628,"endColumn":47,"fix":{"range":[22820,22835],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":630,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":630,"endColumn":48,"fix":{"range":[22893,22915],"text":")\n context"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":631,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":631,"endColumn":35,"fix":{"range":[22925,22942],"text":"null\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":633,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":633,"endColumn":25,"fix":{"range":[22960,22977],"text":"result\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":634,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":634,"endColumn":11,"fix":{"range":[22976,22996],"text":"}\n debounced"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":635,"column":35,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":635,"endColumn":36,"fix":{"range":[23013,23013],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":637,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":637,"endColumn":35,"fix":{"range":[23075,23097],"text":")\n timeout"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":638,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":638,"endColumn":28,"fix":{"range":[23100,23117],"text":"null\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":640,"column":10,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":640,"endColumn":11,"fix":{"range":[23126,23146],"text":"}\n debounced"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":641,"column":35,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":641,"endColumn":36,"fix":{"range":[23163,23163],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":643,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":643,"endColumn":48,"fix":{"range":[23238,23260],"text":")\n context"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":644,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":644,"endColumn":35,"fix":{"range":[23270,23300],"text":"null\n clearTimeout"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":645,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":645,"endColumn":35,"fix":{"range":[23308,23330],"text":")\n timeout"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":646,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":646,"endColumn":28,"fix":{"range":[23333,23350],"text":"null\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":648,"column":10,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":648,"endColumn":11,"fix":{"range":[23359,23376],"text":"}\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":649,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":649,"endColumn":26,"fix":{"range":[23377,23395],"text":"debounced\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":651,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":651,"endColumn":38,"fix":{"range":[23423,23446],"text":"debounce5\n module"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":652,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":652,"endColumn":34,"fix":{"range":[23457,23473],"text":"debounce5\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":654,"column":5,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":654,"endColumn":6,"fix":{"range":[23477,23546],"text":")\n\n // node_modules/tom-select/dist/js/tom-select.complete.js\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":657,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4149,"endColumn":6,"fix":{"range":[23543,23546],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'require_tom_select_complete' is not in camel case.","line":657,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":657,"endColumn":34},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":658,"column":5,"nodeType":"Literal","messageId":"wrongQuotes","endLine":658,"endColumn":61,"fix":{"range":[23594,23650],"text":"'node_modules/tom-select/dist/js/tom-select.complete.js'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":658,"column":61,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":658,"endColumn":62,"fix":{"range":[23650,23650],"text":" "}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":659,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":659,"endColumn":17,"fix":{"range":[23685,23685],"text":" "}},{"ruleId":"no-unused-expressions","severity":2,"message":"Expected an assignment or function call and instead saw an expression.","line":660,"column":9,"nodeType":"ExpressionStatement","messageId":"unusedExpression","endLine":660,"endColumn":272},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":660,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":660,"endColumn":36,"fix":{"range":[23733,23741],"text":"'object'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":660,"column":58,"nodeType":"Literal","messageId":"wrongQuotes","endLine":660,"endColumn":69,"fix":{"range":[23763,23774],"text":"'undefined'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":660,"column":119,"nodeType":"Literal","messageId":"wrongQuotes","endLine":660,"endColumn":129,"fix":{"range":[23824,23834],"text":"'function'"}},{"ruleId":"no-undef","severity":2,"message":"'define' is not defined.","line":660,"column":133,"nodeType":"Identifier","messageId":"undef","endLine":660,"endColumn":139},{"ruleId":"no-undef","severity":2,"message":"'define' is not defined.","line":660,"column":146,"nodeType":"Identifier","messageId":"undef","endLine":660,"endColumn":152},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":660,"column":197,"nodeType":"Literal","messageId":"wrongQuotes","endLine":660,"endColumn":208,"fix":{"range":[23902,23913],"text":"'undefined'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":660,"column":271,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":660,"endColumn":272,"fix":{"range":[23975,23985],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":661,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":661,"endColumn":28,"fix":{"range":[24004,24004],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":662,"column":9,"nodeType":"Literal","messageId":"wrongQuotes","endLine":662,"endColumn":21,"fix":{"range":[24017,24029],"text":"'use strict'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":662,"column":21,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":662,"endColumn":22,"fix":{"range":[24017,24047],"text":"\"use strict\"\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":663,"column":27,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":663,"endColumn":28,"fix":{"range":[24057,24057],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":665,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":665,"endColumn":29,"fix":{"range":[24157,24171],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":666,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":666,"endColumn":14,"fix":{"range":[24171,24183],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":669,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":669,"endColumn":23,"fix":{"range":[24232,24232],"text":" "}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":670,"column":28,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":670,"endColumn":34},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":670,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":670,"endColumn":35,"fix":{"range":[24269,24288],"text":"0\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":671,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":671,"endColumn":31,"fix":{"range":[24300,24314],"text":"}\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":673,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":679,"endColumn":12,"fix":{"range":[24314,24314],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":673,"column":13,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":673,"endColumn":14,"fix":{"range":[24327,24327],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'event_array' is not in camel case.","line":675,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":675,"endColumn":32},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":675,"column":60,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":675,"endColumn":61,"fix":{"range":[24446,24474],"text":"]\n event_array"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'event_array' is not in camel case.","line":676,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":676,"endColumn":26},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":676,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":676,"endColumn":37,"fix":{"range":[24483,24504],"text":")\n this"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'event_array' is not in camel case.","line":677,"column":37,"nodeType":"Identifier","messageId":"notCamelCase","endLine":677,"endColumn":48},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":677,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":677,"endColumn":49,"fix":{"range":[24522,24548],"text":"event_array\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":678,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":678,"endColumn":16,"fix":{"range":[24548,24562],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":680,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":697,"endColumn":12,"fix":{"range":[24562,24562],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":680,"column":14,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":680,"endColumn":15,"fix":{"range":[24576,24576],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":681,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":681,"endColumn":39,"fix":{"range":[24605,24608],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":681,"column":38,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":681,"endColumn":39,"fix":{"range":[24624,24646],"text":"length\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":683,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":683,"endColumn":33,"fix":{"range":[24690,24713],"text":"}\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":684,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":684,"endColumn":22,"fix":{"range":[24707,24728],"text":"return\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":688,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":688,"endColumn":44,"fix":{"range":[24844,24869],"text":"]\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":689,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":689,"endColumn":24,"fix":{"range":[24863,24886],"text":"return\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'event_array' is not in camel case.","line":691,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":691,"endColumn":32},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":691,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":691,"endColumn":55,"fix":{"range":[24939,24958],"text":"]\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'event_array' is not in camel case.","line":692,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":692,"endColumn":30},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":692,"column":35,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":692,"endColumn":41},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":693,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":693,"endColumn":24,"fix":{"range":[25000,25007],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":693,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":693,"endColumn":24,"fix":{"range":[25000,25033],"text":"return\n event_array"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'event_array' is not in camel case.","line":694,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":694,"endColumn":26},{"ruleId":"camelcase","severity":2,"message":"Identifier 'event_array' is not in camel case.","line":694,"column":34,"nodeType":"Identifier","messageId":"notCamelCase","endLine":694,"endColumn":45},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":694,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":694,"endColumn":63,"fix":{"range":[25068,25089],"text":")\n this"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'event_array' is not in camel case.","line":695,"column":37,"nodeType":"Identifier","messageId":"notCamelCase","endLine":695,"endColumn":48},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":695,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":695,"endColumn":49,"fix":{"range":[25107,25133],"text":"event_array\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":696,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":696,"endColumn":16,"fix":{"range":[25133,25147],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":698,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":708,"endColumn":12,"fix":{"range":[25147,25147],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":698,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":698,"endColumn":19,"fix":{"range":[25165,25165],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":699,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":699,"endColumn":30,"fix":{"range":[25198,25201],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":699,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":699,"endColumn":30,"fix":{"range":[25210,25237],"text":"this\n forEvents"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'event_array' is not in camel case.","line":701,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":701,"endColumn":32},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":701,"column":55,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":701,"endColumn":56,"fix":{"range":[25313,25332],"text":"]\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'event_array' is not in camel case.","line":702,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":702,"endColumn":30},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":702,"column":35,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":702,"endColumn":41},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":703,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":703,"endColumn":24,"fix":{"range":[25374,25381],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":703,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":703,"endColumn":24,"fix":{"range":[25374,25407],"text":"return\n event_array"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'event_array' is not in camel case.","line":704,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":704,"endColumn":26},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":705,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":705,"endColumn":40,"fix":{"range":[25464,25482],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":706,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":706,"endColumn":18,"fix":{"range":[25482,25498],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":707,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":707,"endColumn":16,"fix":{"range":[25498,25512],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":710,"column":29,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":710,"endColumn":30,"fix":{"range":[25551,25551],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":711,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":711,"endColumn":34,"fix":{"range":[25596,25615],"text":"}\n return"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":713,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":713,"endColumn":25,"fix":{"range":[25665,25665],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":714,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":714,"endColumn":30,"fix":{"range":[25704,25725],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":720,"column":16,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":720,"endColumn":17,"fix":{"range":[25867,25883],"text":"}\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":722,"column":13,"nodeType":"MethodDefinition","messageId":"always","endLine":727,"endColumn":14,"fix":{"range":[25883,25883],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":722,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":722,"endColumn":27,"fix":{"range":[25909,25909],"text":" "}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'name' found.","line":724,"column":17,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":724,"endColumn":29,"fix":{"range":[25981,25987],"text":"name"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":724,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":724,"endColumn":23,"fix":{"range":[25981,25987],"text":"'name'"}},{"ruleId":"object-shorthand","severity":1,"message":"Expected property shorthand.","line":724,"column":17,"nodeType":"Property","messageId":"expectedPropertyShorthand","endLine":724,"endColumn":29,"fix":{"range":[25981,25993],"text":"name"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'fn' found.","line":725,"column":17,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":725,"endColumn":26,"fix":{"range":[26011,26015],"text":"fn"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":725,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":725,"endColumn":21,"fix":{"range":[26011,26015],"text":"'fn'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":726,"column":16,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":726,"endColumn":17,"fix":{"range":[26035,26051],"text":"}\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":728,"column":13,"nodeType":"MethodDefinition","messageId":"always","endLine":752,"endColumn":14,"fix":{"range":[26051,26051],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":728,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":728,"endColumn":31,"fix":{"range":[26081,26081],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":729,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":729,"endColumn":29,"fix":{"range":[26107,26110],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":729,"column":28,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":729,"endColumn":29,"fix":{"range":[26116,26141],"text":"name\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":730,"column":33,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":730,"endColumn":34,"fix":{"range":[26150,26175],"text":"this\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":731,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":731,"endColumn":32,"fix":{"range":[26185,26204],"text":"]\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":734,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":734,"endColumn":49,"fix":{"range":[26318,26326],"text":"'string'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":735,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":735,"endColumn":40,"fix":{"range":[26367,26389],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":737,"column":73,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":737,"endColumn":74,"fix":{"range":[26462,26496],"text":"options\n queue"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":738,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":738,"endColumn":45,"fix":{"range":[26513,26535],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":740,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":740,"endColumn":20,"fix":{"range":[26553,26571],"text":")\n }"}},{"ruleId":"no-prototype-builtins","severity":2,"message":"Do not access Object.prototype method 'hasOwnProperty' from target object.","line":743,"column":31,"nodeType":"CallExpression","messageId":"prototypeBuildIn","endLine":743,"endColumn":45},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":744,"column":63,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":744,"endColumn":64,"fix":{"range":[26745,26773],"text":"]\n queue"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":745,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":745,"endColumn":37,"fix":{"range":[26782,26804],"text":")\n }"}},{"ruleId":"no-cond-assign","severity":2,"message":"Expected a conditional expression and instead saw an assignment.","line":749,"column":22,"nodeType":"AssignmentExpression","messageId":"missing","endLine":749,"endColumn":42},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":750,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":750,"endColumn":37,"fix":{"range":[26918,26936],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":753,"column":13,"nodeType":"MethodDefinition","messageId":"always","endLine":763,"endColumn":14,"fix":{"range":[26950,26950],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":753,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":753,"endColumn":24,"fix":{"range":[26973,26973],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":754,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":754,"endColumn":32,"fix":{"range":[26996,26999],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":754,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":754,"endColumn":32,"fix":{"range":[27008,27031],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":755,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":755,"endColumn":43,"fix":{"range":[27028,27031],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":755,"column":42,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":755,"endColumn":43,"fix":{"range":[27048,27074],"text":"plugins\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":756,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":756,"endColumn":52,"fix":{"range":[27071,27074],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":756,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":756,"endColumn":52,"fix":{"range":[27106,27125],"text":"]\n if"}},{"ruleId":"no-prototype-builtins","severity":2,"message":"Do not access Object.prototype method 'hasOwnProperty' from target object.","line":757,"column":38,"nodeType":"CallExpression","messageId":"prototypeBuildIn","endLine":757,"endColumn":52},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":758,"column":72,"nodeType":"ThrowStatement","messageId":"extraSemi","endLine":758,"endColumn":73,"fix":{"range":[27240,27258],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":760,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":760,"endColumn":46,"fix":{"range":[27299,27326],"text":"true\n plugins"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":761,"column":98,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":761,"endColumn":99,"fix":{"range":[27401,27425],"text":")\n plugins"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":762,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":762,"endColumn":40,"fix":{"range":[27441,27457],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":764,"column":13,"nodeType":"MethodDefinition","messageId":"always","endLine":774,"endColumn":14,"fix":{"range":[27457,27457],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":764,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":764,"endColumn":21,"fix":{"range":[27477,27477],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":765,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":765,"endColumn":32,"fix":{"range":[27500,27503],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":765,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":765,"endColumn":32,"fix":{"range":[27512,27535],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":766,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":766,"endColumn":43,"fix":{"range":[27532,27535],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":766,"column":42,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":766,"endColumn":43,"fix":{"range":[27552,27577],"text":"plugins\n if"}},{"ruleId":"no-prototype-builtins","severity":2,"message":"Do not access Object.prototype method 'hasOwnProperty' from target object.","line":767,"column":41,"nodeType":"CallExpression","messageId":"prototypeBuildIn","endLine":767,"endColumn":55},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":769,"column":85,"nodeType":"ThrowStatement","messageId":"extraSemi","endLine":769,"endColumn":86,"fix":{"range":[27755,27775],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":771,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":771,"endColumn":40,"fix":{"range":[27813,27831],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":773,"column":42,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":773,"endColumn":43,"fix":{"range":[27872,27888],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":775,"column":12,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":775,"endColumn":13,"fix":{"range":[27899,27911],"text":"}\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":778,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":778,"endColumn":41,"fix":{"range":[27994,28009],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":780,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":780,"endColumn":34,"fix":{"range":[28062,28064],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":780,"column":34,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":780,"endColumn":35,"fix":{"range":[28062,28077],"text":"\"\"\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":782,"column":40,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":782,"endColumn":42},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":782,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":782,"endColumn":50,"fix":{"range":[28124,28127],"text":"'['"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":782,"column":64,"nodeType":"Literal","messageId":"wrongQuotes","endLine":782,"endColumn":66,"fix":{"range":[28141,28143],"text":"''"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":782,"column":70,"nodeType":"Literal","messageId":"wrongQuotes","endLine":782,"endColumn":73,"fix":{"range":[28147,28150],"text":"']'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":782,"column":76,"nodeType":"Literal","messageId":"wrongQuotes","endLine":782,"endColumn":81,"fix":{"range":[28153,28158],"text":"'(?:'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":782,"column":95,"nodeType":"Literal","messageId":"wrongQuotes","endLine":782,"endColumn":98,"fix":{"range":[28172,28175],"text":"'|'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":782,"column":102,"nodeType":"Literal","messageId":"wrongQuotes","endLine":782,"endColumn":105,"fix":{"range":[28179,28182],"text":"')'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":782,"column":105,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":782,"endColumn":106,"fix":{"range":[28179,28193],"text":"\")\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":783,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":783,"endColumn":11,"fix":{"range":[28192,28208],"text":"}\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":786,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":786,"endColumn":33,"fix":{"range":[28309,28311],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":786,"column":34,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":786,"endColumn":35,"fix":{"range":[28311,28325],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":788,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":788,"endColumn":27,"fix":{"range":[28350,28352],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":788,"column":27,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":788,"endColumn":28,"fix":{"range":[28350,28367],"text":"\"\"\n let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'prev_char_count' is not in camel case.","line":789,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":789,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":789,"column":34,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":789,"endColumn":35,"fix":{"range":[28386,28404],"text":"0\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'prev_pattern' is not in camel case.","line":790,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":790,"endColumn":29},{"ruleId":"camelcase","severity":2,"message":"Identifier 'prev_char_count' is not in camel case.","line":791,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":791,"endColumn":32},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":792,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":792,"endColumn":29,"fix":{"range":[28492,28495],"text":"'{'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'prev_char_count' is not in camel case.","line":792,"column":32,"nodeType":"Identifier","messageId":"notCamelCase","endLine":792,"endColumn":47},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":792,"column":50,"nodeType":"Literal","messageId":"wrongQuotes","endLine":792,"endColumn":53,"fix":{"range":[28516,28519],"text":"'}'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":792,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":792,"endColumn":54,"fix":{"range":[28516,28534],"text":"\"}\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":794,"column":12,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":794,"endColumn":13,"fix":{"range":[28545,28563],"text":"}\n array"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'prev_char_count' is not in camel case.","line":797,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":797,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":797,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":797,"endColumn":33,"fix":{"range":[28659,28683],"text":"++\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":798,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":798,"endColumn":22,"fix":{"range":[28677,28698],"text":"return\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":800,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":800,"endColumn":28,"fix":{"range":[28724,28746],"text":")\n pattern"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":801,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":801,"endColumn":29,"fix":{"range":[28750,28783],"text":"char\n prev_char_count"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'prev_char_count' is not in camel case.","line":802,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":802,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":802,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":802,"endColumn":33,"fix":{"range":[28786,28800],"text":"1\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":803,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":803,"endColumn":14,"fix":{"range":[28800,28825],"text":")\n prev_pattern"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":804,"column":25,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":804,"endColumn":26,"fix":{"range":[28826,28845],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":805,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":805,"endColumn":26,"fix":{"range":[28846,28864],"text":"pattern\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":806,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":806,"endColumn":11,"fix":{"range":[28863,28879],"text":"}\n const"}},{"ruleId":"prefer-const","severity":2,"message":"'array' is never reassigned. Use 'const' instead.","line":808,"column":15,"nodeType":"Identifier","messageId":"useConst","endLine":808,"endColumn":20,"fix":{"range":[28918,28945],"text":"const array = toArray(chars);"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":808,"column":37,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":808,"endColumn":38,"fix":{"range":[28943,28962],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":809,"column":39,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":809,"endColumn":40,"fix":{"range":[28983,28995],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":810,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":810,"endColumn":11,"fix":{"range":[28994,29010],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":812,"column":54,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":812,"endColumn":55,"fix":{"range":[29087,29104],"text":"length\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":813,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":813,"endColumn":11,"fix":{"range":[29103,29119],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'escape_regex' is not in camel case.","line":814,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":814,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":815,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":815,"endColumn":27,"fix":{"range":[29170,29172],"text":"''"}},{"ruleId":"no-useless-escape","severity":2,"message":"Unnecessary escape character: \\$.","line":815,"column":40,"nodeType":"Literal","messageId":"unnecessaryEscape","endLine":815,"endColumn":41,"suggestions":[{"messageId":"removeEscape","fix":{"range":[29185,29186],"text":""},"desc":"Remove the `\\`. This maintains the current functionality."},{"messageId":"escapeBackslash","fix":{"range":[29185,29185],"text":"\\"},"desc":"Replace the `\\` with `\\\\` to include the actual backslash character."}]},{"ruleId":"no-useless-escape","severity":2,"message":"Unnecessary escape character: \\(.","line":815,"column":42,"nodeType":"Literal","messageId":"unnecessaryEscape","endLine":815,"endColumn":43,"suggestions":[{"messageId":"removeEscape","fix":{"range":[29187,29188],"text":""},"desc":"Remove the `\\`. This maintains the current functionality."},{"messageId":"escapeBackslash","fix":{"range":[29187,29187],"text":"\\"},"desc":"Replace the `\\` with `\\\\` to include the actual backslash character."}]},{"ruleId":"no-useless-escape","severity":2,"message":"Unnecessary escape character: \\).","line":815,"column":44,"nodeType":"Literal","messageId":"unnecessaryEscape","endLine":815,"endColumn":45,"suggestions":[{"messageId":"removeEscape","fix":{"range":[29189,29190],"text":""},"desc":"Remove the `\\`. This maintains the current functionality."},{"messageId":"escapeBackslash","fix":{"range":[29189,29189],"text":"\\"},"desc":"Replace the `\\` with `\\\\` to include the actual backslash character."}]},{"ruleId":"no-useless-escape","severity":2,"message":"Unnecessary escape character: \\*.","line":815,"column":46,"nodeType":"Literal","messageId":"unnecessaryEscape","endLine":815,"endColumn":47,"suggestions":[{"messageId":"removeEscape","fix":{"range":[29191,29192],"text":""},"desc":"Remove the `\\`. This maintains the current functionality."},{"messageId":"escapeBackslash","fix":{"range":[29191,29191],"text":"\\"},"desc":"Replace the `\\` with `\\\\` to include the actual backslash character."}]},{"ruleId":"no-useless-escape","severity":2,"message":"Unnecessary escape character: \\+.","line":815,"column":48,"nodeType":"Literal","messageId":"unnecessaryEscape","endLine":815,"endColumn":49,"suggestions":[{"messageId":"removeEscape","fix":{"range":[29193,29194],"text":""},"desc":"Remove the `\\`. This maintains the current functionality."},{"messageId":"escapeBackslash","fix":{"range":[29193,29193],"text":"\\"},"desc":"Replace the `\\` with `\\\\` to include the actual backslash character."}]},{"ruleId":"no-useless-escape","severity":2,"message":"Unnecessary escape character: \\..","line":815,"column":50,"nodeType":"Literal","messageId":"unnecessaryEscape","endLine":815,"endColumn":51,"suggestions":[{"messageId":"removeEscape","fix":{"range":[29195,29196],"text":""},"desc":"Remove the `\\`. This maintains the current functionality."},{"messageId":"escapeBackslash","fix":{"range":[29195,29195],"text":"\\"},"desc":"Replace the `\\` with `\\\\` to include the actual backslash character."}]},{"ruleId":"no-useless-escape","severity":2,"message":"Unnecessary escape character: \\?.","line":815,"column":52,"nodeType":"Literal","messageId":"unnecessaryEscape","endLine":815,"endColumn":53,"suggestions":[{"messageId":"removeEscape","fix":{"range":[29197,29198],"text":""},"desc":"Remove the `\\`. This maintains the current functionality."},{"messageId":"escapeBackslash","fix":{"range":[29197,29197],"text":"\\"},"desc":"Replace the `\\` with `\\\\` to include the actual backslash character."}]},{"ruleId":"no-useless-escape","severity":2,"message":"Unnecessary escape character: \\[.","line":815,"column":54,"nodeType":"Literal","messageId":"unnecessaryEscape","endLine":815,"endColumn":55,"suggestions":[{"messageId":"removeEscape","fix":{"range":[29199,29200],"text":""},"desc":"Remove the `\\`. This maintains the current functionality."},{"messageId":"escapeBackslash","fix":{"range":[29199,29199],"text":"\\"},"desc":"Replace the `\\` with `\\\\` to include the actual backslash character."}]},{"ruleId":"no-useless-escape","severity":2,"message":"Unnecessary escape character: \\^.","line":815,"column":58,"nodeType":"Literal","messageId":"unnecessaryEscape","endLine":815,"endColumn":59,"suggestions":[{"messageId":"removeEscape","fix":{"range":[29203,29204],"text":""},"desc":"Remove the `\\`. This maintains the current functionality."},{"messageId":"escapeBackslash","fix":{"range":[29203,29203],"text":"\\"},"desc":"Replace the `\\` with `\\\\` to include the actual backslash character."}]},{"ruleId":"no-useless-escape","severity":2,"message":"Unnecessary escape character: \\{.","line":815,"column":60,"nodeType":"Literal","messageId":"unnecessaryEscape","endLine":815,"endColumn":61,"suggestions":[{"messageId":"removeEscape","fix":{"range":[29205,29206],"text":""},"desc":"Remove the `\\`. This maintains the current functionality."},{"messageId":"escapeBackslash","fix":{"range":[29205,29205],"text":"\\"},"desc":"Replace the `\\` with `\\\\` to include the actual backslash character."}]},{"ruleId":"no-useless-escape","severity":2,"message":"Unnecessary escape character: \\|.","line":815,"column":62,"nodeType":"Literal","messageId":"unnecessaryEscape","endLine":815,"endColumn":63,"suggestions":[{"messageId":"removeEscape","fix":{"range":[29207,29208],"text":""},"desc":"Remove the `\\`. This maintains the current functionality."},{"messageId":"escapeBackslash","fix":{"range":[29207,29207],"text":"\\"},"desc":"Replace the `\\` with `\\\\` to include the actual backslash character."}]},{"ruleId":"no-useless-escape","severity":2,"message":"Unnecessary escape character: \\}.","line":815,"column":64,"nodeType":"Literal","messageId":"unnecessaryEscape","endLine":815,"endColumn":65,"suggestions":[{"messageId":"removeEscape","fix":{"range":[29209,29210],"text":""},"desc":"Remove the `\\`. This maintains the current functionality."},{"messageId":"escapeBackslash","fix":{"range":[29209,29209],"text":"\\"},"desc":"Replace the `\\` with `\\\\` to include the actual backslash character."}]},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":815,"column":75,"nodeType":"Literal","messageId":"wrongQuotes","endLine":815,"endColumn":81,"fix":{"range":[29220,29226],"text":"'\\\\$1'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":815,"column":82,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":815,"endColumn":83,"fix":{"range":[29226,29238],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":816,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":816,"endColumn":11,"fix":{"range":[29237,29253],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":818,"column":94,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":818,"endColumn":95,"fix":{"range":[29376,29388],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":819,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":819,"endColumn":11,"fix":{"range":[29387,29403],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":821,"column":37,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":821,"endColumn":38,"fix":{"range":[29461,29478],"text":"length\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":822,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":822,"endColumn":11,"fix":{"range":[29477,29493],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":823,"column":47,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":823,"endColumn":48,"fix":{"range":[29525,29541],"text":")\n const"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":826,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":826,"endColumn":30,"fix":{"range":[29617,29634],"text":"{return [[input]];}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":826,"column":29,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":826,"endColumn":30,"fix":{"range":[29632,29648],"text":"]\n let"}},{"ruleId":"prefer-const","severity":2,"message":"'result' is never reassigned. Use 'const' instead.","line":827,"column":15,"nodeType":"Identifier","messageId":"useConst","endLine":827,"endColumn":21,"fix":{"range":[29645,29661],"text":"const result = [];"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":827,"column":26,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":827,"endColumn":27,"fix":{"range":[29659,29677],"text":"]\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":828,"column":44,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":828,"endColumn":45,"fix":{"range":[29704,29722],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":829,"column":45,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":829,"endColumn":46,"fix":{"range":[29750,29767],"text":")\n suba"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":830,"column":32,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":830,"endColumn":33,"fix":{"range":[29784,29784],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":831,"column":41,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":831,"endColumn":42,"fix":{"range":[29837,29855],"text":")\n tmp"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":832,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":832,"endColumn":47,"fix":{"range":[29884,29905],"text":"]\n result"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":833,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":833,"endColumn":30,"fix":{"range":[29914,29932],"text":")\n tmp"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":834,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":834,"endColumn":38,"fix":{"range":[29952,29970],"text":")\n tmp"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":835,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":835,"endColumn":42,"fix":{"range":[29994,30015],"text":")\n result"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":836,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":836,"endColumn":30,"fix":{"range":[30024,30038],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":837,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":837,"endColumn":14,"fix":{"range":[30038,30057],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":838,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":838,"endColumn":25,"fix":{"range":[30058,30075],"text":"result\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":839,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":839,"endColumn":11,"fix":{"range":[30074,30090],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'code_points' is not in camel case.","line":840,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":840,"endColumn":26},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":840,"column":41,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":840,"endColumn":42,"fix":{"range":[30116,30132],"text":"]\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'accent_pat' is not in camel case.","line":841,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":841,"endColumn":25},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":841,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":841,"endColumn":61,"fix":{"range":[30146,30179],"text":"'[\\u0300-\\u036F\\xB7\\u02BE\\u02BC]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":841,"column":61,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":841,"endColumn":62,"fix":{"range":[30146,30192],"text":"\"[\\u0300-\\u036F\\xB7\\u02BE\\u02BC]\"\n let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'unicode_map' is not in camel case.","line":842,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":842,"endColumn":24},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":842,"column":24,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":842,"endColumn":25,"fix":{"range":[30193,30217],"text":"unicode_map\n let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'multi_char_reg' is not in camel case.","line":843,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":843,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":843,"column":27,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":843,"endColumn":28,"fix":{"range":[30218,30247],"text":"multi_char_reg\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'max_char_length' is not in camel case.","line":844,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":844,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":844,"column":34,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":844,"endColumn":35,"fix":{"range":[30266,30282],"text":"3\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'latin_convert' is not in camel case.","line":845,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":845,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":845,"column":33,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":845,"endColumn":34,"fix":{"range":[30300,30316],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'latin_condensed' is not in camel case.","line":846,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":846,"endColumn":30},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":847,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":847,"endColumn":14,"fix":{"range":[30347,30350],"text":"'/'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":847,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":847,"endColumn":30,"fix":{"range":[30352,30366],"text":"'\\u2044\\u2215'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property '0' found.","line":848,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":848,"endColumn":24,"fix":{"range":[30378,30381],"text":"0"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":848,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":848,"endColumn":14,"fix":{"range":[30378,30381],"text":"'0'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":848,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":848,"endColumn":24,"fix":{"range":[30383,30391],"text":"'\\u07C0'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'a' found.","line":849,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":849,"endColumn":36,"fix":{"range":[30403,30406],"text":"a"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":849,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":849,"endColumn":14,"fix":{"range":[30403,30406],"text":"'a'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":849,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":849,"endColumn":36,"fix":{"range":[30408,30428],"text":"'\\u2C65\\u0250\\u0251'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'aa' found.","line":850,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":850,"endColumn":25,"fix":{"range":[30440,30444],"text":"aa"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":850,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":850,"endColumn":15,"fix":{"range":[30440,30444],"text":"'aa'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":850,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":850,"endColumn":25,"fix":{"range":[30446,30454],"text":"'\\uA733'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'ae' found.","line":851,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":851,"endColumn":35,"fix":{"range":[30466,30470],"text":"ae"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":851,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":851,"endColumn":15,"fix":{"range":[30466,30470],"text":"'ae'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":851,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":851,"endColumn":35,"fix":{"range":[30472,30490],"text":"'\\xE6\\u01FD\\u01E3'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'ao' found.","line":852,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":852,"endColumn":25,"fix":{"range":[30502,30506],"text":"ao"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":852,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":852,"endColumn":15,"fix":{"range":[30502,30506],"text":"'ao'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":852,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":852,"endColumn":25,"fix":{"range":[30508,30516],"text":"'\\uA735'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'au' found.","line":853,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":853,"endColumn":25,"fix":{"range":[30528,30532],"text":"au"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":853,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":853,"endColumn":15,"fix":{"range":[30528,30532],"text":"'au'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":853,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":853,"endColumn":25,"fix":{"range":[30534,30542],"text":"'\\uA737'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'av' found.","line":854,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":854,"endColumn":31,"fix":{"range":[30554,30558],"text":"av"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":854,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":854,"endColumn":15,"fix":{"range":[30554,30558],"text":"'av'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":854,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":854,"endColumn":31,"fix":{"range":[30560,30574],"text":"'\\uA739\\uA73B'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'ay' found.","line":855,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":855,"endColumn":25,"fix":{"range":[30586,30590],"text":"ay"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":855,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":855,"endColumn":15,"fix":{"range":[30586,30590],"text":"'ay'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":855,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":855,"endColumn":25,"fix":{"range":[30592,30600],"text":"'\\uA73D'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'b' found.","line":856,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":856,"endColumn":36,"fix":{"range":[30612,30615],"text":"b"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":856,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":856,"endColumn":14,"fix":{"range":[30612,30615],"text":"'b'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":856,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":856,"endColumn":36,"fix":{"range":[30617,30637],"text":"'\\u0180\\u0253\\u0183'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'c' found.","line":857,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":857,"endColumn":42,"fix":{"range":[30649,30652],"text":"c"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":857,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":857,"endColumn":14,"fix":{"range":[30649,30652],"text":"'c'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":857,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":857,"endColumn":42,"fix":{"range":[30654,30680],"text":"'\\uA73F\\u0188\\u023C\\u2184'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'd' found.","line":858,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":858,"endColumn":66,"fix":{"range":[30692,30695],"text":"d"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":858,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":858,"endColumn":14,"fix":{"range":[30692,30695],"text":"'d'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":858,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":858,"endColumn":66,"fix":{"range":[30697,30747],"text":"'\\u0111\\u0257\\u0256\\u1D05\\u018C\\uABB7\\u0501\\u0266'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'e' found.","line":859,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":859,"endColumn":42,"fix":{"range":[30759,30762],"text":"e"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":859,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":859,"endColumn":14,"fix":{"range":[30759,30762],"text":"'e'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":859,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":859,"endColumn":42,"fix":{"range":[30764,30790],"text":"'\\u025B\\u01DD\\u1D07\\u0247'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'f' found.","line":860,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":860,"endColumn":30,"fix":{"range":[30802,30805],"text":"f"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":860,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":860,"endColumn":14,"fix":{"range":[30802,30805],"text":"'f'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":860,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":860,"endColumn":30,"fix":{"range":[30807,30821],"text":"'\\uA77C\\u0192'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'g' found.","line":861,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":861,"endColumn":54,"fix":{"range":[30833,30836],"text":"g"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":861,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":861,"endColumn":14,"fix":{"range":[30833,30836],"text":"'g'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":861,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":861,"endColumn":54,"fix":{"range":[30838,30876],"text":"'\\u01E5\\u0260\\uA7A1\\u1D79\\uA77F\\u0262'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'h' found.","line":862,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":862,"endColumn":42,"fix":{"range":[30888,30891],"text":"h"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":862,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":862,"endColumn":14,"fix":{"range":[30888,30891],"text":"'h'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":862,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":862,"endColumn":42,"fix":{"range":[30893,30919],"text":"'\\u0127\\u2C68\\u2C76\\u0265'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'i' found.","line":863,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":863,"endColumn":30,"fix":{"range":[30931,30934],"text":"i"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":863,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":863,"endColumn":14,"fix":{"range":[30931,30934],"text":"'i'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":863,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":863,"endColumn":30,"fix":{"range":[30936,30950],"text":"'\\u0268\\u0131'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'j' found.","line":864,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":864,"endColumn":30,"fix":{"range":[30962,30965],"text":"j"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":864,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":864,"endColumn":14,"fix":{"range":[30962,30965],"text":"'j'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":864,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":864,"endColumn":30,"fix":{"range":[30967,30981],"text":"'\\u0249\\u0237'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'k' found.","line":865,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":865,"endColumn":54,"fix":{"range":[30993,30996],"text":"k"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":865,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":865,"endColumn":14,"fix":{"range":[30993,30996],"text":"'k'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":865,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":865,"endColumn":54,"fix":{"range":[30998,31036],"text":"'\\u0199\\u2C6A\\uA741\\uA743\\uA745\\uA7A3'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'l' found.","line":866,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":866,"endColumn":66,"fix":{"range":[31048,31051],"text":"l"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":866,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":866,"endColumn":14,"fix":{"range":[31048,31051],"text":"'l'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":866,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":866,"endColumn":66,"fix":{"range":[31053,31103],"text":"'\\u0142\\u019A\\u026B\\u2C61\\uA749\\uA747\\uA781\\u026D'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'm' found.","line":867,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":867,"endColumn":36,"fix":{"range":[31115,31118],"text":"m"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":867,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":867,"endColumn":14,"fix":{"range":[31115,31118],"text":"'m'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":867,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":867,"endColumn":36,"fix":{"range":[31120,31140],"text":"'\\u0271\\u026F\\u03FB'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'n' found.","line":868,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":868,"endColumn":60,"fix":{"range":[31152,31155],"text":"n"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":868,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":868,"endColumn":14,"fix":{"range":[31152,31155],"text":"'n'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":868,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":868,"endColumn":60,"fix":{"range":[31157,31201],"text":"'\\uA7A5\\u019E\\u0272\\uA791\\u1D0E\\u043B\\u0509'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'o' found.","line":869,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":869,"endColumn":58,"fix":{"range":[31213,31216],"text":"o"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":869,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":869,"endColumn":14,"fix":{"range":[31213,31216],"text":"'o'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":869,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":869,"endColumn":58,"fix":{"range":[31218,31260],"text":"'\\xF8\\u01FF\\u0254\\u0275\\uA74B\\uA74D\\u1D11'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'oe' found.","line":870,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":870,"endColumn":25,"fix":{"range":[31272,31276],"text":"oe"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":870,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":870,"endColumn":15,"fix":{"range":[31272,31276],"text":"'oe'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":870,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":870,"endColumn":25,"fix":{"range":[31278,31286],"text":"'\\u0153'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'oi' found.","line":871,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":871,"endColumn":25,"fix":{"range":[31298,31302],"text":"oi"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":871,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":871,"endColumn":15,"fix":{"range":[31298,31302],"text":"'oi'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":871,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":871,"endColumn":25,"fix":{"range":[31304,31312],"text":"'\\u01A3'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'oo' found.","line":872,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":872,"endColumn":25,"fix":{"range":[31324,31328],"text":"oo"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":872,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":872,"endColumn":15,"fix":{"range":[31324,31328],"text":"'oo'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":872,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":872,"endColumn":25,"fix":{"range":[31330,31338],"text":"'\\uA74F'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'ou' found.","line":873,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":873,"endColumn":25,"fix":{"range":[31350,31354],"text":"ou"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":873,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":873,"endColumn":15,"fix":{"range":[31350,31354],"text":"'ou'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":873,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":873,"endColumn":25,"fix":{"range":[31356,31364],"text":"'\\u0223'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'p' found.","line":874,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":874,"endColumn":54,"fix":{"range":[31376,31379],"text":"p"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":874,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":874,"endColumn":14,"fix":{"range":[31376,31379],"text":"'p'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":874,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":874,"endColumn":54,"fix":{"range":[31381,31419],"text":"'\\u01A5\\u1D7D\\uA751\\uA753\\uA755\\u03C1'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'q' found.","line":875,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":875,"endColumn":36,"fix":{"range":[31431,31434],"text":"q"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":875,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":875,"endColumn":14,"fix":{"range":[31431,31434],"text":"'q'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":875,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":875,"endColumn":36,"fix":{"range":[31436,31456],"text":"'\\uA757\\uA759\\u024B'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'r' found.","line":876,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":876,"endColumn":48,"fix":{"range":[31468,31471],"text":"r"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":876,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":876,"endColumn":14,"fix":{"range":[31468,31471],"text":"'r'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":876,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":876,"endColumn":48,"fix":{"range":[31473,31505],"text":"'\\u024D\\u027D\\uA75B\\uA7A7\\uA783'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 's' found.","line":877,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":877,"endColumn":46,"fix":{"range":[31517,31520],"text":"s"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":877,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":877,"endColumn":14,"fix":{"range":[31517,31520],"text":"'s'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":877,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":877,"endColumn":46,"fix":{"range":[31522,31552],"text":"'\\xDF\\u023F\\uA7A9\\uA785\\u0282'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 't' found.","line":878,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":878,"endColumn":48,"fix":{"range":[31564,31567],"text":"t"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":878,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":878,"endColumn":14,"fix":{"range":[31564,31567],"text":"'t'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":878,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":878,"endColumn":48,"fix":{"range":[31569,31601],"text":"'\\u0167\\u01AD\\u0288\\u2C66\\uA787'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'th' found.","line":879,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":879,"endColumn":23,"fix":{"range":[31613,31617],"text":"th"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":879,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":879,"endColumn":15,"fix":{"range":[31613,31617],"text":"'th'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":879,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":879,"endColumn":23,"fix":{"range":[31619,31625],"text":"'\\xFE'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'tz' found.","line":880,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":880,"endColumn":25,"fix":{"range":[31637,31641],"text":"tz"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":880,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":880,"endColumn":15,"fix":{"range":[31637,31641],"text":"'tz'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":880,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":880,"endColumn":25,"fix":{"range":[31643,31651],"text":"'\\uA729'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'u' found.","line":881,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":881,"endColumn":24,"fix":{"range":[31663,31666],"text":"u"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":881,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":881,"endColumn":14,"fix":{"range":[31663,31666],"text":"'u'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":881,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":881,"endColumn":24,"fix":{"range":[31668,31676],"text":"'\\u0289'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'v' found.","line":882,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":882,"endColumn":36,"fix":{"range":[31688,31691],"text":"v"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":882,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":882,"endColumn":14,"fix":{"range":[31688,31691],"text":"'v'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":882,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":882,"endColumn":36,"fix":{"range":[31693,31713],"text":"'\\u028B\\uA75F\\u028C'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'vy' found.","line":883,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":883,"endColumn":25,"fix":{"range":[31725,31729],"text":"vy"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":883,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":883,"endColumn":15,"fix":{"range":[31725,31729],"text":"'vy'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":883,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":883,"endColumn":25,"fix":{"range":[31731,31739],"text":"'\\uA761'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'w' found.","line":884,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":884,"endColumn":24,"fix":{"range":[31751,31754],"text":"w"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":884,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":884,"endColumn":14,"fix":{"range":[31751,31754],"text":"'w'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":884,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":884,"endColumn":24,"fix":{"range":[31756,31764],"text":"'\\u2C73'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'y' found.","line":885,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":885,"endColumn":36,"fix":{"range":[31776,31779],"text":"y"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":885,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":885,"endColumn":14,"fix":{"range":[31776,31779],"text":"'y'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":885,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":885,"endColumn":36,"fix":{"range":[31781,31801],"text":"'\\u01B4\\u024F\\u1EFF'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'z' found.","line":886,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":886,"endColumn":48,"fix":{"range":[31813,31816],"text":"z"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":886,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":886,"endColumn":14,"fix":{"range":[31813,31816],"text":"'z'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":886,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":886,"endColumn":48,"fix":{"range":[31818,31850],"text":"'\\u01B6\\u0225\\u0240\\u2C6C\\uA763'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'hv' found.","line":887,"column":11,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":887,"endColumn":25,"fix":{"range":[31862,31866],"text":"hv"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":887,"column":11,"nodeType":"Literal","messageId":"wrongQuotes","endLine":887,"endColumn":15,"fix":{"range":[31862,31866],"text":"'hv'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":887,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":887,"endColumn":25,"fix":{"range":[31868,31876],"text":"'\\u0195'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":888,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":888,"endColumn":11,"fix":{"range":[31885,31899],"text":"}\n for"}},{"ruleId":"prefer-const","severity":2,"message":"'latin' is never reassigned. Use 'const' instead.","line":889,"column":18,"nodeType":"Identifier","messageId":"useConst","endLine":889,"endColumn":23,"fix":{"range":[31901,31910],"text":"const latin"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'latin_condensed' is not in camel case.","line":889,"column":27,"nodeType":"Identifier","messageId":"notCamelCase","endLine":889,"endColumn":42},{"ruleId":"prefer-const","severity":2,"message":"'unicode' is never reassigned. Use 'const' instead.","line":890,"column":15,"nodeType":"Identifier","messageId":"useConst","endLine":890,"endColumn":22,"fix":{"range":[31943,31986],"text":"const unicode = latin_condensed[latin] || \"\";"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'latin_condensed' is not in camel case.","line":890,"column":25,"nodeType":"Identifier","messageId":"notCamelCase","endLine":890,"endColumn":40},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":890,"column":51,"nodeType":"Literal","messageId":"wrongQuotes","endLine":890,"endColumn":53,"fix":{"range":[31983,31985],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":890,"column":53,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":890,"endColumn":54,"fix":{"range":[31983,32000],"text":"\"\"\n for"}},{"ruleId":"prefer-const","severity":2,"message":"'char' is never reassigned. Use 'const' instead.","line":892,"column":17,"nodeType":"Identifier","messageId":"useConst","endLine":892,"endColumn":21,"fix":{"range":[32055,32096],"text":"const char = unicode.substring(i2, i2 + 1);"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":892,"column":53,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":892,"endColumn":54,"fix":{"range":[32094,32122],"text":")\n latin_convert"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'latin_convert' is not in camel case.","line":893,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":893,"endColumn":26},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":893,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":893,"endColumn":41,"fix":{"range":[32131,32149],"text":"latin\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'convert_pat' is not in camel case.","line":896,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":896,"endColumn":26},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":896,"column":72,"nodeType":"Literal","messageId":"wrongQuotes","endLine":896,"endColumn":75,"fix":{"range":[32231,32234],"text":"'|'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":896,"column":79,"nodeType":"Literal","messageId":"wrongQuotes","endLine":896,"endColumn":82,"fix":{"range":[32238,32241],"text":"'|'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'accent_pat' is not in camel case.","line":896,"column":85,"nodeType":"Identifier","messageId":"notCamelCase","endLine":896,"endColumn":95},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":896,"column":97,"nodeType":"Literal","messageId":"wrongQuotes","endLine":896,"endColumn":101,"fix":{"range":[32256,32260],"text":"'gu'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":896,"column":102,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":896,"endColumn":103,"fix":{"range":[32260,32276],"text":")\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier '_code_points' is not in camel case.","line":897,"column":29,"nodeType":"Identifier","messageId":"notCamelCase","endLine":897,"endColumn":41},{"ruleId":"camelcase","severity":2,"message":"Identifier 'unicode_map' is not in camel case.","line":898,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":898,"endColumn":26},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":898,"column":31,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":898,"endColumn":37},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":899,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":899,"endColumn":20,"fix":{"range":[32360,32367],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":899,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":899,"endColumn":20,"fix":{"range":[32360,32389],"text":"return\n unicode_map"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'unicode_map' is not in camel case.","line":900,"column":11,"nodeType":"Identifier","messageId":"notCamelCase","endLine":900,"endColumn":22},{"ruleId":"camelcase","severity":2,"message":"Identifier '_code_points' is not in camel case.","line":900,"column":37,"nodeType":"Identifier","messageId":"notCamelCase","endLine":900,"endColumn":49},{"ruleId":"camelcase","severity":2,"message":"Identifier 'code_points' is not in camel case.","line":900,"column":53,"nodeType":"Identifier","messageId":"notCamelCase","endLine":900,"endColumn":64},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":900,"column":65,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":900,"endColumn":66,"fix":{"range":[32431,32443],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":901,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":901,"endColumn":11,"fix":{"range":[32442,32458],"text":"}\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":902,"column":40,"nodeType":"Literal","messageId":"wrongQuotes","endLine":902,"endColumn":46,"fix":{"range":[32484,32490],"text":"'NFKD'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":902,"column":70,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":902,"endColumn":71,"fix":{"range":[32513,32529],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":905,"column":45,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":905,"endColumn":46,"fix":{"range":[32653,32667],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":906,"column":14,"nodeType":"Literal","messageId":"wrongQuotes","endLine":906,"endColumn":16,"fix":{"range":[32669,32671],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":906,"column":17,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":906,"endColumn":18,"fix":{"range":[32671,32683],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":907,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":907,"endColumn":11,"fix":{"range":[32682,32698],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'latin_convert' is not in camel case.","line":910,"column":20,"nodeType":"Identifier","messageId":"notCamelCase","endLine":910,"endColumn":33},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":910,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":910,"endColumn":45,"fix":{"range":[32843,32845],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":910,"column":45,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":910,"endColumn":46,"fix":{"range":[32843,32858],"text":"\"\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":911,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":911,"endColumn":14,"fix":{"range":[32858,32877],"text":")\n return"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":912,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":912,"endColumn":38,"fix":{"range":[32893,32898],"text":"'NFC'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":912,"column":39,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":912,"endColumn":40,"fix":{"range":[32898,32910],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":913,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":913,"endColumn":11,"fix":{"range":[32909,32928],"text":"}\n function"}},{"ruleId":"generator-star-spacing","severity":2,"message":"Missing space before *.","line":914,"column":17,"nodeType":"Punctuator","messageId":"missingBefore","endLine":914,"endColumn":18,"fix":{"range":[32928,32928],"text":" "}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":914,"column":28,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":914,"endColumn":29,"fix":{"range":[32939,32939],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'code_points2' is not in camel case.","line":914,"column":29,"nodeType":"Identifier","messageId":"notCamelCase","endLine":914,"endColumn":41},{"ruleId":"camelcase","severity":2,"message":"Identifier 'code_point_min' is not in camel case.","line":915,"column":23,"nodeType":"Identifier","messageId":"notCamelCase","endLine":915,"endColumn":37},{"ruleId":"camelcase","severity":2,"message":"Identifier 'code_point_max' is not in camel case.","line":915,"column":39,"nodeType":"Identifier","messageId":"notCamelCase","endLine":915,"endColumn":53},{"ruleId":"camelcase","severity":2,"message":"Identifier 'code_points2' is not in camel case.","line":915,"column":58,"nodeType":"Identifier","messageId":"notCamelCase","endLine":915,"endColumn":70},{"ruleId":"camelcase","severity":2,"message":"Identifier 'code_point_min' is not in camel case.","line":916,"column":27,"nodeType":"Identifier","messageId":"notCamelCase","endLine":916,"endColumn":41},{"ruleId":"camelcase","severity":2,"message":"Identifier 'code_point_max' is not in camel case.","line":916,"column":49,"nodeType":"Identifier","messageId":"notCamelCase","endLine":916,"endColumn":63},{"ruleId":"prefer-const","severity":2,"message":"'composed' is never reassigned. Use 'const' instead.","line":917,"column":19,"nodeType":"Identifier","messageId":"useConst","endLine":917,"endColumn":27,"fix":{"range":[33115,33154],"text":"const composed = String.fromCharCode(i2);"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":917,"column":53,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":917,"endColumn":54,"fix":{"range":[33152,33172],"text":")\n let"}},{"ruleId":"prefer-const","severity":2,"message":"'folded' is never reassigned. Use 'const' instead.","line":918,"column":19,"nodeType":"Identifier","messageId":"useConst","endLine":918,"endColumn":25,"fix":{"range":[33169,33202],"text":"const folded = asciifold(composed);"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":918,"column":47,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":918,"endColumn":48,"fix":{"range":[33200,33219],"text":")\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":919,"column":26,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":919,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":920,"column":25,"nodeType":"ContinueStatement","messageId":"extraSemi","endLine":920,"endColumn":26,"fix":{"range":[33273,33298],"text":"continue\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'max_char_length' is not in camel case.","line":922,"column":35,"nodeType":"Identifier","messageId":"notCamelCase","endLine":922,"endColumn":50},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":923,"column":25,"nodeType":"ContinueStatement","messageId":"extraSemi","endLine":923,"endColumn":26,"fix":{"range":[33368,33393],"text":"continue\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":925,"column":33,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":925,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":926,"column":25,"nodeType":"ContinueStatement","messageId":"extraSemi","endLine":926,"endColumn":26,"fix":{"range":[33450,33475],"text":"continue\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":932,"column":16,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":932,"endColumn":17,"fix":{"range":[33593,33609],"text":"}\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'code_points2' is not in camel case.","line":936,"column":31,"nodeType":"Identifier","messageId":"notCamelCase","endLine":936,"endColumn":43},{"ruleId":"camelcase","severity":2,"message":"Identifier 'unicode_sets' is not in camel case.","line":937,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":937,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":937,"column":34,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":937,"endColumn":35,"fix":{"range":[33713,33731],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'to_add' is not in camel case.","line":938,"column":40,"nodeType":"Identifier","messageId":"notCamelCase","endLine":938,"endColumn":46},{"ruleId":"camelcase","severity":2,"message":"Identifier 'folded_set' is not in camel case.","line":939,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":939,"endColumn":29},{"ruleId":"camelcase","severity":2,"message":"Identifier 'unicode_sets' is not in camel case.","line":939,"column":32,"nodeType":"Identifier","messageId":"notCamelCase","endLine":939,"endColumn":44},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":939,"column":81,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":939,"endColumn":82,"fix":{"range":[33847,33867],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":940,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":940,"endColumn":40,"fix":{"range":[33886,33889],"text":"'^'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":940,"column":70,"nodeType":"Literal","messageId":"wrongQuotes","endLine":940,"endColumn":73,"fix":{"range":[33919,33922],"text":"'$'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":940,"column":75,"nodeType":"Literal","messageId":"wrongQuotes","endLine":940,"endColumn":79,"fix":{"range":[33924,33928],"text":"'iu'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":940,"column":80,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":940,"endColumn":81,"fix":{"range":[33928,33945],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'to_add' is not in camel case.","line":941,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":941,"endColumn":23},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":942,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":942,"endColumn":22,"fix":{"range":[33983,34004],"text":"return\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'folded_set' is not in camel case.","line":944,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":944,"endColumn":23},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":944,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":944,"endColumn":50,"fix":{"range":[34052,34079],"text":")\n unicode_sets"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'unicode_sets' is not in camel case.","line":945,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":945,"endColumn":25},{"ruleId":"camelcase","severity":2,"message":"Identifier 'folded_set' is not in camel case.","line":945,"column":36,"nodeType":"Identifier","messageId":"notCamelCase","endLine":945,"endColumn":46},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":945,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":945,"endColumn":47,"fix":{"range":[34090,34113],"text":"folded_set\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":946,"column":12,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":946,"endColumn":13,"fix":{"range":[34112,34128],"text":"}\n for"}},{"ruleId":"prefer-const","severity":2,"message":"'value' is never reassigned. Use 'const' instead.","line":947,"column":20,"nodeType":"Identifier","messageId":"useConst","endLine":947,"endColumn":25,"fix":{"range":[34130,34139],"text":"const value"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":948,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":948,"endColumn":53,"fix":{"range":[34220,34246],"text":")\n addMatching"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":949,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":949,"endColumn":55,"fix":{"range":[34275,34289],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'unicode_sets' is not in camel case.","line":951,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":951,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":951,"column":30,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":951,"endColumn":31,"fix":{"range":[34307,34330],"text":"unicode_sets\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":952,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":952,"endColumn":11,"fix":{"range":[34329,34345],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'code_points2' is not in camel case.","line":953,"column":30,"nodeType":"Identifier","messageId":"notCamelCase","endLine":953,"endColumn":42},{"ruleId":"camelcase","severity":2,"message":"Identifier 'unicode_sets' is not in camel case.","line":954,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":954,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":954,"column":58,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":954,"endColumn":59,"fix":{"range":[34436,34454],"text":")\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'unicode_map2' is not in camel case.","line":955,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":955,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":955,"column":34,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":955,"endColumn":35,"fix":{"range":[34471,34487],"text":"}\n let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'multi_char' is not in camel case.","line":956,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":956,"endColumn":25},{"ruleId":"prefer-const","severity":2,"message":"'multi_char' is never reassigned. Use 'const' instead.","line":956,"column":15,"nodeType":"Identifier","messageId":"useConst","endLine":956,"endColumn":25,"fix":{"range":[34484,34504],"text":"const multi_char = [];"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":956,"column":30,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":956,"endColumn":31,"fix":{"range":[34502,34518],"text":"]\n for"}},{"ruleId":"prefer-const","severity":2,"message":"'folded' is never reassigned. Use 'const' instead.","line":957,"column":20,"nodeType":"Identifier","messageId":"useConst","endLine":957,"endColumn":26,"fix":{"range":[34520,34530],"text":"const folded"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'unicode_sets' is not in camel case.","line":957,"column":30,"nodeType":"Identifier","messageId":"notCamelCase","endLine":957,"endColumn":42},{"ruleId":"prefer-const","severity":2,"message":"'set' is never reassigned. Use 'const' instead.","line":958,"column":17,"nodeType":"Identifier","messageId":"useConst","endLine":958,"endColumn":20,"fix":{"range":[34562,34593],"text":"const set = unicode_sets[folded];"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'unicode_sets' is not in camel case.","line":958,"column":23,"nodeType":"Identifier","messageId":"notCamelCase","endLine":958,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":958,"column":43,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":958,"endColumn":44,"fix":{"range":[34591,34608],"text":"]\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'unicode_map2' is not in camel case.","line":960,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":960,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":960,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":960,"endColumn":56,"fix":{"range":[34670,34686],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'multi_char' is not in camel case.","line":963,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":963,"endColumn":25},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":963,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":963,"endColumn":53,"fix":{"range":[34774,34790],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'multi_char' is not in camel case.","line":966,"column":11,"nodeType":"Identifier","messageId":"notCamelCase","endLine":966,"endColumn":21},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":966,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":966,"endColumn":62,"fix":{"range":[34862,34880],"text":")\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'multi_char_patt' is not in camel case.","line":967,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":967,"endColumn":32},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":967,"column":61,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":967,"endColumn":62,"fix":{"range":[34924,34951],"text":")\n multi_char_reg"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'multi_char_reg' is not in camel case.","line":968,"column":11,"nodeType":"Identifier","messageId":"notCamelCase","endLine":968,"endColumn":25},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":968,"column":39,"nodeType":"Literal","messageId":"wrongQuotes","endLine":968,"endColumn":42,"fix":{"range":[34965,34968],"text":"'^'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'multi_char_patt' is not in camel case.","line":968,"column":45,"nodeType":"Identifier","messageId":"notCamelCase","endLine":968,"endColumn":60},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":968,"column":62,"nodeType":"Literal","messageId":"wrongQuotes","endLine":968,"endColumn":65,"fix":{"range":[34988,34991],"text":"'u'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":968,"column":66,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":968,"endColumn":67,"fix":{"range":[34991,35010],"text":")\n return"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'unicode_map2' is not in camel case.","line":969,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":969,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":969,"column":30,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":969,"endColumn":31,"fix":{"range":[35011,35034],"text":"unicode_map2\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":970,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":970,"endColumn":11,"fix":{"range":[35033,35049],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'min_replacement' is not in camel case.","line":971,"column":39,"nodeType":"Identifier","messageId":"notCamelCase","endLine":971,"endColumn":54},{"ruleId":"camelcase","severity":2,"message":"Identifier 'chars_replaced' is not in camel case.","line":972,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":972,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":972,"column":33,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":972,"endColumn":34,"fix":{"range":[35131,35151],"text":"0\n strings"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'unicode_map' is not in camel case.","line":974,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":974,"endColumn":28},{"ruleId":"camelcase","severity":2,"message":"Identifier 'chars_replaced' is not in camel case.","line":975,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":975,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":975,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":975,"endColumn":44,"fix":{"range":[35249,35270],"text":"length\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'unicode_map' is not in camel case.","line":977,"column":20,"nodeType":"Identifier","messageId":"notCamelCase","endLine":977,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":977,"column":43,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":977,"endColumn":44,"fix":{"range":[35310,35326],"text":"str\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":978,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":978,"endColumn":14,"fix":{"range":[35326,35341],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'chars_replaced' is not in camel case.","line":979,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":979,"endColumn":29},{"ruleId":"camelcase","severity":2,"message":"Identifier 'min_replacement' is not in camel case.","line":979,"column":33,"nodeType":"Identifier","messageId":"notCamelCase","endLine":979,"endColumn":48},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":980,"column":44,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":980,"endColumn":45,"fix":{"range":[35422,35436],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":982,"column":18,"nodeType":"Literal","messageId":"wrongQuotes","endLine":982,"endColumn":20,"fix":{"range":[35454,35456],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":982,"column":20,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":982,"endColumn":21,"fix":{"range":[35454,35467],"text":"\"\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":983,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":983,"endColumn":11,"fix":{"range":[35466,35482],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'min_replacement' is not in camel case.","line":984,"column":43,"nodeType":"Identifier","messageId":"notCamelCase","endLine":984,"endColumn":58},{"ruleId":"camelcase","severity":2,"message":"Identifier 'min_replacement' is not in camel case.","line":985,"column":11,"nodeType":"Identifier","messageId":"notCamelCase","endLine":985,"endColumn":26},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":985,"column":70,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":985,"endColumn":71,"fix":{"range":[35605,35624],"text":")\n return"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'sub_pat' is not in camel case.","line":986,"column":57,"nodeType":"Identifier","messageId":"notCamelCase","endLine":986,"endColumn":64},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":987,"column":57,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":987,"endColumn":58,"fix":{"range":[35733,35747],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":988,"column":14,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":988,"endColumn":15,"fix":{"range":[35748,35760],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":989,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":989,"endColumn":11,"fix":{"range":[35759,35775],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'min_replacement' is not in camel case.","line":991,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":991,"endColumn":30},{"ruleId":"prefer-const","severity":2,"message":"'min_replacement' is never reassigned. Use 'const' instead.","line":991,"column":15,"nodeType":"Identifier","messageId":"useConst","endLine":991,"endColumn":30,"fix":{"range":[35836,35887],"text":"const min_replacement = sequences.length > 1 ? 1 : 0;"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":991,"column":61,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":991,"endColumn":62,"fix":{"range":[35885,35904],"text":"0\n return"}},{"ruleId":"prefer-const","severity":2,"message":"'seq' is never reassigned. Use 'const' instead.","line":993,"column":17,"nodeType":"Identifier","messageId":"useConst","endLine":993,"endColumn":20,"fix":{"range":[35962,35975],"text":"const seq = [];"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":993,"column":25,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":993,"endColumn":26,"fix":{"range":[35973,35993],"text":"]\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":994,"column":72,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":994,"endColumn":73,"fix":{"range":[36046,36064],"text":"1\n for"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":996,"column":68,"nodeType":"Literal","messageId":"wrongQuotes","endLine":996,"endColumn":70,"fix":{"range":[36163,36165],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":996,"column":89,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":996,"endColumn":90,"fix":{"range":[36183,36199],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":998,"column":40,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":998,"endColumn":41,"fix":{"range":[36238,36252],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":999,"column":14,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":999,"endColumn":15,"fix":{"range":[36253,36265],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1000,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1000,"endColumn":11,"fix":{"range":[36264,36280],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'needle_seq' is not in camel case.","line":1001,"column":30,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1001,"endColumn":40},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":1003,"column":27,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":1003,"endColumn":29},{"ruleId":"camelcase","severity":2,"message":"Identifier 'needle_seq' is not in camel case.","line":1003,"column":30,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1003,"endColumn":40},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":1003,"column":58,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":1003,"endColumn":60},{"ruleId":"camelcase","severity":2,"message":"Identifier 'needle_seq' is not in camel case.","line":1003,"column":61,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1003,"endColumn":71},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1004,"column":23,"nodeType":"ContinueStatement","messageId":"extraSemi","endLine":1004,"endColumn":24,"fix":{"range":[36457,36480],"text":"continue\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1006,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1006,"endColumn":36,"fix":{"range":[36514,36516],"text":"''"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'needle_seq' is not in camel case.","line":1006,"column":42,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1006,"endColumn":52},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1006,"column":66,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1006,"endColumn":68,"fix":{"range":[36546,36548],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1007,"column":23,"nodeType":"ContinueStatement","messageId":"extraSemi","endLine":1007,"endColumn":24,"fix":{"range":[36567,36590],"text":"continue\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'needle_parts' is not in camel case.","line":1009,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1009,"endColumn":29},{"ruleId":"prefer-const","severity":2,"message":"'needle_parts' is never reassigned. Use 'const' instead.","line":1009,"column":17,"nodeType":"Identifier","messageId":"useConst","endLine":1009,"endColumn":29,"fix":{"range":[36603,36639],"text":"const needle_parts = needle_seq.parts;"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'needle_seq' is not in camel case.","line":1009,"column":32,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1009,"endColumn":42},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1009,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1009,"endColumn":49,"fix":{"range":[36633,36657],"text":"parts\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'needle_part' is not in camel case.","line":1011,"column":26,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1011,"endColumn":37},{"ruleId":"camelcase","severity":2,"message":"Identifier 'needle_parts' is not in camel case.","line":1011,"column":41,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1011,"endColumn":53},{"ruleId":"camelcase","severity":2,"message":"Identifier 'needle_part' is not in camel case.","line":1012,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1012,"endColumn":32},{"ruleId":"camelcase","severity":2,"message":"Identifier 'needle_part' is not in camel case.","line":1012,"column":57,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1012,"endColumn":68},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1013,"column":31,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1013,"endColumn":32,"fix":{"range":[36854,36878],"text":"false\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":1015,"column":33,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":1015,"endColumn":35},{"ruleId":"camelcase","severity":2,"message":"Identifier 'needle_part' is not in camel case.","line":1015,"column":41,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1015,"endColumn":52},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":1015,"column":60,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":1015,"endColumn":62},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1016,"column":27,"nodeType":"ContinueStatement","messageId":"extraSemi","endLine":1016,"endColumn":28,"fix":{"range":[36964,36991],"text":"continue\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'needle_part' is not in camel case.","line":1018,"column":34,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1018,"endColumn":45},{"ruleId":"camelcase","severity":2,"message":"Identifier 'needle_part' is not in camel case.","line":1018,"column":66,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1018,"endColumn":77},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1019,"column":30,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1019,"endColumn":31,"fix":{"range":[37103,37126],"text":"true\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'needle_part' is not in camel case.","line":1021,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1021,"endColumn":32},{"ruleId":"camelcase","severity":2,"message":"Identifier 'needle_part' is not in camel case.","line":1021,"column":55,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1021,"endColumn":66},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1022,"column":30,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1022,"endColumn":31,"fix":{"range":[37238,37261],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1025,"column":27,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1025,"endColumn":28,"fix":{"range":[37299,37319],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1026,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1026,"endColumn":15,"fix":{"range":[37318,37336],"text":"}\n let"}},{"ruleId":"prefer-const","severity":2,"message":"'filtered' is never reassigned. Use 'const' instead.","line":1027,"column":17,"nodeType":"Identifier","messageId":"useConst","endLine":1027,"endColumn":25,"fix":{"range":[37333,37373],"text":"const filtered = seq.parts.filter(filter);"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1027,"column":52,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1027,"endColumn":53,"fix":{"range":[37371,37388],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1029,"column":23,"nodeType":"ContinueStatement","messageId":"extraSemi","endLine":1029,"endColumn":24,"fix":{"range":[37427,37450],"text":"continue\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1031,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1031,"endColumn":25,"fix":{"range":[37470,37487],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1033,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1033,"endColumn":24,"fix":{"range":[37505,37521],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1034,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1034,"endColumn":11,"fix":{"range":[37520,37536],"text":"}\n class"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1036,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1036,"endColumn":23,"fix":{"range":[37569,37569],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1037,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1037,"endColumn":29,"fix":{"range":[37600,37619],"text":"]\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1038,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1038,"endColumn":31,"fix":{"range":[37631,37650],"text":"]\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1039,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1039,"endColumn":28,"fix":{"range":[37659,37678],"text":"0\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1040,"column":25,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1040,"endColumn":26,"fix":{"range":[37685,37699],"text":"0\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":1042,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":1049,"endColumn":12,"fix":{"range":[37699,37699],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1042,"column":14,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1042,"endColumn":15,"fix":{"range":[37713,37713],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1044,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1044,"endColumn":37,"fix":{"range":[37780,37801],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1045,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1045,"endColumn":46,"fix":{"range":[37826,37847],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1046,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1046,"endColumn":61,"fix":{"range":[37887,37908],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1047,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1047,"endColumn":55,"fix":{"range":[37942,37958],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":1050,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":1052,"endColumn":12,"fix":{"range":[37970,37970],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1050,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1050,"endColumn":16,"fix":{"range":[37985,37985],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1051,"column":53,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1051,"endColumn":54,"fix":{"range":[38041,38055],"text":"]\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":1053,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":1055,"endColumn":12,"fix":{"range":[38055,38055],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1053,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1053,"endColumn":18,"fix":{"range":[38072,38072],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1054,"column":37,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1054,"endColumn":38,"fix":{"range":[38107,38126],"text":"length\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":1056,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":1072,"endColumn":12,"fix":{"range":[38126,38126],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1056,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1056,"endColumn":17,"fix":{"range":[38142,38142],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_piece' is not in camel case.","line":1056,"column":27,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1056,"endColumn":37},{"ruleId":"prefer-const","severity":2,"message":"'clone' is never reassigned. Use 'const' instead.","line":1057,"column":17,"nodeType":"Identifier","messageId":"useConst","endLine":1057,"endColumn":22,"fix":{"range":[38179,38206],"text":"const clone = new Sequence();"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1057,"column":39,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1057,"endColumn":40,"fix":{"range":[38204,38222],"text":")\n let"}},{"ruleId":"prefer-const","severity":2,"message":"'parts' is never reassigned. Use 'const' instead.","line":1058,"column":17,"nodeType":"Identifier","messageId":"useConst","endLine":1058,"endColumn":22,"fix":{"range":[38219,38270],"text":"const parts = JSON.parse(JSON.stringify(this.parts));"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1058,"column":63,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1058,"endColumn":64,"fix":{"range":[38268,38286],"text":")\n let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_part' is not in camel case.","line":1059,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1059,"endColumn":26},{"ruleId":"prefer-const","severity":2,"message":"'last_part' is never reassigned. Use 'const' instead.","line":1059,"column":17,"nodeType":"Identifier","messageId":"useConst","endLine":1059,"endColumn":26,"fix":{"range":[38283,38311],"text":"const last_part = parts.pop();"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1059,"column":40,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1059,"endColumn":41,"fix":{"range":[38309,38327],"text":")\n for"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1061,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1061,"endColumn":31,"fix":{"range":[38380,38396],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_substr' is not in camel case.","line":1063,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1063,"endColumn":28},{"ruleId":"prefer-const","severity":2,"message":"'last_substr' is never reassigned. Use 'const' instead.","line":1063,"column":17,"nodeType":"Identifier","messageId":"useConst","endLine":1063,"endColumn":28,"fix":{"range":[38409,38486],"text":"const last_substr = last_piece.substr.substring(0, position - last_part.start);"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_piece' is not in camel case.","line":1063,"column":31,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1063,"endColumn":41},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_part' is not in camel case.","line":1063,"column":73,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1063,"endColumn":82},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1063,"column":89,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1063,"endColumn":90,"fix":{"range":[38484,38502],"text":")\n let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'clone_last_len' is not in camel case.","line":1064,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1064,"endColumn":31},{"ruleId":"prefer-const","severity":2,"message":"'clone_last_len' is never reassigned. Use 'const' instead.","line":1064,"column":17,"nodeType":"Identifier","messageId":"useConst","endLine":1064,"endColumn":31,"fix":{"range":[38499,38539],"text":"const clone_last_len = last_substr.length;"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_substr' is not in camel case.","line":1064,"column":34,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1064,"endColumn":45},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1064,"column":52,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1064,"endColumn":53,"fix":{"range":[38532,38557],"text":"length\n clone"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_part' is not in camel case.","line":1066,"column":22,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1066,"endColumn":31},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_part' is not in camel case.","line":1067,"column":20,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1067,"endColumn":29},{"ruleId":"camelcase","severity":2,"message":"Identifier 'clone_last_len' is not in camel case.","line":1067,"column":38,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1067,"endColumn":52},{"ruleId":"camelcase","severity":2,"message":"Identifier 'clone_last_len' is not in camel case.","line":1068,"column":23,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1068,"endColumn":37},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_substr' is not in camel case.","line":1069,"column":23,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1069,"endColumn":34},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1070,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1070,"endColumn":16,"fix":{"range":[38740,38761],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1071,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1071,"endColumn":26,"fix":{"range":[38762,38780],"text":"clone\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1075,"column":23,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1075,"endColumn":24,"fix":{"range":[38850,38866],"text":")\n str"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1076,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1076,"endColumn":32,"fix":{"range":[38882,38898],"text":")\n let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1077,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1077,"endColumn":27,"fix":{"range":[38909,38911],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1077,"column":27,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1077,"endColumn":28,"fix":{"range":[38909,38926],"text":"\"\"\n let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1078,"column":43,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1078,"endColumn":44,"fix":{"range":[38954,38970],"text":"]\n for"}},{"ruleId":"prefer-const","severity":2,"message":"'substr' is never reassigned. Use 'const' instead.","line":1080,"column":17,"nodeType":"Identifier","messageId":"useConst","endLine":1080,"endColumn":23,"fix":{"range":[39021,39052],"text":"const substr = str.substring(i2);"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1080,"column":43,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1080,"endColumn":44,"fix":{"range":[39050,39068],"text":")\n let"}},{"ruleId":"prefer-const","severity":2,"message":"'match2' is never reassigned. Use 'const' instead.","line":1081,"column":17,"nodeType":"Identifier","messageId":"useConst","endLine":1081,"endColumn":23,"fix":{"range":[39065,39107],"text":"const match2 = substr.match(multi_char_reg);"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1081,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1081,"endColumn":55,"fix":{"range":[39105,39125],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1082,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1082,"endColumn":52,"fix":{"range":[39157,39177],"text":")\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'match_str' is not in camel case.","line":1083,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1083,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1083,"column":56,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1083,"endColumn":57,"fix":{"range":[39211,39232],"text":"null\n let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1084,"column":33,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1084,"endColumn":34,"fix":{"range":[39248,39266],"text":"]\n let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'added_types' is not in camel case.","line":1085,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1085,"endColumn":28},{"ruleId":"prefer-const","severity":2,"message":"'added_types' is never reassigned. Use 'const' instead.","line":1085,"column":17,"nodeType":"Identifier","messageId":"useConst","endLine":1085,"endColumn":28,"fix":{"range":[39263,39307],"text":"const added_types = /* @__PURE__ */ new Set();"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1085,"column":56,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1085,"endColumn":57,"fix":{"range":[39305,39323],"text":")\n for"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_piece' is not in camel case.","line":1087,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1087,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1087,"column":49,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1087,"endColumn":50,"fix":{"range":[39403,39422],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_piece' is not in camel case.","line":1088,"column":20,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1088,"endColumn":30},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_piece' is not in camel case.","line":1088,"column":34,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1088,"endColumn":44},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":1088,"column":52,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":1088,"endColumn":54},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_piece' is not in camel case.","line":1088,"column":60,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1088,"endColumn":70},{"ruleId":"camelcase","severity":2,"message":"Identifier 'match_str' is not in camel case.","line":1089,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1089,"endColumn":30},{"ruleId":"camelcase","severity":2,"message":"Identifier 'match_str' is not in camel case.","line":1090,"column":31,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1090,"endColumn":40},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1090,"column":47,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1090,"endColumn":48,"fix":{"range":[39562,39596],"text":"length\n sequence"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'match_str' is not in camel case.","line":1095,"column":29,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1095,"endColumn":38},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1096,"column":21,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1096,"endColumn":22,"fix":{"range":[39759,39791],"text":")\n added_types"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'added_types' is not in camel case.","line":1097,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1097,"endColumn":30},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1097,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1097,"endColumn":38,"fix":{"range":[39796,39799],"text":"'1'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1097,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1097,"endColumn":40,"fix":{"range":[39799,39819],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1104,"column":21,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1104,"endColumn":22,"fix":{"range":[40007,40039],"text":")\n added_types"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'added_types' is not in camel case.","line":1105,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1105,"endColumn":30},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1105,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1105,"endColumn":38,"fix":{"range":[40044,40047],"text":"'2'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1105,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1105,"endColumn":40,"fix":{"range":[40047,40067],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'match_str' is not in camel case.","line":1107,"column":26,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1107,"endColumn":35},{"ruleId":"prefer-const","severity":2,"message":"'clone' is never reassigned. Use 'const' instead.","line":1108,"column":21,"nodeType":"Identifier","messageId":"useConst","endLine":1108,"endColumn":26,"fix":{"range":[40122,40165],"text":"const clone = sequence.clone(i2, last_piece);"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1108,"column":59,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1108,"endColumn":60,"fix":{"range":[40163,40187],"text":")\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'match_str' is not in camel case.","line":1109,"column":29,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1109,"endColumn":38},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1109,"column":45,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1109,"endColumn":46,"fix":{"range":[40204,40233],"text":"length\n clone"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'match_str' is not in camel case.","line":1114,"column":27,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1114,"endColumn":36},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1115,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1115,"endColumn":20,"fix":{"range":[40386,40416],"text":")\n overlapping"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1116,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1116,"endColumn":41,"fix":{"range":[40427,40445],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'added_types' is not in camel case.","line":1118,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1118,"endColumn":28},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1118,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1118,"endColumn":36,"fix":{"range":[40485,40488],"text":"'3'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1118,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1118,"endColumn":38,"fix":{"range":[40488,40506],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1123,"column":49,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1123,"endColumn":50,"fix":{"range":[40669,40687],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1124,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1124,"endColumn":18,"fix":{"range":[40687,40707],"text":")\n for"}},{"ruleId":"prefer-const","severity":2,"message":"'clone' is never reassigned. Use 'const' instead.","line":1125,"column":24,"nodeType":"Identifier","messageId":"useConst","endLine":1125,"endColumn":29,"fix":{"range":[40709,40718],"text":"const clone"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1127,"column":27,"nodeType":"ContinueStatement","messageId":"extraSemi","endLine":1127,"endColumn":28,"fix":{"range":[40808,40835],"text":"continue\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1129,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1129,"endColumn":39,"fix":{"range":[40872,40890],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1131,"column":23,"nodeType":"ContinueStatement","messageId":"extraSemi","endLine":1131,"endColumn":24,"fix":{"range":[40905,40928],"text":"continue\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'added_types' is not in camel case.","line":1133,"column":27,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1133,"endColumn":38},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":1133,"column":44,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":1133,"endColumn":46},{"ruleId":"camelcase","severity":2,"message":"Identifier 'added_types' is not in camel case.","line":1133,"column":53,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1133,"endColumn":64},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1133,"column":69,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1133,"endColumn":72,"fix":{"range":[40997,41000],"text":"'3'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1134,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1134,"endColumn":63,"fix":{"range":[41065,41085],"text":")\n let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'new_seq' is not in camel case.","line":1135,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1135,"endColumn":26},{"ruleId":"prefer-const","severity":2,"message":"'new_seq' is never reassigned. Use 'const' instead.","line":1135,"column":19,"nodeType":"Identifier","messageId":"useConst","endLine":1135,"endColumn":26,"fix":{"range":[41082,41111],"text":"const new_seq = new Sequence();"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1135,"column":43,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1135,"endColumn":44,"fix":{"range":[41109,41131],"text":")\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'old_seq' is not in camel case.","line":1136,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1136,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1136,"column":43,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1136,"endColumn":44,"fix":{"range":[41153,41172],"text":"]\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'old_seq' is not in camel case.","line":1137,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1137,"endColumn":26},{"ruleId":"camelcase","severity":2,"message":"Identifier 'new_seq' is not in camel case.","line":1138,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1138,"endColumn":24},{"ruleId":"camelcase","severity":2,"message":"Identifier 'old_seq' is not in camel case.","line":1138,"column":29,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1138,"endColumn":36},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1138,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1138,"endColumn":45,"fix":{"range":[41227,41245],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'new_seq' is not in camel case.","line":1140,"column":28,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1140,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1140,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1140,"endColumn":37,"fix":{"range":[41280,41296],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1143,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1143,"endColumn":58,"fix":{"range":[41364,41383],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1144,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1144,"endColumn":26,"fix":{"range":[41384,41402],"text":"pattern\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1145,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1145,"endColumn":11,"fix":{"range":[41401,41417],"text":"}\n const"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1148,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1148,"endColumn":20,"fix":{"range":[41477,41484],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1148,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1148,"endColumn":20,"fix":{"range":[41477,41501],"text":"return\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1149,"column":27,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1149,"endColumn":28,"fix":{"range":[41510,41522],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1150,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1150,"endColumn":11,"fix":{"range":[41521,41537],"text":"}\n const"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1153,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1153,"endColumn":20,"fix":{"range":[41604,41611],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1153,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1153,"endColumn":20,"fix":{"range":[41604,41625],"text":"return\n var"}},{"ruleId":"one-var","severity":2,"message":"Split initialized 'var' declarations into multiple statements.","line":1154,"column":11,"nodeType":"VariableDeclaration","messageId":"splitInitialized","endLine":1154,"endColumn":45,"fix":{"range":[41630,41631],"text":"; var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1154,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1154,"endColumn":45,"fix":{"range":[41622,41625],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1154,"column":40,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1154,"endColumn":43,"fix":{"range":[41651,41654],"text":"'.'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1154,"column":44,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1154,"endColumn":45,"fix":{"range":[41654,41672],"text":")\n while"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1157,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1157,"endColumn":22,"fix":{"range":[41750,41764],"text":"obj\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1158,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1158,"endColumn":11,"fix":{"range":[41763,41779],"text":"}\n const"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1160,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1160,"endColumn":26,"fix":{"range":[41831,41834],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1160,"column":25,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1160,"endColumn":26,"fix":{"range":[41842,41859],"text":"pos\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1162,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1162,"endColumn":22,"fix":{"range":[41881,41890],"text":"{return 0;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1162,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1162,"endColumn":22,"fix":{"range":[41888,41906],"text":"0\n value"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1163,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1163,"endColumn":29,"fix":{"range":[41917,41919],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1163,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1163,"endColumn":30,"fix":{"range":[41917,41933],"text":"\"\"\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1165,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1165,"endColumn":22,"fix":{"range":[41968,41977],"text":"{return 0;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1165,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1165,"endColumn":22,"fix":{"range":[41975,41991],"text":"0\n pos"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1166,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1166,"endColumn":43,"fix":{"range":[42018,42033],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1168,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1168,"endColumn":22,"fix":{"range":[42059,42068],"text":"{return 0;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1168,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1168,"endColumn":22,"fix":{"range":[42066,42084],"text":"0\n score"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1169,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1169,"endColumn":54,"fix":{"range":[42115,42135],"text":"length\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1171,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1171,"endColumn":26,"fix":{"range":[42160,42173],"text":"{score += 0.5;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1171,"column":25,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1171,"endColumn":26,"fix":{"range":[42169,42190],"text":"0.5\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1172,"column":32,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1172,"endColumn":33,"fix":{"range":[42199,42216],"text":"weight\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1173,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1173,"endColumn":11,"fix":{"range":[42215,42231],"text":"}\n const"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1175,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1175,"endColumn":32,"fix":{"range":[42272,42275],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1175,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1175,"endColumn":32,"fix":{"range":[42291,42306],"text":"]\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":1176,"column":28,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":1176,"endColumn":30,"fix":{"range":[42321,42323],"text":"==="}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1176,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1176,"endColumn":41,"fix":{"range":[42324,42334],"text":"'function'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1177,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1177,"endColumn":26,"fix":{"range":[42348,42361],"text":"{return value;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1177,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1177,"endColumn":26,"fix":{"range":[42355,42374],"text":"value\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1179,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1179,"endColumn":32,"fix":{"range":[42439,42453],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1181,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1181,"endColumn":11,"fix":{"range":[42462,42478],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1184,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1184,"endColumn":38,"fix":{"range":[42589,42603],"text":")\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1186,"column":18,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1186,"endColumn":25,"fix":{"range":[42628,42631],"text":"let"}},{"ruleId":"no-prototype-builtins","severity":2,"message":"Do not access Object.prototype method 'hasOwnProperty' from target object.","line":1187,"column":26,"nodeType":"CallExpression","messageId":"prototypeBuildIn","endLine":1187,"endColumn":40},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1188,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1188,"endColumn":44,"fix":{"range":[42738,42756],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1192,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1192,"endColumn":11,"fix":{"range":[42791,42807],"text":"}\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1194,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1194,"endColumn":37,"fix":{"range":[42856,42864],"text":"'number'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1194,"column":55,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1194,"endColumn":63,"fix":{"range":[42882,42890],"text":"'number'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1195,"column":50,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1195,"endColumn":51,"fix":{"range":[42942,42956],"text":"0\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1197,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1197,"endColumn":33,"fix":{"range":[42987,42989],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1197,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1197,"endColumn":49,"fix":{"range":[43003,43018],"text":")\n b2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1198,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1198,"endColumn":33,"fix":{"range":[43036,43038],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1198,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1198,"endColumn":49,"fix":{"range":[43052,43067],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1200,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1200,"endColumn":22,"fix":{"range":[43090,43099],"text":"{return 1;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1200,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1200,"endColumn":22,"fix":{"range":[43097,43112],"text":"1\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1202,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1202,"endColumn":23,"fix":{"range":[43135,43145],"text":"{return -1;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1202,"column":22,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1202,"endColumn":23,"fix":{"range":[43143,43162],"text":"1\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1203,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1203,"endColumn":20,"fix":{"range":[43163,43175],"text":"0\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1204,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1204,"endColumn":11,"fix":{"range":[43174,43190],"text":"}\n class"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1206,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1206,"endColumn":23,"fix":{"range":[43221,43221],"text":" "}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1207,"column":26,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1207,"endColumn":32},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1207,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1207,"endColumn":33,"fix":{"range":[43271,43290],"text":"0\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1208,"column":29,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1208,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1208,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1208,"endColumn":36,"fix":{"range":[43307,43326],"text":"0\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1209,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1209,"endColumn":32,"fix":{"range":[43335,43358],"text":"items\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1212,"column":14,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1212,"endColumn":15,"fix":{"range":[43427,43441],"text":"}\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":1214,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":1247,"endColumn":12,"fix":{"range":[43441,43441],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1214,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1214,"endColumn":20,"fix":{"range":[43460,43460],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'respect_word_boundaries' is not in camel case.","line":1214,"column":27,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1214,"endColumn":50},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1216,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1216,"endColumn":25,"fix":{"range":[43559,43569],"text":"{return [];}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1216,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1216,"endColumn":25,"fix":{"range":[43567,43587],"text":"]\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1217,"column":30,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1217,"endColumn":31,"fix":{"range":[43598,43618],"text":"]\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1218,"column":45,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1218,"endColumn":46,"fix":{"range":[43644,43662],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1219,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1219,"endColumn":29,"fix":{"range":[43659,43662],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_regex' is not in camel case.","line":1219,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1219,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1219,"column":28,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1219,"endColumn":29,"fix":{"range":[43663,43690],"text":"field_regex\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_regex' is not in camel case.","line":1221,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1221,"endColumn":26},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1221,"column":40,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1221,"endColumn":44,"fix":{"range":[43742,43746],"text":"'^('"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1221,"column":91,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1221,"endColumn":94,"fix":{"range":[43793,43796],"text":"'|'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1221,"column":98,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1221,"endColumn":107,"fix":{"range":[43800,43809],"text":"'):(.*)$'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1221,"column":108,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1221,"endColumn":109,"fix":{"range":[43809,43825],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_match' is not in camel case.","line":1224,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1224,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1224,"column":30,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1224,"endColumn":31,"fix":{"range":[43882,43912],"text":"field_match\n let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1225,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1225,"endColumn":32,"fix":{"range":[43921,43944],"text":"null\n let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1226,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1226,"endColumn":32,"fix":{"range":[43953,43975],"text":"null\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_regex' is not in camel case.","line":1227,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1227,"endColumn":30},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_match' is not in camel case.","line":1227,"column":35,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1227,"endColumn":46},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_match' is not in camel case.","line":1228,"column":25,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1228,"endColumn":36},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1228,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1228,"endColumn":40,"fix":{"range":[44072,44095],"text":"]\n word"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_match' is not in camel case.","line":1229,"column":24,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1229,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1229,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1229,"endColumn":39,"fix":{"range":[44111,44129],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1233,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1233,"endColumn":52,"fix":{"range":[44261,44284],"text":"null\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1235,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1235,"endColumn":46,"fix":{"range":[44335,44355],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'respect_word_boundaries' is not in camel case.","line":1237,"column":30,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1237,"endColumn":53},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1238,"column":19,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1238,"endColumn":41,"fix":{"range":[44428,44450],"text":"{regex = \"\\\\b\" + regex;}"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1238,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1238,"endColumn":32,"fix":{"range":[44436,44441],"text":"'\\\\b'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1238,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1238,"endColumn":41,"fix":{"range":[44444,44466],"text":"regex\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1242,"column":50,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1242,"endColumn":54,"fix":{"range":[44574,44578],"text":"'iu'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1244,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1244,"endColumn":18,"fix":{"range":[44625,44641],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1245,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1245,"endColumn":16,"fix":{"range":[44641,44662],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1246,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1246,"endColumn":27,"fix":{"range":[44663,44682],"text":"tokens\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":1248,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":1251,"endColumn":12,"fix":{"range":[44682,44682],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1248,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1248,"endColumn":28,"fix":{"range":[44709,44709],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1249,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1249,"endColumn":62,"fix":{"range":[44741,44744],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1249,"column":61,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1249,"endColumn":62,"fix":{"range":[44788,44809],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1250,"column":50,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1250,"endColumn":51,"fix":{"range":[44839,44853],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":1252,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":1314,"endColumn":12,"fix":{"range":[44853,44853],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1252,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1252,"endColumn":29,"fix":{"range":[44881,44881],"text":" "}},{"ruleId":"one-var","severity":2,"message":"Split initialized 'const' declarations into multiple statements.","line":1253,"column":13,"nodeType":"VariableDeclaration","messageId":"splitInitialized","endLine":1253,"endColumn":71,"fix":{"range":[44932,44933],"text":"; const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'token_count' is not in camel case.","line":1253,"column":43,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1253,"endColumn":54},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1253,"column":70,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1253,"endColumn":71,"fix":{"range":[44955,44977],"text":"length\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'token_count' is not in camel case.","line":1254,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1254,"endColumn":29},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1255,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1255,"endColumn":31,"fix":{"range":[45024,45024],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1256,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1256,"endColumn":26,"fix":{"range":[45052,45070],"text":"0\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1257,"column":16,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1257,"endColumn":17,"fix":{"range":[45069,45085],"text":"}\n }"}},{"ruleId":"one-var","severity":2,"message":"Split initialized 'const' declarations into multiple statements.","line":1259,"column":13,"nodeType":"VariableDeclaration","messageId":"splitInitialized","endLine":1259,"endColumn":135,"fix":{"range":[45134,45190],"text":"; const weights = search.weights; const field_count = fields.length; const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_count' is not in camel case.","line":1259,"column":77,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1259,"endColumn":88},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1259,"column":134,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1259,"endColumn":135,"fix":{"range":[45210,45235],"text":"getAttrFn\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_count' is not in camel case.","line":1260,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1260,"endColumn":29},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1261,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1261,"endColumn":31,"fix":{"range":[45282,45282],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1262,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1262,"endColumn":26,"fix":{"range":[45310,45328],"text":"1\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1263,"column":16,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1263,"endColumn":17,"fix":{"range":[45327,45343],"text":"}\n }"}},{"ruleId":"wrap-iife","severity":2,"message":"Wrap an immediate function invocation in parentheses.","line":1265,"column":33,"nodeType":"CallExpression","messageId":"wrapInvocation","endLine":1288,"endColumn":16,"fix":{"range":[45376,46288],"text":"(function() {\n if (field_count === 1) {\n return function(token, data) {\n const field = fields[0].field;\n return scoreValue(getAttrFn(data, field), token, weights[field] || 1);\n };\n }\n return function(token, data) {\n var sum = 0;\n if (token.field) {\n const value = getAttrFn(data, token.field);\n if (!token.regex && value) {\n sum += 1 / field_count;\n } else {\n sum += scoreValue(value, token, 1);\n }\n } else {\n iterate$1(weights, (weight, field) => {\n sum += scoreValue(getAttrFn(data, field), token, weight);\n });\n }\n return sum / field_count;\n };\n }())"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1265,"column":41,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1265,"endColumn":42,"fix":{"range":[45384,45384],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_count' is not in camel case.","line":1266,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1266,"endColumn":30},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1267,"column":32,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1267,"endColumn":33,"fix":{"range":[45459,45459],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1268,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1268,"endColumn":49,"fix":{"range":[45517,45548],"text":"field\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1269,"column":88,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1269,"endColumn":89,"fix":{"range":[45610,45630],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1270,"column":18,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1270,"endColumn":19,"fix":{"range":[45629,45647],"text":"}\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1272,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1272,"endColumn":31,"fix":{"range":[45677,45677],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1273,"column":17,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1273,"endColumn":29,"fix":{"range":[45709,45712],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1273,"column":28,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1273,"endColumn":29,"fix":{"range":[45719,45740],"text":"0\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1275,"column":61,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1275,"endColumn":62,"fix":{"range":[45816,45839],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_count' is not in camel case.","line":1277,"column":32,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1277,"endColumn":43},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1277,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1277,"endColumn":44,"fix":{"range":[45897,45929],"text":"field_count\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1279,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1279,"endColumn":56,"fix":{"range":[45990,46012],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1283,"column":77,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1283,"endColumn":78,"fix":{"range":[46171,46193],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1284,"column":21,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1284,"endColumn":22,"fix":{"range":[46193,46213],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_count' is not in camel case.","line":1286,"column":30,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1286,"endColumn":41},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1286,"column":41,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1286,"endColumn":42,"fix":{"range":[46243,46271],"text":"field_count\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1287,"column":16,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1287,"endColumn":17,"fix":{"range":[46270,46286],"text":"}\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1288,"column":16,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1288,"endColumn":17,"fix":{"range":[46287,46304],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'token_count' is not in camel case.","line":1289,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1289,"endColumn":28},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1290,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1290,"endColumn":31,"fix":{"range":[46356,46356],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1291,"column":52,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1291,"endColumn":53,"fix":{"range":[46415,46433],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1292,"column":16,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1292,"endColumn":17,"fix":{"range":[46432,46448],"text":"}\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1294,"column":48,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1294,"endColumn":53,"fix":{"range":[46496,46501],"text":"'and'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1295,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1295,"endColumn":31,"fix":{"range":[46534,46534],"text":" "}},{"ruleId":"one-var","severity":2,"message":"Split initialized 'var' declarations into multiple statements.","line":1296,"column":17,"nodeType":"VariableDeclaration","messageId":"splitInitialized","endLine":1296,"endColumn":36,"fix":{"range":[46568,46569],"text":"; var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1296,"column":17,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1296,"endColumn":36,"fix":{"range":[46559,46562],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1296,"column":35,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1296,"endColumn":36,"fix":{"range":[46576,46598],"text":"0\n for"}},{"ruleId":"prefer-const","severity":2,"message":"'token' is never reassigned. Use 'const' instead.","line":1297,"column":26,"nodeType":"Identifier","messageId":"useConst","endLine":1297,"endColumn":31,"fix":{"range":[46600,46609],"text":"const token"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1298,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1298,"endColumn":52,"fix":{"range":[46672,46695],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1300,"column":21,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1300,"endColumn":30,"fix":{"range":[46729,46738],"text":"{return 0;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1300,"column":29,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1300,"endColumn":30,"fix":{"range":[46736,46760],"text":"0\n sum"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1301,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1301,"endColumn":32,"fix":{"range":[46764,46788],"text":"score\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'token_count' is not in camel case.","line":1303,"column":30,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1303,"endColumn":41},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1303,"column":41,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1303,"endColumn":42,"fix":{"range":[46818,46846],"text":"token_count\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1304,"column":16,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1304,"endColumn":17,"fix":{"range":[46845,46861],"text":"}\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1306,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1306,"endColumn":31,"fix":{"range":[46898,46898],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1307,"column":17,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1307,"endColumn":29,"fix":{"range":[46923,46926],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1307,"column":28,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1307,"endColumn":29,"fix":{"range":[46933,46961],"text":"0\n iterate$1"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1309,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1309,"endColumn":51,"fix":{"range":[47031,47051],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1310,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1310,"endColumn":20,"fix":{"range":[47051,47076],"text":")\n return"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'token_count' is not in camel case.","line":1311,"column":30,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1311,"endColumn":41},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1311,"column":41,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1311,"endColumn":42,"fix":{"range":[47083,47111],"text":"token_count\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1312,"column":16,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1312,"endColumn":17,"fix":{"range":[47110,47126],"text":"}\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":1315,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":1318,"endColumn":12,"fix":{"range":[47138,47138],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1315,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1315,"endColumn":27,"fix":{"range":[47164,47164],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1316,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1316,"endColumn":62,"fix":{"range":[47196,47199],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1316,"column":61,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1316,"endColumn":62,"fix":{"range":[47243,47264],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1317,"column":49,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1317,"endColumn":50,"fix":{"range":[47293,47307],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":1319,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":1369,"endColumn":12,"fix":{"range":[47307,47307],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1319,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1319,"endColumn":28,"fix":{"range":[47334,47334],"text":" "}},{"ruleId":"one-var","severity":2,"message":"Split initialized 'var' declarations into multiple statements.","line":1320,"column":13,"nodeType":"VariableDeclaration","messageId":"splitInitialized","endLine":1320,"endColumn":48,"fix":{"range":[47375,47376],"text":"; var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1320,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1320,"endColumn":48,"fix":{"range":[47357,47360],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'implicit_score' is not in camel case.","line":1320,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1320,"endColumn":31},{"ruleId":"camelcase","severity":2,"message":"Identifier 'sort_flds' is not in camel case.","line":1320,"column":33,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1320,"endColumn":42},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1320,"column":47,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1320,"endColumn":48,"fix":{"range":[47390,47410],"text":"]\n const"}},{"ruleId":"one-var","severity":2,"message":"Split initialized 'const' declarations into multiple statements.","line":1321,"column":13,"nodeType":"VariableDeclaration","messageId":"splitInitialized","endLine":1321,"endColumn":142,"fix":{"range":[47423,47451],"text":"; const options2 = search.options; const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1321,"column":141,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1321,"endColumn":142,"fix":{"range":[47529,47549],"text":"sort\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":1322,"column":29,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":1322,"endColumn":31,"fix":{"range":[47563,47565],"text":"==="}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1322,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1322,"endColumn":42,"fix":{"range":[47566,47576],"text":"'function'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1323,"column":37,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1323,"endColumn":38,"fix":{"range":[47615,47631],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'get_field' is not in camel case.","line":1325,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1325,"endColumn":28},{"ruleId":"camelcase","severity":2,"message":"Identifier 'get_field2' is not in camel case.","line":1325,"column":40,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1325,"endColumn":50},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1325,"column":50,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1325,"endColumn":51,"fix":{"range":[47681,47681],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1326,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1326,"endColumn":36,"fix":{"range":[47725,47733],"text":"'$score'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1327,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1327,"endColumn":37,"fix":{"range":[47751,47771],"text":"{return result.score;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1327,"column":36,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1327,"endColumn":37,"fix":{"range":[47765,47792],"text":"score\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1328,"column":68,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1328,"endColumn":69,"fix":{"range":[47838,47854],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1329,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1329,"endColumn":15,"fix":{"range":[47853,47870],"text":"}\n if"}},{"ruleId":"prefer-const","severity":2,"message":"'s3' is never reassigned. Use 'const' instead.","line":1331,"column":24,"nodeType":"Identifier","messageId":"useConst","endLine":1331,"endColumn":26,"fix":{"range":[47899,47905],"text":"const s3"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1332,"column":50,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1332,"endColumn":58,"fix":{"range":[47966,47974],"text":"'$score'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'sort_flds' is not in camel case.","line":1333,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1333,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1333,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1333,"endColumn":38,"fix":{"range":[48013,48033],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'implicit_score' is not in camel case.","line":1338,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1338,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1338,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1338,"endColumn":37,"fix":{"range":[48127,48150],"text":"true\n for"}},{"ruleId":"prefer-const","severity":2,"message":"'fld' is never reassigned. Use 'const' instead.","line":1339,"column":24,"nodeType":"Identifier","messageId":"useConst","endLine":1339,"endColumn":27,"fix":{"range":[48152,48159],"text":"const fld"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'sort_flds' is not in camel case.","line":1339,"column":31,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1339,"endColumn":40},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1340,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1340,"endColumn":43,"fix":{"range":[48210,48218],"text":"'$score'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'implicit_score' is not in camel case.","line":1341,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1341,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1341,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1341,"endColumn":42,"fix":{"range":[48257,48287],"text":"false\n break"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1342,"column":24,"nodeType":"BreakStatement","messageId":"extraSemi","endLine":1342,"endColumn":25,"fix":{"range":[48282,48306],"text":"break\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'implicit_score' is not in camel case.","line":1345,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1345,"endColumn":33},{"ruleId":"camelcase","severity":2,"message":"Identifier 'sort_flds' is not in camel case.","line":1346,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1346,"endColumn":26},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1347,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1347,"endColumn":34,"fix":{"range":[48420,48428],"text":"'$score'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1348,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1348,"endColumn":36,"fix":{"range":[48459,48465],"text":"'desc'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1349,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1349,"endColumn":20,"fix":{"range":[48483,48501],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'sort_flds' is not in camel case.","line":1352,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1352,"endColumn":24},{"ruleId":"camelcase","severity":2,"message":"Identifier 'sort_flds' is not in camel case.","line":1352,"column":27,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1352,"endColumn":36},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1352,"column":67,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1352,"endColumn":75,"fix":{"range":[48589,48597],"text":"'$score'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1352,"column":76,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1352,"endColumn":77,"fix":{"range":[48597,48613],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'sort_flds_count' is not in camel case.","line":1354,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1354,"endColumn":34},{"ruleId":"camelcase","severity":2,"message":"Identifier 'sort_flds' is not in camel case.","line":1354,"column":37,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1354,"endColumn":46},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1354,"column":53,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1354,"endColumn":54,"fix":{"range":[48660,48682],"text":"length\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'sort_flds_count' is not in camel case.","line":1355,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1355,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1356,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1356,"endColumn":27,"fix":{"range":[48725,48744],"text":"null\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1358,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1358,"endColumn":29,"fix":{"range":[48772,48772],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1359,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1359,"endColumn":33,"fix":{"range":[48797,48800],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1359,"column":32,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1359,"endColumn":33,"fix":{"range":[48809,48833],"text":"field\n for"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'sort_fld' is not in camel case.","line":1360,"column":24,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1360,"endColumn":32},{"ruleId":"prefer-const","severity":2,"message":"'sort_fld' is never reassigned. Use 'const' instead.","line":1360,"column":24,"nodeType":"Identifier","messageId":"useConst","endLine":1360,"endColumn":32,"fix":{"range":[48835,48847],"text":"const sort_fld"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'sort_flds' is not in camel case.","line":1360,"column":36,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1360,"endColumn":45},{"ruleId":"camelcase","severity":2,"message":"Identifier 'sort_fld' is not in camel case.","line":1361,"column":25,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1361,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1361,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1361,"endColumn":40,"fix":{"range":[48897,48923],"text":"field\n let"}},{"ruleId":"prefer-const","severity":2,"message":"'multiplier' is never reassigned. Use 'const' instead.","line":1362,"column":21,"nodeType":"Identifier","messageId":"useConst","endLine":1362,"endColumn":31,"fix":{"range":[48920,48976],"text":"const multiplier = sort_fld.direction === \"desc\" ? -1 : 1;"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'sort_fld' is not in camel case.","line":1362,"column":34,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1362,"endColumn":42},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1362,"column":57,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1362,"endColumn":63,"fix":{"range":[48960,48966],"text":"'desc'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1362,"column":72,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1362,"endColumn":73,"fix":{"range":[48974,48999],"text":"1\n result"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1363,"column":86,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1363,"endColumn":87,"fix":{"range":[49061,49082],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1365,"column":19,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1365,"endColumn":33,"fix":{"range":[49110,49124],"text":"{return result;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1365,"column":32,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1365,"endColumn":33,"fix":{"range":[49117,49140],"text":"result\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1367,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1367,"endColumn":24,"fix":{"range":[49162,49178],"text":"0\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1368,"column":14,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1368,"endColumn":15,"fix":{"range":[49177,49191],"text":"}\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":1370,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":1399,"endColumn":12,"fix":{"range":[49191,49191],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1370,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1370,"endColumn":25,"fix":{"range":[49215,49215],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1371,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1371,"endColumn":32,"fix":{"range":[49264,49282],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1372,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1372,"endColumn":56,"fix":{"range":[49279,49282],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1372,"column":55,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1372,"endColumn":56,"fix":{"range":[49320,49346],"text":")\n propToArray"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1373,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1373,"endColumn":41,"fix":{"range":[49357,49363],"text":"'sort'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1373,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1373,"endColumn":43,"fix":{"range":[49363,49389],"text":")\n propToArray"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1374,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1374,"endColumn":47,"fix":{"range":[49400,49412],"text":"'sort_empty'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1374,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1374,"endColumn":49,"fix":{"range":[49412,49429],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1376,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1376,"endColumn":45,"fix":{"range":[49486,49494],"text":"'fields'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1376,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1376,"endColumn":47,"fix":{"range":[49494,49516],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1377,"column":32,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1377,"endColumn":33,"fix":{"range":[49527,49552],"text":"]\n options2"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":1379,"column":34,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":1379,"endColumn":36,"fix":{"range":[49614,49616],"text":"==="}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1379,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1379,"endColumn":45,"fix":{"range":[49617,49625],"text":"'string'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1383,"column":20,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1383,"endColumn":21,"fix":{"range":[49732,49752],"text":"}\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1385,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1385,"endColumn":36,"fix":{"range":[49786,49812],"text":")\n weights"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1386,"column":40,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1386,"endColumn":48,"fix":{"range":[49828,49836],"text":"'weight'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1386,"column":76,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1386,"endColumn":77,"fix":{"range":[49863,49881],"text":"1\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1387,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1387,"endColumn":18,"fix":{"range":[49881,49906],"text":")\n options2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1388,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1388,"endColumn":40,"fix":{"range":[49916,49937],"text":"fields\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1398,"column":14,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1398,"endColumn":15,"fix":{"range":[50281,50295],"text":"}\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":1400,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":1432,"endColumn":12,"fix":{"range":[50295,50295],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1400,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1400,"endColumn":18,"fix":{"range":[50312,50312],"text":" "}},{"ruleId":"one-var","severity":2,"message":"Split initialized 'var' declarations into multiple statements.","line":1401,"column":13,"nodeType":"VariableDeclaration","messageId":"splitInitialized","endLine":1401,"endColumn":45,"fix":{"range":[50360,50368],"text":"; var score; var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1401,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1401,"endColumn":45,"fix":{"range":[50344,50347],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1401,"column":44,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1401,"endColumn":45,"fix":{"range":[50369,50395],"text":"search\n search"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1402,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1402,"endColumn":58,"fix":{"range":[50432,50455],"text":")\n options2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1403,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1403,"endColumn":39,"fix":{"range":[50465,50491],"text":"options\n query"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1404,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1404,"endColumn":34,"fix":{"range":[50501,50525],"text":"query\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'fn_score' is not in camel case.","line":1405,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1405,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1405,"column":79,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1405,"endColumn":80,"fix":{"range":[50585,50602],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1408,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1408,"endColumn":40,"fix":{"range":[50711,50732],"text":")\n if"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'score' found.","line":1411,"column":21,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":1411,"endColumn":35,"fix":{"range":[50834,50841],"text":"score"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1411,"column":21,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1411,"endColumn":28,"fix":{"range":[50834,50841],"text":"'score'"}},{"ruleId":"object-shorthand","severity":1,"message":"Expected property shorthand.","line":1411,"column":21,"nodeType":"Property","messageId":"expectedPropertyShorthand","endLine":1411,"endColumn":35,"fix":{"range":[50834,50848],"text":"score"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'id' found.","line":1412,"column":21,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":1412,"endColumn":30,"fix":{"range":[50870,50874],"text":"id"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1412,"column":21,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1412,"endColumn":25,"fix":{"range":[50870,50874],"text":"'id'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1413,"column":21,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1413,"endColumn":22,"fix":{"range":[50899,50919],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1415,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1415,"endColumn":18,"fix":{"range":[50935,50951],"text":")\n }"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'score' found.","line":1419,"column":19,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":1419,"endColumn":29,"fix":{"range":[51065,51072],"text":"score"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1419,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1419,"endColumn":26,"fix":{"range":[51065,51072],"text":"'score'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'id' found.","line":1420,"column":19,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":1420,"endColumn":28,"fix":{"range":[51095,51099],"text":"id"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1420,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1420,"endColumn":23,"fix":{"range":[51095,51099],"text":"'id'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1421,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1421,"endColumn":20,"fix":{"range":[51122,51140],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1422,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1422,"endColumn":18,"fix":{"range":[51140,51156],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'fn_sort' is not in camel case.","line":1424,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1424,"endColumn":26},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1424,"column":59,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1424,"endColumn":60,"fix":{"range":[51214,51231],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'fn_sort' is not in camel case.","line":1425,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1425,"endColumn":24},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1426,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1426,"endColumn":42,"fix":{"range":[51256,51283],"text":"{search.items.sort(fn_sort);}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1426,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1426,"endColumn":42,"fix":{"range":[51281,51302],"text":")\n search"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1427,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1427,"endColumn":48,"fix":{"range":[51324,51346],"text":"length\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1428,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1428,"endColumn":51,"fix":{"range":[51374,51382],"text":"'number'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1429,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1429,"endColumn":68,"fix":{"range":[51451,51467],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1431,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1431,"endColumn":27,"fix":{"range":[51487,51506],"text":"search\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1436,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1436,"endColumn":38,"fix":{"range":[51639,51653],"text":")\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1438,"column":18,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1438,"endColumn":25,"fix":{"range":[51678,51681],"text":"let"}},{"ruleId":"no-prototype-builtins","severity":2,"message":"Do not access Object.prototype method 'hasOwnProperty' from target object.","line":1439,"column":26,"nodeType":"CallExpression","messageId":"prototypeBuildIn","endLine":1439,"endColumn":40},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1440,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1440,"endColumn":44,"fix":{"range":[51788,51806],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1444,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1444,"endColumn":11,"fix":{"range":[51841,51857],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1447,"column":28,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1447,"endColumn":29,"fix":{"range":[51936,51950],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1450,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1450,"endColumn":26,"fix":{"range":[52016,52034],"text":"query\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1453,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1453,"endColumn":58,"fix":{"range":[52084,52087],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1453,"column":46,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1453,"endColumn":56,"fix":{"range":[52117,52127],"text":"'template'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1453,"column":57,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1453,"endColumn":58,"fix":{"range":[52127,52145],"text":")\n tpl"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1454,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1454,"endColumn":42,"fix":{"range":[52169,52190],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1455,"column":42,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1455,"endColumn":43,"fix":{"range":[52203,52226],"text":"firstChild\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1457,"column":47,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1457,"endColumn":48,"fix":{"range":[52272,52284],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1458,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1458,"endColumn":11,"fix":{"range":[52283,52299],"text":"}\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1460,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1460,"endColumn":38,"fix":{"range":[52355,52363],"text":"'string'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1460,"column":54,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1460,"endColumn":57,"fix":{"range":[52379,52382],"text":"'<'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1461,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1461,"endColumn":25,"fix":{"range":[52411,52428],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1463,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1463,"endColumn":24,"fix":{"range":[52446,52462],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1464,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1464,"endColumn":11,"fix":{"range":[52461,52477],"text":"}\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1466,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1466,"endColumn":49,"fix":{"range":[52547,52553],"text":"'\\\\$&'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1466,"column":50,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1466,"endColumn":51,"fix":{"range":[52553,52565],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1467,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1467,"endColumn":11,"fix":{"range":[52564,52580],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dom_el' is not in camel case.","line":1468,"column":31,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1468,"endColumn":37},{"ruleId":"camelcase","severity":2,"message":"Identifier 'event_name' is not in camel case.","line":1468,"column":39,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1468,"endColumn":49},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1469,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1469,"endColumn":58,"fix":{"range":[52632,52635],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1469,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1469,"endColumn":56,"fix":{"range":[52665,52677],"text":"'HTMLEvents'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1469,"column":57,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1469,"endColumn":58,"fix":{"range":[52677,52695],"text":")\n event"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1470,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1470,"endColumn":52,"fix":{"range":[52729,52748],"text":")\n dom_el"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dom_el' is not in camel case.","line":1471,"column":11,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1471,"endColumn":17},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1471,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1471,"endColumn":39,"fix":{"range":[52768,52780],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1472,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1472,"endColumn":11,"fix":{"range":[52779,52795],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dom_el' is not in camel case.","line":1473,"column":27,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1473,"endColumn":33},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dom_el' is not in camel case.","line":1474,"column":25,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1474,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1474,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1474,"endColumn":44,"fix":{"range":[52867,52879],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1475,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1475,"endColumn":11,"fix":{"range":[52878,52894],"text":"}\n const"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1477,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1477,"endColumn":52,"fix":{"range":[52943,52946],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'norm_classes' is not in camel case.","line":1477,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1477,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1477,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1477,"endColumn":52,"fix":{"range":[52982,53000],"text":")\n elmts"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1478,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1478,"endColumn":38,"fix":{"range":[53020,53038],"text":")\n elmts"}},{"ruleId":"array-callback-return","severity":2,"message":"Array.prototype.map() expects a return value from arrow function.","line":1479,"column":27,"nodeType":"ArrowFunctionExpression","messageId":"expectedInside","endLine":1479,"endColumn":29},{"ruleId":"camelcase","severity":2,"message":"Identifier 'norm_classes' is not in camel case.","line":1480,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1480,"endColumn":25},{"ruleId":"array-callback-return","severity":2,"message":"Array.prototype.map() expects a return value from arrow function.","line":1480,"column":36,"nodeType":"ArrowFunctionExpression","messageId":"expectedInside","endLine":1480,"endColumn":38},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1481,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1481,"endColumn":38,"fix":{"range":[53129,53145],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1482,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1482,"endColumn":16,"fix":{"range":[53145,53159],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1483,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1483,"endColumn":14,"fix":{"range":[53159,53171],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1484,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1484,"endColumn":11,"fix":{"range":[53170,53186],"text":"}\n const"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1486,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1486,"endColumn":52,"fix":{"range":[53238,53241],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'norm_classes' is not in camel case.","line":1486,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1486,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1486,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1486,"endColumn":52,"fix":{"range":[53277,53295],"text":")\n elmts"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1487,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1487,"endColumn":38,"fix":{"range":[53315,53333],"text":")\n elmts"}},{"ruleId":"array-callback-return","severity":2,"message":"Array.prototype.map() expects a return value from arrow function.","line":1488,"column":27,"nodeType":"ArrowFunctionExpression","messageId":"expectedInside","endLine":1488,"endColumn":29},{"ruleId":"camelcase","severity":2,"message":"Identifier 'norm_classes' is not in camel case.","line":1489,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1489,"endColumn":25},{"ruleId":"array-callback-return","severity":2,"message":"Array.prototype.map() expects a return value from arrow function.","line":1489,"column":36,"nodeType":"ArrowFunctionExpression","messageId":"expectedInside","endLine":1489,"endColumn":38},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1490,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1490,"endColumn":41,"fix":{"range":[53427,53443],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1491,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1491,"endColumn":16,"fix":{"range":[53443,53457],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1492,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1492,"endColumn":14,"fix":{"range":[53457,53469],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1493,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1493,"endColumn":11,"fix":{"range":[53468,53484],"text":"}\n const"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1495,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1495,"endColumn":28,"fix":{"range":[53522,53525],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1495,"column":27,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1495,"endColumn":28,"fix":{"range":[53537,53557],"text":"]\n iterate"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1497,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1497,"endColumn":45,"fix":{"range":[53616,53624],"text":"'string'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1498,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1498,"endColumn":69,"fix":{"range":[53694,53710],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1501,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1501,"endColumn":50,"fix":{"range":[53801,53817],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1503,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1503,"endColumn":14,"fix":{"range":[53829,53848],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1504,"column":41,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1504,"endColumn":42,"fix":{"range":[53871,53883],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1505,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1505,"endColumn":11,"fix":{"range":[53882,53898],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1508,"column":24,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1508,"endColumn":25,"fix":{"range":[53983,53997],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1510,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1510,"endColumn":22,"fix":{"range":[54015,54029],"text":"arg\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1511,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1511,"endColumn":11,"fix":{"range":[54028,54044],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1514,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1514,"endColumn":20,"fix":{"range":[54158,54177],"text":"return\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1518,"column":28,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1518,"endColumn":29,"fix":{"range":[54288,54309],"text":"target\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1520,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1520,"endColumn":40,"fix":{"range":[54338,54361],"text":"parentNode\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1522,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1522,"endColumn":11,"fix":{"range":[54370,54386],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1525,"column":41,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1525,"endColumn":42,"fix":{"range":[54494,54508],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1527,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1527,"endColumn":26,"fix":{"range":[54532,54544],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1528,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1528,"endColumn":11,"fix":{"range":[54543,54559],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1530,"column":47,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1530,"endColumn":48,"fix":{"range":[54632,54644],"text":"0\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1531,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1531,"endColumn":11,"fix":{"range":[54643,54659],"text":"}\n const"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1534,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1534,"endColumn":23,"fix":{"range":[54724,54734],"text":"{return -1;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1534,"column":22,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1534,"endColumn":23,"fix":{"range":[54732,54752],"text":"1\n amongst"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1535,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1535,"endColumn":45,"fix":{"range":[54770,54793],"text":"nodeName\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1536,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1536,"endColumn":22,"fix":{"range":[54790,54793],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1536,"column":21,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1536,"endColumn":22,"fix":{"range":[54799,54817],"text":"0\n while"}},{"ruleId":"no-cond-assign","severity":2,"message":"Expected a conditional expression and instead saw an assignment.","line":1537,"column":18,"nodeType":"AssignmentExpression","messageId":"missing","endLine":1537,"endColumn":50},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1539,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1539,"endColumn":20,"fix":{"range":[54911,54928],"text":"++\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1542,"column":20,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1542,"endColumn":21,"fix":{"range":[54958,54971],"text":"i2\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1543,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1543,"endColumn":11,"fix":{"range":[54970,54986],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1547,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1547,"endColumn":41,"fix":{"range":[55126,55142],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1549,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1549,"endColumn":40,"fix":{"range":[55187,55189],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1549,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1549,"endColumn":48,"fix":{"range":[55195,55211],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1551,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1551,"endColumn":14,"fix":{"range":[55223,55235],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1552,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1552,"endColumn":11,"fix":{"range":[55234,55250],"text":"}\n const"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1555,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1555,"endColumn":69,"fix":{"range":[55341,55397],"text":"{existing.parentNode.replaceChild(replacement, existing);}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1555,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1555,"endColumn":69,"fix":{"range":[55395,55407],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1556,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1556,"endColumn":11,"fix":{"range":[55406,55422],"text":"}\n const"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1559,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1559,"endColumn":20,"fix":{"range":[55499,55506],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1559,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1559,"endColumn":20,"fix":{"range":[55499,55519],"text":"return\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1560,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1560,"endColumn":40,"fix":{"range":[55538,55546],"text":"'string'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1562,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1562,"endColumn":22,"fix":{"range":[55595,55602],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1562,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1562,"endColumn":22,"fix":{"range":[55595,55620],"text":"return\n regex"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1563,"column":39,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1563,"endColumn":42,"fix":{"range":[55641,55644],"text":"'i'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1563,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1563,"endColumn":44,"fix":{"range":[55644,55658],"text":")\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1566,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1566,"endColumn":49,"fix":{"range":[55715,55718],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1566,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1566,"endColumn":49,"fix":{"range":[55749,55766],"text":")\n if"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1568,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1568,"endColumn":61,"fix":{"range":[55816,55819],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1568,"column":53,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1568,"endColumn":59,"fix":{"range":[55854,55860],"text":"'span'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1568,"column":60,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1568,"endColumn":61,"fix":{"range":[55860,55885],"text":")\n spannode"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1569,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1569,"endColumn":47,"fix":{"range":[55898,55909],"text":"'highlight'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1569,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1569,"endColumn":48,"fix":{"range":[55898,55928],"text":"\"highlight\"\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1570,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1570,"endColumn":60,"fix":{"range":[55925,55928],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1570,"column":59,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1570,"endColumn":60,"fix":{"range":[55968,55994],"text":")\n middlebit"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1571,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1571,"endColumn":53,"fix":{"range":[56021,56041],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1572,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1572,"endColumn":59,"fix":{"range":[56038,56041],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1572,"column":58,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1572,"endColumn":59,"fix":{"range":[56080,56105],"text":")\n spannode"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1573,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1573,"endColumn":49,"fix":{"range":[56129,56157],"text":")\n replaceNode"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1574,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1574,"endColumn":48,"fix":{"range":[56177,56200],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1575,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1575,"endColumn":24,"fix":{"range":[56201,56217],"text":"1\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1577,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1577,"endColumn":22,"fix":{"range":[56237,56251],"text":"0\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1578,"column":12,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1578,"endColumn":13,"fix":{"range":[56250,56268],"text":"}\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1580,"column":120,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1580,"endColumn":131,"fix":{"range":[56420,56431],"text":"'highlight'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1580,"column":152,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1580,"endColumn":158,"fix":{"range":[56452,56458],"text":"'SPAN'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1582,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1582,"endColumn":46,"fix":{"range":[56572,56590],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1583,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1583,"endColumn":18,"fix":{"range":[56590,56606],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1585,"column":12,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1585,"endColumn":13,"fix":{"range":[56617,56635],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1588,"column":41,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1588,"endColumn":42,"fix":{"range":[56747,56763],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1590,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1590,"endColumn":37,"fix":{"range":[56798,56819],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1591,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1591,"endColumn":22,"fix":{"range":[56820,56834],"text":"0\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1592,"column":12,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1592,"endColumn":13,"fix":{"range":[56833,56864],"text":"}\n highlightRecursive"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1593,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1593,"endColumn":39,"fix":{"range":[56872,56884],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1594,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1594,"endColumn":11,"fix":{"range":[56883,56899],"text":"}\n const"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1596,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1596,"endColumn":66,"fix":{"range":[56939,56942],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1596,"column":48,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1596,"endColumn":64,"fix":{"range":[56976,56992],"text":"'span.highlight'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1596,"column":65,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1596,"endColumn":66,"fix":{"range":[56992,57010],"text":")\n Array"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1597,"column":59,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1597,"endColumn":60,"fix":{"range":[57053,57053],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1598,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1598,"endColumn":41,"fix":{"range":[57073,57076],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1598,"column":40,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1598,"endColumn":41,"fix":{"range":[57090,57120],"text":"parentNode\n parent"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1599,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1599,"endColumn":54,"fix":{"range":[57153,57174],"text":")\n parent"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1600,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1600,"endColumn":32,"fix":{"range":[57185,57199],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1601,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1601,"endColumn":14,"fix":{"range":[57199,57211],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1602,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1602,"endColumn":11,"fix":{"range":[57210,57226],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1603,"column":25,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1603,"endColumn":26,"fix":{"range":[57235,57252],"text":"65\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1604,"column":30,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1604,"endColumn":31,"fix":{"range":[57266,57283],"text":"13\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1605,"column":27,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1605,"endColumn":28,"fix":{"range":[57294,57311],"text":"27\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1606,"column":28,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1606,"endColumn":29,"fix":{"range":[57323,57340],"text":"37\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1607,"column":26,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1607,"endColumn":27,"fix":{"range":[57350,57367],"text":"38\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1608,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1608,"endColumn":30,"fix":{"range":[57380,57397],"text":"39\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1609,"column":28,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1609,"endColumn":29,"fix":{"range":[57409,57426],"text":"40\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1610,"column":32,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1610,"endColumn":33,"fix":{"range":[57443,57459],"text":"8\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1611,"column":30,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1611,"endColumn":31,"fix":{"range":[57473,57490],"text":"46\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1612,"column":26,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1612,"endColumn":27,"fix":{"range":[57501,57517],"text":"9\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1613,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1613,"endColumn":56,"fix":{"range":[57548,57559],"text":"'undefined'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1613,"column":98,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1613,"endColumn":99,"fix":{"range":[57600,57616],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1614,"column":39,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1614,"endColumn":48,"fix":{"range":[57641,57650],"text":"'metaKey'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1614,"column":51,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1614,"endColumn":60,"fix":{"range":[57653,57662],"text":"'ctrlKey'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1614,"column":60,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1614,"endColumn":61,"fix":{"range":[57653,57675],"text":"\"ctrlKey\"\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1615,"column":9,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1666,"endColumn":11,"fix":{"range":[57672,57675],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1619,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1619,"endColumn":25,"fix":{"range":[57782,57785],"text":"','"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1638,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1638,"endColumn":34,"fix":{"range":[58320,58329],"text":"'loading'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1640,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1640,"endColumn":36,"fix":{"range":[58382,58392],"text":"'optgroup'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1641,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1641,"endColumn":30,"fix":{"range":[58416,58423],"text":"'value'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1642,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1642,"endColumn":29,"fix":{"range":[58447,58453],"text":"'text'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1643,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1643,"endColumn":36,"fix":{"range":[58480,58490],"text":"'disabled'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1644,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1644,"endColumn":38,"fix":{"range":[58522,58529],"text":"'label'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1645,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1645,"endColumn":38,"fix":{"range":[58561,58568],"text":"'value'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1647,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1647,"endColumn":30,"fix":{"range":[58627,58635],"text":"'$order'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1648,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1648,"endColumn":31,"fix":{"range":[58661,58667],"text":"'text'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1649,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1649,"endColumn":35,"fix":{"range":[58699,58704],"text":"'and'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1651,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1651,"endColumn":37,"fix":{"range":[58752,58764],"text":"'ts-wrapper'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1652,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1652,"endColumn":37,"fix":{"range":[58790,58802],"text":"'ts-control'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1653,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1653,"endColumn":39,"fix":{"range":[58829,58842],"text":"'ts-dropdown'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1654,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1654,"endColumn":54,"fix":{"range":[58876,58897],"text":"'ts-dropdown-content'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1655,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1655,"endColumn":28,"fix":{"range":[58920,58926],"text":"'item'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1656,"column":24,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1656,"endColumn":32,"fix":{"range":[58951,58959],"text":"'option'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1662,"column":31,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1662,"endColumn":32,"fix":{"range":[59202,59202],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1663,"column":36,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1663,"endColumn":37,"fix":{"range":[59246,59260],"text":"0\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1666,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1666,"endColumn":11,"fix":{"range":[59291,59307],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'hash_key' is not in camel case.","line":1667,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1667,"endColumn":23},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1668,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1668,"endColumn":43,"fix":{"range":[59363,59374],"text":"'undefined'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1669,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1669,"endColumn":25,"fix":{"range":[59406,59418],"text":"{return null;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1669,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1669,"endColumn":25,"fix":{"range":[59413,59435],"text":"null\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1670,"column":33,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1670,"endColumn":34,"fix":{"range":[59450,59462],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1671,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1671,"endColumn":11,"fix":{"range":[59461,59477],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'get_hash' is not in camel case.","line":1672,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1672,"endColumn":23},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1673,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1673,"endColumn":41,"fix":{"range":[59533,59542],"text":"'boolean'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1674,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1674,"endColumn":38,"fix":{"range":[59556,59581],"text":"{return value ? \"1\" : \"0\";}"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1674,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1674,"endColumn":31,"fix":{"range":[59571,59574],"text":"'1'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1674,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1674,"endColumn":37,"fix":{"range":[59577,59580],"text":"'0'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1674,"column":37,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1674,"endColumn":38,"fix":{"range":[59577,59598],"text":"\"0\"\n return"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1675,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1675,"endColumn":28,"fix":{"range":[59607,59609],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1675,"column":28,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1675,"endColumn":29,"fix":{"range":[59607,59620],"text":"\"\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1676,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1676,"endColumn":11,"fix":{"range":[59619,59635],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'escape_html' is not in camel case.","line":1677,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1677,"endColumn":26},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1678,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1678,"endColumn":27,"fix":{"range":[59685,59687],"text":"''"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1678,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1678,"endColumn":50,"fix":{"range":[59703,59710],"text":"'&'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1678,"column":66,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1678,"endColumn":72,"fix":{"range":[59726,59732],"text":"'<'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1678,"column":88,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1678,"endColumn":94,"fix":{"range":[59748,59754],"text":"'>'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1678,"column":110,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1678,"endColumn":118,"fix":{"range":[59770,59778],"text":"'"'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1678,"column":119,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1678,"endColumn":120,"fix":{"range":[59778,59790],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1679,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1679,"endColumn":11,"fix":{"range":[59789,59805],"text":"}\n const"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1681,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1681,"endColumn":23,"fix":{"range":[59849,59852],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1681,"column":22,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1681,"endColumn":23,"fix":{"range":[59853,59878],"text":"timeout\n return"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1682,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1682,"endColumn":27,"fix":{"range":[59887,59887],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1683,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1683,"endColumn":30,"fix":{"range":[59919,59922],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1683,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1683,"endColumn":30,"fix":{"range":[59931,59951],"text":"this\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1685,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1685,"endColumn":62,"fix":{"range":[60023,60052],"text":")\n clearTimeout"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1686,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1686,"endColumn":37,"fix":{"range":[60060,60076],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1688,"column":42,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1688,"endColumn":43,"fix":{"range":[60118,60118],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1689,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1689,"endColumn":30,"fix":{"range":[60147,60172],"text":"null\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1690,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1690,"endColumn":50,"fix":{"range":[60197,60220],"text":"true\n fn2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1691,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1691,"endColumn":48,"fix":{"range":[60248,60264],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1692,"column":22,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1692,"endColumn":23,"fix":{"range":[60271,60285],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1693,"column":12,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1693,"endColumn":13,"fix":{"range":[60284,60296],"text":"}\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1694,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1694,"endColumn":11,"fix":{"range":[60295,60311],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'debounce_events' is not in camel case.","line":1695,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1695,"endColumn":30},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1696,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1696,"endColumn":20,"fix":{"range":[60365,60368],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1696,"column":19,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1696,"endColumn":20,"fix":{"range":[60369,60388],"text":"type\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1697,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1697,"endColumn":39,"fix":{"range":[60385,60388],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1697,"column":38,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1697,"endColumn":39,"fix":{"range":[60405,60427],"text":"trigger\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1698,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1698,"endColumn":31,"fix":{"range":[60424,60427],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'event_args' is not in camel case.","line":1698,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1698,"endColumn":25},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1698,"column":30,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1698,"endColumn":31,"fix":{"range":[60442,60460],"text":"}\n self2"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1699,"column":35,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1699,"endColumn":36,"fix":{"range":[60479,60479],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1700,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1700,"endColumn":38,"fix":{"range":[60496,60499],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1700,"column":37,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1700,"endColumn":38,"fix":{"range":[60519,60536],"text":"]\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'event_args' is not in camel case.","line":1702,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1702,"endColumn":25},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1702,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1702,"endColumn":45,"fix":{"range":[60603,60627],"text":"arguments\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1704,"column":53,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1704,"endColumn":54,"fix":{"range":[60686,60702],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1706,"column":12,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1706,"endColumn":13,"fix":{"range":[60713,60729],"text":"}\n fn2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1707,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1707,"endColumn":32,"fix":{"range":[60745,60763],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1708,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1708,"endColumn":35,"fix":{"range":[60774,60796],"text":"trigger\n for"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'event_args' is not in camel case.","line":1710,"column":25,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1710,"endColumn":35},{"ruleId":"camelcase","severity":2,"message":"Identifier 'event_args' is not in camel case.","line":1711,"column":36,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1711,"endColumn":46},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1711,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1711,"endColumn":54,"fix":{"range":[60904,60920],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1714,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1714,"endColumn":11,"fix":{"range":[60941,60957],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1719,"column":12,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1719,"endColumn":13,"fix":{"range":[61137,61149],"text":"}\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1720,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1720,"endColumn":11,"fix":{"range":[61148,61164],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1723,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1723,"endColumn":34,"fix":{"range":[61259,61276],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1725,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1725,"endColumn":37,"fix":{"range":[61320,61336],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1728,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1728,"endColumn":11,"fix":{"range":[61357,61373],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1730,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1730,"endColumn":61,"fix":{"range":[61483,61495],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1731,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1731,"endColumn":11,"fix":{"range":[61494,61510],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'key_name' is not in camel case.","line":1732,"column":28,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1732,"endColumn":36},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1734,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1734,"endColumn":26,"fix":{"range":[61585,61603],"text":"false\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'key_name' is not in camel case.","line":1736,"column":20,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1736,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1737,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1737,"endColumn":26,"fix":{"range":[61655,61673],"text":"false\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1739,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1739,"endColumn":117,"fix":{"range":[61684,61687],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1739,"column":116,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1739,"endColumn":117,"fix":{"range":[61788,61803],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1741,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1741,"endColumn":25,"fix":{"range":[61839,61856],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1743,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1743,"endColumn":24,"fix":{"range":[61874,61890],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1744,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1744,"endColumn":11,"fix":{"range":[61889,61905],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'existing_id' is not in camel case.","line":1746,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1746,"endColumn":28},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1746,"column":48,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1746,"endColumn":52,"fix":{"range":[61977,61981],"text":"'id'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1746,"column":53,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1746,"endColumn":54,"fix":{"range":[61981,61996],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'existing_id' is not in camel case.","line":1747,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1747,"endColumn":26},{"ruleId":"camelcase","severity":2,"message":"Identifier 'existing_id' is not in camel case.","line":1748,"column":20,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1748,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1748,"column":31,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1748,"endColumn":32,"fix":{"range":[62032,62056],"text":"existing_id\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1750,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1750,"endColumn":32,"fix":{"range":[62084,62088],"text":"'id'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1750,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1750,"endColumn":39,"fix":{"range":[62093,62112],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1751,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1751,"endColumn":22,"fix":{"range":[62113,62127],"text":"id2\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1752,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1752,"endColumn":11,"fix":{"range":[62126,62142],"text":"}\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1754,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1754,"endColumn":47,"fix":{"range":[62207,62213],"text":"'\\\\$&'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1754,"column":48,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1754,"endColumn":49,"fix":{"range":[62213,62225],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1755,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1755,"endColumn":11,"fix":{"range":[62224,62240],"text":"}\n const"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1758,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1758,"endColumn":33,"fix":{"range":[62302,62322],"text":"{parent.append(node);}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1758,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1758,"endColumn":33,"fix":{"range":[62320,62332],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1759,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1759,"endColumn":11,"fix":{"range":[62331,62350],"text":"}\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1760,"column":29,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":1760,"endColumn":30,"fix":{"range":[62362,62362],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'settings_user' is not in camel case.","line":1760,"column":37,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1760,"endColumn":50},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1761,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1761,"endColumn":70,"fix":{"range":[62397,62400],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1761,"column":69,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1761,"endColumn":70,"fix":{"range":[62454,62470],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1762,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1762,"endColumn":45,"fix":{"range":[62467,62470],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'attr_data' is not in camel case.","line":1762,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1762,"endColumn":24},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1762,"column":44,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1762,"endColumn":45,"fix":{"range":[62492,62515],"text":"dataAttr\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1763,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1763,"endColumn":49,"fix":{"range":[62512,62515],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_label' is not in camel case.","line":1763,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1763,"endColumn":26},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1763,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1763,"endColumn":49,"fix":{"range":[62539,62564],"text":"labelField\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1764,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1764,"endColumn":49,"fix":{"range":[62561,62564],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_value' is not in camel case.","line":1764,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1764,"endColumn":26},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1764,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1764,"endColumn":49,"fix":{"range":[62588,62613],"text":"valueField\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1765,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1765,"endColumn":55,"fix":{"range":[62610,62613],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_disabled' is not in camel case.","line":1765,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1765,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1765,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1765,"endColumn":55,"fix":{"range":[62640,62668],"text":"disabledField\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1766,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1766,"endColumn":55,"fix":{"range":[62665,62668],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_optgroup' is not in camel case.","line":1766,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1766,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1766,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1766,"endColumn":55,"fix":{"range":[62695,62723],"text":"optgroupField\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1767,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1767,"endColumn":66,"fix":{"range":[62720,62723],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_optgroup_label' is not in camel case.","line":1767,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1767,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1767,"column":65,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1767,"endColumn":66,"fix":{"range":[62756,62789],"text":"optgroupLabelField\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1768,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1768,"endColumn":66,"fix":{"range":[62786,62789],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_optgroup_value' is not in camel case.","line":1768,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1768,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1768,"column":65,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1768,"endColumn":66,"fix":{"range":[62822,62855],"text":"optgroupValueField\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1769,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1769,"endColumn":54,"fix":{"range":[62852,62855],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'tag_name' is not in camel case.","line":1769,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1769,"endColumn":23},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1769,"column":53,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1769,"endColumn":54,"fix":{"range":[62893,62909],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1770,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1770,"endColumn":105,"fix":{"range":[62906,62909],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1770,"column":48,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1770,"endColumn":61,"fix":{"range":[62943,62956],"text":"'placeholder'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1770,"column":85,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1770,"endColumn":103,"fix":{"range":[62980,62998],"text":"'data-placeholder'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1770,"column":104,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1770,"endColumn":105,"fix":{"range":[62998,63013],"text":")\n if"}},{"ruleId":"prefer-const","severity":2,"message":"'option' is never reassigned. Use 'const' instead.","line":1772,"column":17,"nodeType":"Identifier","messageId":"useConst","endLine":1772,"endColumn":23,"fix":{"range":[63073,63126],"text":"const option = input.querySelector('option[value=\"\"]');"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1772,"column":65,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1772,"endColumn":66,"fix":{"range":[63124,63141],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1774,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1774,"endColumn":48,"fix":{"range":[63188,63214],"text":"textContent\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1777,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1783,"endColumn":13,"fix":{"range":[63237,63240],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'settings_element' is not in camel case.","line":1777,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1777,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1783,"column":12,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1783,"endColumn":13,"fix":{"range":[63399,63415],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1784,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1849,"endColumn":13,"fix":{"range":[63412,63415],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'init_select' is not in camel case.","line":1784,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1784,"endColumn":26},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1785,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1785,"endColumn":25,"fix":{"range":[63450,63453],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1785,"column":24,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1785,"endColumn":25,"fix":{"range":[63454,63478],"text":"tagName\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1786,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1786,"endColumn":53,"fix":{"range":[63475,63478],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'settings_element' is not in camel case.","line":1786,"column":28,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1786,"endColumn":44},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1786,"column":52,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1786,"endColumn":53,"fix":{"range":[63507,63531],"text":"options\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1787,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1787,"endColumn":33,"fix":{"range":[63528,63531],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1787,"column":32,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1787,"endColumn":33,"fix":{"range":[63546,63564],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1788,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1788,"endColumn":33,"fix":{"range":[63561,63564],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'group_count' is not in camel case.","line":1788,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1788,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1788,"column":32,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1788,"endColumn":33,"fix":{"range":[63579,63597],"text":"1\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1789,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1796,"endColumn":15,"fix":{"range":[63594,63597],"text":"let"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1790,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1790,"endColumn":57,"fix":{"range":[63634,63637],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1790,"column":56,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1790,"endColumn":57,"fix":{"range":[63674,63694],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1791,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1791,"endColumn":55,"fix":{"range":[63691,63694],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'attr_data' is not in camel case.","line":1791,"column":26,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1791,"endColumn":35},{"ruleId":"camelcase","severity":2,"message":"Identifier 'attr_data' is not in camel case.","line":1791,"column":44,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1791,"endColumn":53},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1791,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1791,"endColumn":55,"fix":{"range":[63729,63748],"text":"]\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1792,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1792,"endColumn":43,"fix":{"range":[63766,63774],"text":"'string'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1793,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1793,"endColumn":62,"fix":{"range":[63852,63870],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1795,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1795,"endColumn":27,"fix":{"range":[63892,63911],"text":"data\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1796,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1796,"endColumn":15,"fix":{"range":[63910,63928],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1797,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1827,"endColumn":15,"fix":{"range":[63925,63928],"text":"let"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1798,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1798,"endColumn":50,"fix":{"range":[63976,63979],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1798,"column":49,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1798,"endColumn":50,"fix":{"range":[64009,64028],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1800,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1800,"endColumn":24,"fix":{"range":[64061,64068],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1800,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1800,"endColumn":24,"fix":{"range":[64061,64085],"text":"return\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1802,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1802,"endColumn":24,"fix":{"range":[64141,64148],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1802,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1802,"endColumn":24,"fix":{"range":[64141,64165],"text":"return\n if"}},{"ruleId":"no-prototype-builtins","severity":2,"message":"Do not access Object.prototype method 'hasOwnProperty' from target object.","line":1803,"column":30,"nodeType":"CallExpression","messageId":"prototypeBuildIn","endLine":1803,"endColumn":44},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1805,"column":19,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1805,"endColumn":63,"fix":{"range":[64250,64253],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_optgroup' is not in camel case.","line":1805,"column":47,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1805,"endColumn":61},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1805,"column":62,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1805,"endColumn":63,"fix":{"range":[64292,64315],"text":"]\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_optgroup' is not in camel case.","line":1807,"column":39,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1807,"endColumn":53},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1807,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1807,"endColumn":63,"fix":{"range":[64381,64407],"text":"group\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_optgroup' is not in camel case.","line":1809,"column":39,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1809,"endColumn":53},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1809,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1809,"endColumn":70,"fix":{"range":[64507,64529],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1811,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1811,"endColumn":37,"fix":{"range":[64571,64593],"text":")\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1815,"column":17,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1815,"endColumn":52,"fix":{"range":[64651,64654],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_data' is not in camel case.","line":1815,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1815,"endColumn":32},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1815,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1815,"endColumn":52,"fix":{"range":[64684,64714],"text":")\n option_data"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_data' is not in camel case.","line":1816,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1816,"endColumn":28},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_label' is not in camel case.","line":1816,"column":29,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1816,"endColumn":40},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_data' is not in camel case.","line":1816,"column":44,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1816,"endColumn":55},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_label' is not in camel case.","line":1816,"column":56,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1816,"endColumn":67},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1816,"column":90,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1816,"endColumn":91,"fix":{"range":[64765,64805],"text":"textContent\n option_data"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_data' is not in camel case.","line":1817,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1817,"endColumn":28},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_value' is not in camel case.","line":1817,"column":29,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1817,"endColumn":40},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_data' is not in camel case.","line":1817,"column":44,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1817,"endColumn":55},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_value' is not in camel case.","line":1817,"column":56,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1817,"endColumn":67},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1817,"column":77,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1817,"endColumn":78,"fix":{"range":[64849,64883],"text":"value\n option_data"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_data' is not in camel case.","line":1818,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1818,"endColumn":28},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_disabled' is not in camel case.","line":1818,"column":29,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1818,"endColumn":43},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_data' is not in camel case.","line":1818,"column":47,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1818,"endColumn":58},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_disabled' is not in camel case.","line":1818,"column":59,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1818,"endColumn":73},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1818,"column":93,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1818,"endColumn":94,"fix":{"range":[64940,64977],"text":"disabled\n option_data"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_data' is not in camel case.","line":1819,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1819,"endColumn":28},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_optgroup' is not in camel case.","line":1819,"column":29,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1819,"endColumn":43},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_data' is not in camel case.","line":1819,"column":47,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1819,"endColumn":58},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_optgroup' is not in camel case.","line":1819,"column":59,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1819,"endColumn":73},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1819,"column":83,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1819,"endColumn":84,"fix":{"range":[65027,65061],"text":"group\n option_data"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_data' is not in camel case.","line":1820,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1820,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1820,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1820,"endColumn":46,"fix":{"range":[65072,65106],"text":"option\n optionsMap"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_data' is not in camel case.","line":1821,"column":37,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1821,"endColumn":48},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1821,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1821,"endColumn":49,"fix":{"range":[65116,65153],"text":"option_data\n options2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1822,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1822,"endColumn":44,"fix":{"range":[65170,65188],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'settings_element' is not in camel case.","line":1825,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1825,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1825,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1825,"endColumn":52,"fix":{"range":[65275,65293],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1827,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1827,"endColumn":15,"fix":{"range":[65306,65324],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1828,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1839,"endColumn":15,"fix":{"range":[65321,65324],"text":"let"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1829,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1829,"endColumn":38,"fix":{"range":[65366,65369],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'optgroup_data' is not in camel case.","line":1829,"column":24,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1829,"endColumn":37},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1829,"column":37,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1829,"endColumn":38,"fix":{"range":[65375,65417],"text":"optgroup_data\n optgroup_data"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'optgroup_data' is not in camel case.","line":1830,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1830,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1830,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1830,"endColumn":50,"fix":{"range":[65437,65467],"text":")\n optgroup_data"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'optgroup_data' is not in camel case.","line":1831,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1831,"endColumn":28},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_optgroup_label' is not in camel case.","line":1831,"column":29,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1831,"endColumn":49},{"ruleId":"camelcase","severity":2,"message":"Identifier 'optgroup_data' is not in camel case.","line":1831,"column":53,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1831,"endColumn":66},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_optgroup_label' is not in camel case.","line":1831,"column":67,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1831,"endColumn":87},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1831,"column":114,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1831,"endColumn":121,"fix":{"range":[65553,65560],"text":"'label'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1831,"column":126,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1831,"endColumn":128,"fix":{"range":[65565,65567],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1831,"column":128,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1831,"endColumn":129,"fix":{"range":[65565,65596],"text":"\"\"\n optgroup_data"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'optgroup_data' is not in camel case.","line":1832,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1832,"endColumn":28},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_optgroup_value' is not in camel case.","line":1832,"column":29,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1832,"endColumn":49},{"ruleId":"camelcase","severity":2,"message":"Identifier 'optgroup_data' is not in camel case.","line":1832,"column":53,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1832,"endColumn":66},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_optgroup_value' is not in camel case.","line":1832,"column":67,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1832,"endColumn":87},{"ruleId":"camelcase","severity":2,"message":"Identifier 'group_count' is not in camel case.","line":1832,"column":92,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1832,"endColumn":103},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1832,"column":105,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1832,"endColumn":106,"fix":{"range":[65671,65702],"text":"++\n optgroup_data"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'optgroup_data' is not in camel case.","line":1833,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1833,"endColumn":28},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_disabled' is not in camel case.","line":1833,"column":29,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1833,"endColumn":43},{"ruleId":"camelcase","severity":2,"message":"Identifier 'optgroup_data' is not in camel case.","line":1833,"column":47,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1833,"endColumn":60},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_disabled' is not in camel case.","line":1833,"column":61,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1833,"endColumn":75},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1833,"column":97,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1833,"endColumn":98,"fix":{"range":[65763,65803],"text":"disabled\n settings_element"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'settings_element' is not in camel case.","line":1834,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1834,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1834,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1834,"endColumn":62,"fix":{"range":[65832,65852],"text":")\n id2"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'optgroup_data' is not in camel case.","line":1835,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1835,"endColumn":34},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_optgroup_value' is not in camel case.","line":1835,"column":35,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1835,"endColumn":55},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1835,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1835,"endColumn":57,"fix":{"range":[65889,65913],"text":"]\n iterate"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1837,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1837,"endColumn":40,"fix":{"range":[65984,66002],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1838,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1838,"endColumn":18,"fix":{"range":[66002,66018],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1839,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1839,"endColumn":15,"fix":{"range":[66017,66048],"text":"}\n settings_element"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'settings_element' is not in camel case.","line":1840,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1840,"endColumn":29},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1840,"column":60,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1840,"endColumn":70,"fix":{"range":[66079,66089],"text":"'multiple'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1840,"column":82,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1840,"endColumn":83,"fix":{"range":[66100,66122],"text":"1\n iterate"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1842,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1842,"endColumn":53,"fix":{"range":[66202,66221],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1843,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1843,"endColumn":41,"fix":{"range":[66235,66245],"text":"'optgroup'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1844,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1844,"endColumn":33,"fix":{"range":[66279,66297],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1845,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1845,"endColumn":46,"fix":{"range":[66319,66327],"text":"'option'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1846,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1846,"endColumn":34,"fix":{"range":[66362,66380],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1848,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1848,"endColumn":16,"fix":{"range":[66394,66408],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1849,"column":12,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1849,"endColumn":13,"fix":{"range":[66407,66423],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1850,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1870,"endColumn":13,"fix":{"range":[66420,66423],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'init_textbox' is not in camel case.","line":1850,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1850,"endColumn":27},{"ruleId":"camelcase","severity":2,"message":"Identifier 'data_raw' is not in camel case.","line":1851,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1851,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1851,"column":59,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1851,"endColumn":60,"fix":{"range":[66504,66521],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'data_raw' is not in camel case.","line":1852,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1852,"endColumn":26},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1853,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1853,"endColumn":52,"fix":{"range":[66550,66553],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1853,"column":49,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1853,"endColumn":51,"fix":{"range":[66584,66586],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1853,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1853,"endColumn":52,"fix":{"range":[66584,66604],"text":"\"\"\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":1855,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":1855,"endColumn":24,"fix":{"range":[66667,66674],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1855,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1855,"endColumn":24,"fix":{"range":[66667,66694],"text":"return\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1856,"column":61,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1856,"endColumn":62,"fix":{"range":[66734,66758],"text":")\n iterate"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1858,"column":34,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1858,"endColumn":35,"fix":{"range":[66813,66838],"text":"}\n option"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_label' is not in camel case.","line":1859,"column":24,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1859,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1859,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1859,"endColumn":46,"fix":{"range":[66854,66884],"text":"value2\n option"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_value' is not in camel case.","line":1860,"column":24,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1860,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1860,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1860,"endColumn":46,"fix":{"range":[66900,66940],"text":"value2\n settings_element"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'settings_element' is not in camel case.","line":1861,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1861,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1861,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1861,"endColumn":55,"fix":{"range":[66960,66978],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1862,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1862,"endColumn":18,"fix":{"range":[66978,67011],"text":")\n settings_element"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'settings_element' is not in camel case.","line":1863,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1863,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1863,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1863,"endColumn":47,"fix":{"range":[67020,67041],"text":"values\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'settings_element' is not in camel case.","line":1865,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1865,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1865,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1865,"endColumn":63,"fix":{"range":[67109,67133],"text":")\n iterate"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'settings_element' is not in camel case.","line":1866,"column":23,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1866,"endColumn":39},{"ruleId":"camelcase","severity":2,"message":"Identifier 'settings_element' is not in camel case.","line":1867,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1867,"endColumn":33},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_value' is not in camel case.","line":1867,"column":49,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1867,"endColumn":60},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1867,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1867,"endColumn":63,"fix":{"range":[67231,67249],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1868,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1868,"endColumn":18,"fix":{"range":[67249,67265],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1870,"column":12,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1870,"endColumn":13,"fix":{"range":[67276,67291],"text":"}\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'tag_name' is not in camel case.","line":1871,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1871,"endColumn":23},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1871,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1871,"endColumn":36,"fix":{"range":[67306,67314],"text":"'select'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1872,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1872,"endColumn":27,"fix":{"range":[67342,67356],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1874,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1874,"endColumn":28,"fix":{"range":[67389,67403],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1876,"column":79,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1876,"endColumn":80,"fix":{"range":[67481,67493],"text":")\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1878,"column":9,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1878,"endColumn":28,"fix":{"range":[67502,67505],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'instance_i' is not in camel case.","line":1878,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1878,"endColumn":23},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1878,"column":27,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1878,"endColumn":28,"fix":{"range":[67519,67535],"text":"0\n class"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":1880,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":1880,"endColumn":23,"fix":{"range":[67602,67602],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'input_arg' is not in camel case.","line":1880,"column":23,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1880,"endColumn":32},{"ruleId":"camelcase","severity":2,"message":"Identifier 'user_settings' is not in camel case.","line":1880,"column":34,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1880,"endColumn":47},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1881,"column":20,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1881,"endColumn":21,"fix":{"range":[67649,67668],"text":")\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1882,"column":34,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1882,"endColumn":40},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1882,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1882,"endColumn":41,"fix":{"range":[67690,67709],"text":"0\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1883,"column":28,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1883,"endColumn":34},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1883,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1883,"endColumn":35,"fix":{"range":[67725,67744],"text":"0\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1884,"column":29,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1884,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1884,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1884,"endColumn":36,"fix":{"range":[67761,67780],"text":"0\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1885,"column":28,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1885,"endColumn":34},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1885,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1885,"endColumn":35,"fix":{"range":[67796,67815],"text":"0\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1886,"column":37,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1886,"endColumn":43},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1886,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1886,"endColumn":44,"fix":{"range":[67840,67859],"text":"0\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1887,"column":31,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1887,"endColumn":37},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1887,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1887,"endColumn":38,"fix":{"range":[67878,67897],"text":"0\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1888,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1888,"endColumn":28,"fix":{"range":[67906,67925],"text":"0\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1889,"column":29,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1889,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1889,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1889,"endColumn":36,"fix":{"range":[67942,67961],"text":"0\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1890,"column":26,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1890,"endColumn":32},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1890,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1890,"endColumn":33,"fix":{"range":[67975,67994],"text":"0\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1891,"column":29,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1891,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1891,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1891,"endColumn":36,"fix":{"range":[68011,68030],"text":"0\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1892,"column":34,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1892,"endColumn":40},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1892,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1892,"endColumn":41,"fix":{"range":[68052,68071],"text":"0\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1893,"column":24,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1893,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1893,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1893,"endColumn":31,"fix":{"range":[68083,68102],"text":"0\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1894,"column":28,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1894,"endColumn":34},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1894,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1894,"endColumn":35,"fix":{"range":[68118,68137],"text":"0\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1895,"column":29,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1895,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1895,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1895,"endColumn":36,"fix":{"range":[68154,68173],"text":"0\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1896,"column":27,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1896,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1896,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1896,"endColumn":34,"fix":{"range":[68188,68207],"text":"0\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1897,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1897,"endColumn":33,"fix":{"range":[68217,68240],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1898,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1898,"endColumn":37,"fix":{"range":[68254,68277],"text":"false\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1899,"column":31,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1899,"endColumn":37},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1899,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1899,"endColumn":38,"fix":{"range":[68296,68315],"text":"0\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1900,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1900,"endColumn":36,"fix":{"range":[68328,68351],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1901,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1901,"endColumn":33,"fix":{"range":[68362,68384],"text":"true\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1902,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1902,"endColumn":35,"fix":{"range":[68396,68419],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1903,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1903,"endColumn":36,"fix":{"range":[68432,68455],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1904,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1904,"endColumn":40,"fix":{"range":[68472,68495],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1905,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1905,"endColumn":34,"fix":{"range":[68506,68529],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1906,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1906,"endColumn":38,"fix":{"range":[68544,68567],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1907,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1907,"endColumn":38,"fix":{"range":[68582,68605],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1908,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1908,"endColumn":37,"fix":{"range":[68619,68642],"text":"false\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":1909,"column":35,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":1909,"endColumn":41},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1909,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1909,"endColumn":42,"fix":{"range":[68665,68684],"text":"0\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1910,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1910,"endColumn":32,"fix":{"range":[68697,68699],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1910,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1910,"endColumn":33,"fix":{"range":[68697,68717],"text":"\"\"\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1911,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1911,"endColumn":31,"fix":{"range":[68729,68748],"text":"0\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1912,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1912,"endColumn":30,"fix":{"range":[68759,68778],"text":"0\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1913,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1913,"endColumn":38,"fix":{"range":[68797,68816],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1914,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1914,"endColumn":38,"fix":{"range":[68832,68854],"text":"null\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1915,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1915,"endColumn":35,"fix":{"range":[68870,68889],"text":"]\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1916,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1916,"endColumn":33,"fix":{"range":[68903,68922],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1917,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1917,"endColumn":31,"fix":{"range":[68934,68953],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1918,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1918,"endColumn":35,"fix":{"range":[68969,68988],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1919,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1919,"endColumn":29,"fix":{"range":[68998,69023],"text":"]\n instance_i"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'instance_i' is not in camel case.","line":1920,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1920,"endColumn":23},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1920,"column":25,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1920,"endColumn":26,"fix":{"range":[69023,69042],"text":"++\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1921,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1921,"endColumn":21,"fix":{"range":[69039,69042],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1921,"column":20,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1921,"endColumn":21,"fix":{"range":[69043,69063],"text":"dir\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1922,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1922,"endColumn":43,"fix":{"range":[69060,69063],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1922,"column":42,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1922,"endColumn":43,"fix":{"range":[69088,69105],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1924,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1924,"endColumn":79,"fix":{"range":[69156,69204],"text":"'Tom Select already initialized on this element'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1924,"column":80,"nodeType":"ThrowStatement","messageId":"extraSemi","endLine":1924,"endColumn":81,"fix":{"range":[69204,69220],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1926,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1926,"endColumn":36,"fix":{"range":[69251,69272],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1927,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1927,"endColumn":97,"fix":{"range":[69269,69272],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1927,"column":96,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1927,"endColumn":97,"fix":{"range":[69351,69369],"text":")\n dir"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1928,"column":50,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1928,"endColumn":61,"fix":{"range":[69403,69414],"text":"'direction'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1928,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1928,"endColumn":63,"fix":{"range":[69414,69434],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1929,"column":63,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1929,"endColumn":64,"fix":{"range":[69478,69497],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1930,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1930,"endColumn":38,"fix":{"range":[69509,69535],"text":"settings\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1931,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1931,"endColumn":32,"fix":{"range":[69544,69567],"text":"input\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1932,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1932,"endColumn":49,"fix":{"range":[69597,69616],"text":"0\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1933,"column":66,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1933,"endColumn":74,"fix":{"range":[69665,69673],"text":"'select'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1933,"column":74,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1933,"endColumn":75,"fix":{"range":[69665,69691],"text":"\"select\"\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1934,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1934,"endColumn":41,"fix":{"range":[69713,69732],"text":")\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1935,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1935,"endColumn":53,"fix":{"range":[69756,69768],"text":"'tomselect-'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'instance_i' is not in camel case.","line":1935,"column":56,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1935,"endColumn":66},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1935,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1935,"endColumn":68,"fix":{"range":[69781,69800],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1936,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1936,"endColumn":46,"fix":{"range":[69820,69846],"text":"required\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1939,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1939,"endColumn":16,"fix":{"range":[69942,69965],"text":")\n settings"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1940,"column":73,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1940,"endColumn":81,"fix":{"range":[70017,70025],"text":"'single'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1940,"column":84,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1940,"endColumn":91,"fix":{"range":[70028,70035],"text":"'multi'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1940,"column":92,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1940,"endColumn":93,"fix":{"range":[70035,70052],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1941,"column":50,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1941,"endColumn":59,"fix":{"range":[70087,70096],"text":"'boolean'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1942,"column":57,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1942,"endColumn":64,"fix":{"range":[70156,70163],"text":"'multi'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1942,"column":64,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1942,"endColumn":65,"fix":{"range":[70156,70178],"text":"\"multi\"\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1944,"column":53,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1944,"endColumn":62,"fix":{"range":[70231,70240],"text":"'boolean'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1945,"column":60,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1945,"endColumn":67,"fix":{"range":[70303,70310],"text":"'multi'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1945,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1945,"endColumn":68,"fix":{"range":[70303,70325],"text":"\"multi\"\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1947,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1947,"endColumn":48,"fix":{"range":[70338,70341],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1947,"column":47,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1947,"endColumn":48,"fix":{"range":[70360,70388],"text":"createFilter\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1948,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1948,"endColumn":45,"fix":{"range":[70408,70418],"text":"'function'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1949,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1949,"endColumn":45,"fix":{"range":[70458,70466],"text":"'string'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1950,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1950,"endColumn":45,"fix":{"range":[70512,70530],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1953,"column":72,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1953,"endColumn":73,"fix":{"range":[70647,70665],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1956,"column":74,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":1956,"endColumn":75,"fix":{"range":[70798,70818],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1957,"column":18,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1957,"endColumn":19,"fix":{"range":[70817,70835],"text":"}\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1960,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1960,"endColumn":54,"fix":{"range":[70901,70920],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1961,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1961,"endColumn":35,"fix":{"range":[70936,70955],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1962,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1962,"endColumn":35,"fix":{"range":[70971,70991],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1963,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1963,"endColumn":43,"fix":{"range":[71009,71016],"text":"'
    '"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1963,"column":44,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1963,"endColumn":45,"fix":{"range":[71016,71036],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1964,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1964,"endColumn":43,"fix":{"range":[71054,71061],"text":"'
    '"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1964,"column":44,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1964,"endColumn":45,"fix":{"range":[71061,71081],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1965,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1965,"endColumn":53,"fix":{"range":[71106,71116],"text":"'dropdown'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1965,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1965,"endColumn":55,"fix":{"range":[71116,71136],"text":")\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_content' is not in camel case.","line":1966,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1966,"endColumn":35},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1966,"column":45,"nodeType":"TemplateLiteral","messageId":"wrongQuotes","endLine":1966,"endColumn":81,"fix":{"range":[71163,71199],"text":"'
    '"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1966,"column":82,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1966,"endColumn":83,"fix":{"range":[71199,71219],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1967,"column":53,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1967,"endColumn":60,"fix":{"range":[71254,71261],"text":"'class'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1967,"column":65,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1967,"endColumn":67,"fix":{"range":[71266,71268],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1967,"column":67,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1967,"endColumn":68,"fix":{"range":[71266,71287],"text":"\"\"\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1968,"column":44,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1968,"endColumn":45,"fix":{"range":[71309,71330],"text":"mode\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1969,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1969,"endColumn":31,"fix":{"range":[71327,71330],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'control_input' is not in camel case.","line":1969,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1969,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1969,"column":30,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1969,"endColumn":31,"fix":{"range":[71331,71368],"text":"control_input\n addClasses"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1970,"column":75,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1970,"endColumn":76,"fix":{"range":[71419,71444],"text":")\n addClasses"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1971,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1971,"endColumn":56,"fix":{"range":[71475,71496],"text":")\n append"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1972,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1972,"endColumn":38,"fix":{"range":[71513,71538],"text":")\n addClasses"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1973,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1973,"endColumn":69,"fix":{"range":[71582,71599],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1975,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1975,"endColumn":45,"fix":{"range":[71677,71693],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1977,"column":72,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1977,"endColumn":73,"fix":{"range":[71764,71785],"text":")\n append"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1978,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1978,"endColumn":48,"fix":{"range":[71812,71833],"text":")\n getDom"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1979,"column":77,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1979,"endColumn":78,"fix":{"range":[71890,71907],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'control_input' is not in camel case.","line":1981,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1981,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1981,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1981,"endColumn":61,"fix":{"range":[72006,72026],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":1982,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":1982,"endColumn":77,"fix":{"range":[72023,72026],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1982,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1982,"endColumn":41,"fix":{"range":[72036,72049],"text":"'autocorrect'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1982,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1982,"endColumn":59,"fix":{"range":[72051,72067],"text":"'autocapitalize'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1982,"column":61,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1982,"endColumn":75,"fix":{"range":[72069,72083],"text":"'autocomplete'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1982,"column":76,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":1982,"endColumn":77,"fix":{"range":[72083,72109],"text":"]\n iterate$1"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1987,"column":21,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1987,"endColumn":22,"fix":{"range":[72292,72312],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1989,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1989,"endColumn":18,"fix":{"range":[72328,72358],"text":")\n control_input"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'control_input' is not in camel case.","line":1990,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1990,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1990,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1990,"endColumn":43,"fix":{"range":[72371,72395],"text":"1\n control"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1991,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1991,"endColumn":50,"fix":{"range":[72421,72442],"text":")\n this"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'control_input' is not in camel case.","line":1992,"column":33,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1992,"endColumn":46},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1992,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1992,"endColumn":47,"fix":{"range":[72456,72484],"text":"control_input\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'control_input' is not in camel case.","line":1994,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1994,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1994,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1994,"endColumn":61,"fix":{"range":[72577,72598],"text":")\n this"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'control_input' is not in camel case.","line":1995,"column":33,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1995,"endColumn":46},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1995,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1995,"endColumn":47,"fix":{"range":[72612,72640],"text":"control_input\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'control_input' is not in camel case.","line":1997,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1997,"endColumn":28},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":1997,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":1997,"endColumn":48,"fix":{"range":[72685,72695],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1997,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1997,"endColumn":50,"fix":{"range":[72695,72716],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":1998,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":1998,"endColumn":41,"fix":{"range":[72730,72752],"text":"control\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2000,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2000,"endColumn":36,"fix":{"range":[72780,72805],"text":"wrapper\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2001,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2001,"endColumn":38,"fix":{"range":[72817,72843],"text":"dropdown\n this"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_content' is not in camel case.","line":2002,"column":37,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2002,"endColumn":53},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2002,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2002,"endColumn":54,"fix":{"range":[72863,72897],"text":"dropdown_content\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2003,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2003,"endColumn":36,"fix":{"range":[72908,72933],"text":"control\n this"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'control_input' is not in camel case.","line":2004,"column":34,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2004,"endColumn":47},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2004,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2004,"endColumn":48,"fix":{"range":[72950,72981],"text":"control_input\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2005,"column":25,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2005,"endColumn":26,"fix":{"range":[72988,73002],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2007,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2167,"endColumn":12,"fix":{"range":[73002,73002],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2007,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2007,"endColumn":17,"fix":{"range":[73018,73018],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2008,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2008,"endColumn":32,"fix":{"range":[73049,73072],"text":"this\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2009,"column":44,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2009,"endColumn":45,"fix":{"range":[73090,73117],"text":"settings\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'control_input' is not in camel case.","line":2010,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2010,"endColumn":32},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2010,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2010,"endColumn":55,"fix":{"range":[73140,73172],"text":"control_input\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2011,"column":44,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2011,"endColumn":45,"fix":{"range":[73190,73217],"text":"dropdown\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_content' is not in camel case.","line":2012,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2012,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2012,"column":60,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2012,"endColumn":61,"fix":{"range":[73243,73278],"text":"dropdown_content\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2013,"column":42,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2013,"endColumn":43,"fix":{"range":[73295,73321],"text":"wrapper\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2014,"column":42,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2014,"endColumn":43,"fix":{"range":[73338,73364],"text":"control\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2015,"column":38,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2015,"endColumn":39,"fix":{"range":[73379,73403],"text":"input\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'focus_node' is not in camel case.","line":2016,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2016,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2016,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2016,"endColumn":49,"fix":{"range":[73423,73452],"text":"focus_node\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'passive_event' is not in camel case.","line":2017,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2017,"endColumn":32},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2019,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2019,"endColumn":15,"fix":{"range":[73511,73531],"text":"}\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2020,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2020,"endColumn":61,"fix":{"range":[73560,73574],"text":"'-ts-dropdown'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2020,"column":61,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2020,"endColumn":62,"fix":{"range":[73560,73595],"text":"\"-ts-dropdown\"\n setAttr"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2023,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2023,"endColumn":16,"fix":{"range":[73657,73679],"text":")\n setAttr"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2025,"column":21,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2025,"endColumn":31,"fix":{"range":[73714,73724],"text":"'combobox'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2026,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2026,"endColumn":30,"fix":{"range":[73740,73755],"text":"'aria-haspopup'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2026,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2026,"endColumn":41,"fix":{"range":[73757,73766],"text":"'listbox'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2027,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2027,"endColumn":30,"fix":{"range":[73782,73797],"text":"'aria-expanded'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2027,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2027,"endColumn":39,"fix":{"range":[73799,73806],"text":"'false'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2028,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2028,"endColumn":30,"fix":{"range":[73822,73837],"text":"'aria-controls'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2029,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2029,"endColumn":16,"fix":{"range":[73862,73882],"text":")\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'control_id' is not in camel case.","line":2030,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2030,"endColumn":29},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2030,"column":66,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2030,"endColumn":79,"fix":{"range":[73930,73943],"text":"'-ts-control'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2030,"column":80,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2030,"endColumn":81,"fix":{"range":[73943,73963],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2031,"column":76,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2031,"endColumn":77,"fix":{"range":[74017,74040],"text":"\"']\"\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2032,"column":56,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2032,"endColumn":57,"fix":{"range":[74077,74097],"text":")\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'label_click' is not in camel case.","line":2033,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2033,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2033,"column":56,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2033,"endColumn":57,"fix":{"range":[74134,74151],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2035,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2035,"endColumn":38,"fix":{"range":[74192,74199],"text":"'click'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2035,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2035,"endColumn":53,"fix":{"range":[74212,74236],"text":")\n setAttr"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'control_id' is not in camel case.","line":2037,"column":22,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2037,"endColumn":32},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2038,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2038,"endColumn":18,"fix":{"range":[74293,74315],"text":")\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'label_id' is not in camel case.","line":2039,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2039,"endColumn":29},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2039,"column":61,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2039,"endColumn":72,"fix":{"range":[74356,74367],"text":"'-ts-label'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2039,"column":73,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2039,"endColumn":74,"fix":{"range":[74367,74391],"text":")\n setAttr"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2041,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2041,"endColumn":34,"fix":{"range":[74422,74439],"text":"'aria-labelledby'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'label_id' is not in camel case.","line":2041,"column":36,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2041,"endColumn":44},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2042,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2042,"endColumn":18,"fix":{"range":[74465,74489],"text":")\n setAttr"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2044,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2044,"endColumn":34,"fix":{"range":[74526,74543],"text":"'aria-labelledby'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'label_id' is not in camel case.","line":2044,"column":36,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2044,"endColumn":44},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2045,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2045,"endColumn":18,"fix":{"range":[74569,74585],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2047,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2047,"endColumn":53,"fix":{"range":[74632,74653],"text":"width\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'classes_plugins' is not in camel case.","line":2049,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2049,"endColumn":36},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2049,"column":39,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2049,"endColumn":48,"fix":{"range":[74723,74732],"text":"'plugin-'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2049,"column":76,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2049,"endColumn":86,"fix":{"range":[74760,74770],"text":"' plugin-'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2049,"column":87,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2049,"endColumn":88,"fix":{"range":[74770,74797],"text":")\n addClasses"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2050,"column":63,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2050,"endColumn":64,"fix":{"range":[74834,74850],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2054,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2054,"endColumn":37,"fix":{"range":[75004,75014],"text":"'multiple'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2055,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2055,"endColumn":18,"fix":{"range":[75030,75046],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2060,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2060,"endColumn":18,"fix":{"range":[75191,75207],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2063,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2063,"endColumn":51,"fix":{"range":[75311,75317],"text":"'\\\\s*'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2063,"column":89,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2063,"endColumn":96,"fix":{"range":[75355,75362],"text":"'+\\\\s*'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2063,"column":97,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2063,"endColumn":98,"fix":{"range":[75362,75378],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2066,"column":81,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2066,"endColumn":82,"fix":{"range":[75516,75532],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2068,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2068,"endColumn":51,"fix":{"range":[75578,75604],"text":"type\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2069,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2069,"endColumn":43,"fix":{"range":[75615,75626],"text":"'mousemove'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2070,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2070,"endColumn":41,"fix":{"range":[75670,75690],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2071,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2071,"endColumn":16,"fix":{"range":[75690,75713],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2072,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2072,"endColumn":44,"fix":{"range":[75724,75736],"text":"'mouseenter'"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2073,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2073,"endColumn":88,"fix":{"range":[75762,75765],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'target_match' is not in camel case.","line":2073,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2073,"endColumn":31},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2073,"column":57,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2073,"endColumn":76,"fix":{"range":[75804,75823],"text":"'[data-selectable]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2073,"column":87,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2073,"endColumn":88,"fix":{"range":[75833,75852],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'target_match' is not in camel case.","line":2074,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2074,"endColumn":31},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2075,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2075,"endColumn":55,"fix":{"range":[75884,75922],"text":"{self2.onOptionHover(e2, target_match);}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2075,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2075,"endColumn":55,"fix":{"range":[75920,75936],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2078,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2078,"endColumn":16,"fix":{"range":[75981,76004],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2079,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2079,"endColumn":39,"fix":{"range":[76015,76022],"text":"'click'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2080,"column":54,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2080,"endColumn":73,"fix":{"range":[76088,76107],"text":"'[data-selectable]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2080,"column":74,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2080,"endColumn":75,"fix":{"range":[76107,76126],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2082,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2082,"endColumn":51,"fix":{"range":[76186,76219],"text":")\n preventDefault"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2083,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2083,"endColumn":43,"fix":{"range":[76229,76247],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2085,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2085,"endColumn":16,"fix":{"range":[76261,76284],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2086,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2086,"endColumn":38,"fix":{"range":[76294,76301],"text":"'click'"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2087,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2087,"endColumn":85,"fix":{"range":[76328,76331],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'target_match' is not in camel case.","line":2087,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2087,"endColumn":31},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2087,"column":58,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2087,"endColumn":74,"fix":{"range":[76371,76387],"text":"'[data-ts-item]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2087,"column":84,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2087,"endColumn":85,"fix":{"range":[76396,76415],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'target_match' is not in camel case.","line":2088,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2088,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2089,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2089,"endColumn":43,"fix":{"range":[76514,76539],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2090,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2090,"endColumn":24,"fix":{"range":[76533,76556],"text":"return\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'control_input' is not in camel case.","line":2092,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2092,"endColumn":32},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":2092,"column":39,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":2092,"endColumn":41},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2092,"column":42,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2092,"endColumn":44,"fix":{"range":[76598,76600],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2093,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2093,"endColumn":24,"fix":{"range":[76620,76643],"text":"return\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2095,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2095,"endColumn":31,"fix":{"range":[76672,76703],"text":")\n preventDefault"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2096,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2096,"endColumn":41,"fix":{"range":[76713,76729],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2097,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2097,"endColumn":16,"fix":{"range":[76729,76752],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2098,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2098,"endColumn":43,"fix":{"range":[76765,76774],"text":"'keydown'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2098,"column":73,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2098,"endColumn":74,"fix":{"range":[76803,76826],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2099,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2099,"endColumn":47,"fix":{"range":[76842,76852],"text":"'keypress'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2099,"column":78,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2099,"endColumn":79,"fix":{"range":[76882,76905],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2100,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2100,"endColumn":44,"fix":{"range":[76921,76928],"text":"'input'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2100,"column":72,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2100,"endColumn":73,"fix":{"range":[76955,76978],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2101,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2101,"endColumn":40,"fix":{"range":[76991,76997],"text":"'blur'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2101,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2101,"endColumn":68,"fix":{"range":[77023,77046],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2102,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2102,"endColumn":41,"fix":{"range":[77059,77066],"text":"'focus'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2102,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2102,"endColumn":70,"fix":{"range":[77093,77116],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2103,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2103,"endColumn":44,"fix":{"range":[77132,77139],"text":"'paste'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2103,"column":72,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2103,"endColumn":73,"fix":{"range":[77166,77186],"text":")\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'doc_mousedown' is not in camel case.","line":2104,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2104,"endColumn":32},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2105,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2105,"endColumn":52,"fix":{"range":[77263,77282],"text":"]\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2108,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2108,"endColumn":32,"fix":{"range":[77411,77431],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2110,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2110,"endColumn":36,"fix":{"range":[77465,77490],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2111,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2111,"endColumn":24,"fix":{"range":[77484,77507],"text":"return\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":2113,"column":26,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":2113,"endColumn":28},{"ruleId":"camelcase","severity":2,"message":"Identifier 'control_input' is not in camel case.","line":2113,"column":29,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2113,"endColumn":42},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2114,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2114,"endColumn":39,"fix":{"range":[77605,77623],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2116,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2116,"endColumn":43,"fix":{"range":[77671,77689],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2118,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2118,"endColumn":15,"fix":{"range":[77702,77722],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'win_scroll' is not in camel case.","line":2119,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2119,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2121,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2121,"endColumn":42,"fix":{"range":[77817,77835],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2123,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2123,"endColumn":15,"fix":{"range":[77848,77871],"text":"}\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2124,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2124,"endColumn":43,"fix":{"range":[77882,77893],"text":"'mousedown'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2124,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2124,"endColumn":60,"fix":{"range":[77908,77931],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2125,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2125,"endColumn":38,"fix":{"range":[77940,77948],"text":"'scroll'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2125,"column":66,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2125,"endColumn":67,"fix":{"range":[77975,77998],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2126,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2126,"endColumn":38,"fix":{"range":[78007,78015],"text":"'resize'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2126,"column":66,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2126,"endColumn":67,"fix":{"range":[78042,78061],"text":")\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2128,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2128,"endColumn":55,"fix":{"range":[78124,78135],"text":"'mousedown'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2128,"column":71,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2128,"endColumn":72,"fix":{"range":[78150,78173],"text":")\n window"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2129,"column":42,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2129,"endColumn":50,"fix":{"range":[78194,78202],"text":"'scroll'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2129,"column":63,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2129,"endColumn":64,"fix":{"range":[78214,78237],"text":")\n window"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2130,"column":42,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2130,"endColumn":50,"fix":{"range":[78258,78266],"text":"'resize'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2130,"column":63,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2130,"endColumn":64,"fix":{"range":[78278,78297],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2132,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2132,"endColumn":65,"fix":{"range":[78322,78370],"text":"{label.removeEventListener(\"click\", label_click);}"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2132,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2132,"endColumn":50,"fix":{"range":[78348,78355],"text":"'click'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2132,"column":64,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2132,"endColumn":65,"fix":{"range":[78368,78384],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2133,"column":14,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2133,"endColumn":15,"fix":{"range":[78383,78402],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2137,"column":14,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2137,"endColumn":15,"fix":{"range":[78515,78535],"text":"}\n input"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2138,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2138,"endColumn":33,"fix":{"range":[78548,78568],"text":"1\n input"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2139,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2139,"endColumn":51,"fix":{"range":[78591,78601],"text":"'afterend'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2139,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2139,"endColumn":68,"fix":{"range":[78616,78636],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2140,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2140,"endColumn":31,"fix":{"range":[78647,78670],"text":")\n settings"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2141,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2141,"endColumn":33,"fix":{"range":[78680,78701],"text":"]\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2142,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2142,"endColumn":39,"fix":{"range":[78711,78740],"text":"optgroups\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2143,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2143,"endColumn":37,"fix":{"range":[78750,78779],"text":"options\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2144,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2144,"endColumn":38,"fix":{"range":[78787,78796],"text":"'invalid'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2146,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2146,"endColumn":39,"fix":{"range":[78873,78901],"text":"false\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2147,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2147,"endColumn":40,"fix":{"range":[78914,78941],"text":"true\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2148,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2148,"endColumn":38,"fix":{"range":[78955,78973],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2150,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2150,"endColumn":16,"fix":{"range":[78987,79007],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2151,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2151,"endColumn":41,"fix":{"range":[79028,79048],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2152,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2152,"endColumn":34,"fix":{"range":[79062,79082],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2153,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2153,"endColumn":32,"fix":{"range":[79094,79114],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2154,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2154,"endColumn":32,"fix":{"range":[79126,79146],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2155,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2155,"endColumn":34,"fix":{"range":[79157,79177],"text":"true\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2157,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2157,"endColumn":31,"fix":{"range":[79225,79241],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2159,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2159,"endColumn":30,"fix":{"range":[79276,79292],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2161,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2161,"endColumn":30,"fix":{"range":[79314,79322],"text":"'change'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2161,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2161,"endColumn":47,"fix":{"range":[79337,79362],"text":")\n addClasses"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2162,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2162,"endColumn":44,"fix":{"range":[79370,79383],"text":"'tomselected'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2162,"column":46,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2162,"endColumn":68,"fix":{"range":[79385,79407],"text":"'ts-hidden-accessible'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2162,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2162,"endColumn":70,"fix":{"range":[79407,79427],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2163,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2163,"endColumn":39,"fix":{"range":[79436,79448],"text":"'initialize'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2163,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2163,"endColumn":41,"fix":{"range":[79448,79465],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2165,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2165,"endColumn":31,"fix":{"range":[79524,79540],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2168,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2173,"endColumn":12,"fix":{"range":[79552,79552],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2168,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2168,"endColumn":24,"fix":{"range":[79575,79575],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2169,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2169,"endColumn":39,"fix":{"range":[79645,79669],"text":")\n iterate$1"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2171,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2171,"endColumn":50,"fix":{"range":[79744,79760],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2172,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2172,"endColumn":16,"fix":{"range":[79760,79774],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2174,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2210,"endColumn":12,"fix":{"range":[79774,79774],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2174,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2174,"endColumn":26,"fix":{"range":[79799,79799],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2175,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2175,"endColumn":30,"fix":{"range":[79816,79819],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2175,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2175,"endColumn":30,"fix":{"range":[79828,79849],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2176,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2176,"endColumn":57,"fix":{"range":[79846,79849],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_label' is not in camel case.","line":2176,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2176,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2176,"column":56,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2176,"endColumn":57,"fix":{"range":[79879,79906],"text":"labelField\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2177,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2177,"endColumn":68,"fix":{"range":[79903,79906],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_optgroup' is not in camel case.","line":2177,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2177,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2177,"column":67,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2177,"endColumn":68,"fix":{"range":[79939,79974],"text":"optgroupLabelField\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2178,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2208,"endColumn":15,"fix":{"range":[79971,79974],"text":"let"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'optgroup' found.","line":2179,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2184,"endColumn":16,"fix":{"range":[80003,80013],"text":"optgroup"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2179,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2179,"endColumn":25,"fix":{"range":[80003,80013],"text":"'optgroup'"}},{"ruleId":"prefer-const","severity":2,"message":"'optgroup' is never reassigned. Use 'const' instead.","line":2180,"column":21,"nodeType":"Identifier","messageId":"useConst","endLine":2180,"endColumn":29,"fix":{"range":[80043,80088],"text":"const optgroup = document.createElement(\"div\");"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2180,"column":55,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2180,"endColumn":60,"fix":{"range":[80081,80086],"text":"'div'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2180,"column":61,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2180,"endColumn":62,"fix":{"range":[80086,80113],"text":")\n optgroup"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2181,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2181,"endColumn":48,"fix":{"range":[80126,80136],"text":"'optgroup'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2181,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2181,"endColumn":49,"fix":{"range":[80126,80162],"text":"\"optgroup\"\n optgroup"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2182,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2182,"endColumn":52,"fix":{"range":[80187,80212],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2183,"column":32,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2183,"endColumn":33,"fix":{"range":[80213,80238],"text":"optgroup\n }"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'optgroup_header' found.","line":2185,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2187,"endColumn":16,"fix":{"range":[80254,80271],"text":"optgroup_header"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2185,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2185,"endColumn":32,"fix":{"range":[80254,80271],"text":"'optgroup_header'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_optgroup' is not in camel case.","line":2186,"column":70,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2186,"endColumn":84},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2186,"column":89,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2186,"endColumn":97,"fix":{"range":[80381,80389],"text":"'
    '"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2186,"column":97,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2186,"endColumn":98,"fix":{"range":[80381,80406],"text":"\"
    \"\n }"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'option' found.","line":2188,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2190,"endColumn":16,"fix":{"range":[80422,80430],"text":"option"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2188,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2188,"endColumn":23,"fix":{"range":[80422,80430],"text":"'option'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2189,"column":24,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2189,"endColumn":31,"fix":{"range":[80475,80482],"text":"'
    '"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_label' is not in camel case.","line":2189,"column":46,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2189,"endColumn":57},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2189,"column":62,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2189,"endColumn":70,"fix":{"range":[80513,80521],"text":"'
    '"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2189,"column":70,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2189,"endColumn":71,"fix":{"range":[80513,80538],"text":"\"
    \"\n }"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'item' found.","line":2191,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2193,"endColumn":16,"fix":{"range":[80554,80560],"text":"item"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2191,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2191,"endColumn":21,"fix":{"range":[80554,80560],"text":"'item'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2192,"column":24,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2192,"endColumn":31,"fix":{"range":[80605,80612],"text":"'
    '"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'field_label' is not in camel case.","line":2192,"column":46,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2192,"endColumn":57},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2192,"column":62,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2192,"endColumn":70,"fix":{"range":[80643,80651],"text":"'
    '"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2192,"column":70,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2192,"endColumn":71,"fix":{"range":[80643,80668],"text":"\"\"\n }"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'option_create' found.","line":2194,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2196,"endColumn":16,"fix":{"range":[80684,80699],"text":"option_create"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2194,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2194,"endColumn":30,"fix":{"range":[80684,80699],"text":"'option_create'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2195,"column":82,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2195,"endColumn":107,"fix":{"range":[80802,80827],"text":"'…'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2195,"column":107,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2195,"endColumn":108,"fix":{"range":[80802,80844],"text":"\"…\"\n }"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'no_results' found.","line":2197,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2199,"endColumn":16,"fix":{"range":[80860,80872],"text":"no_results"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2197,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2197,"endColumn":27,"fix":{"range":[80860,80872],"text":"'no_results'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2198,"column":72,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2198,"endColumn":73,"fix":{"range":[80905,80970],"text":"'
    No results found
    '\n }"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'loading' found.","line":2200,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2202,"endColumn":16,"fix":{"range":[80986,80995],"text":"loading"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2200,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2200,"endColumn":24,"fix":{"range":[80986,80995],"text":"'loading'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2201,"column":53,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2201,"endColumn":54,"fix":{"range":[81028,81074],"text":"'
    '\n }"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'not_loading' found.","line":2203,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2204,"endColumn":16,"fix":{"range":[81090,81103],"text":"not_loading"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2203,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2203,"endColumn":28,"fix":{"range":[81090,81103],"text":"'not_loading'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'dropdown' found.","line":2205,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2207,"endColumn":16,"fix":{"range":[81144,81154],"text":"dropdown"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2205,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2205,"endColumn":25,"fix":{"range":[81144,81154],"text":"'dropdown'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2206,"column":24,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2206,"endColumn":37,"fix":{"range":[81187,81200],"text":"'
    '"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2206,"column":37,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2206,"endColumn":38,"fix":{"range":[81187,81217],"text":"\"
    \"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2208,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2208,"endColumn":15,"fix":{"range":[81230,81250],"text":"}\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2209,"column":88,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2209,"endColumn":89,"fix":{"range":[81319,81333],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2211,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2238,"endColumn":12,"fix":{"range":[81333,81333],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2211,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2211,"endColumn":26,"fix":{"range":[81358,81358],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2212,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2212,"endColumn":26,"fix":{"range":[81375,81378],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2212,"column":25,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2212,"endColumn":26,"fix":{"range":[81384,81404],"text":"fn2\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2213,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2232,"endColumn":15,"fix":{"range":[81401,81404],"text":"let"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'initialize' found.","line":2214,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2214,"endColumn":43,"fix":{"range":[81433,81445],"text":"initialize"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2214,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2214,"endColumn":27,"fix":{"range":[81433,81445],"text":"'initialize'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2214,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2214,"endColumn":43,"fix":{"range":[81447,81461],"text":"'onInitialize'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'change' found.","line":2215,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2215,"endColumn":35,"fix":{"range":[81477,81485],"text":"change"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2215,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2215,"endColumn":23,"fix":{"range":[81477,81485],"text":"'change'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2215,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2215,"endColumn":35,"fix":{"range":[81487,81497],"text":"'onChange'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'item_add' found.","line":2216,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2216,"endColumn":38,"fix":{"range":[81513,81523],"text":"item_add"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2216,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2216,"endColumn":25,"fix":{"range":[81513,81523],"text":"'item_add'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2216,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2216,"endColumn":38,"fix":{"range":[81525,81536],"text":"'onItemAdd'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'item_remove' found.","line":2217,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2217,"endColumn":44,"fix":{"range":[81552,81565],"text":"item_remove"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2217,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2217,"endColumn":28,"fix":{"range":[81552,81565],"text":"'item_remove'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2217,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2217,"endColumn":44,"fix":{"range":[81567,81581],"text":"'onItemRemove'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'item_select' found.","line":2218,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2218,"endColumn":44,"fix":{"range":[81597,81610],"text":"item_select"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2218,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2218,"endColumn":28,"fix":{"range":[81597,81610],"text":"'item_select'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2218,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2218,"endColumn":44,"fix":{"range":[81612,81626],"text":"'onItemSelect'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'clear' found.","line":2219,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2219,"endColumn":33,"fix":{"range":[81642,81649],"text":"clear"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2219,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2219,"endColumn":22,"fix":{"range":[81642,81649],"text":"'clear'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2219,"column":24,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2219,"endColumn":33,"fix":{"range":[81651,81660],"text":"'onClear'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'option_add' found.","line":2220,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2220,"endColumn":42,"fix":{"range":[81676,81688],"text":"option_add"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2220,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2220,"endColumn":27,"fix":{"range":[81676,81688],"text":"'option_add'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2220,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2220,"endColumn":42,"fix":{"range":[81690,81703],"text":"'onOptionAdd'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'option_remove' found.","line":2221,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2221,"endColumn":48,"fix":{"range":[81719,81734],"text":"option_remove"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2221,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2221,"endColumn":30,"fix":{"range":[81719,81734],"text":"'option_remove'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2221,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2221,"endColumn":48,"fix":{"range":[81736,81752],"text":"'onOptionRemove'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'option_clear' found.","line":2222,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2222,"endColumn":46,"fix":{"range":[81768,81782],"text":"option_clear"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2222,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2222,"endColumn":29,"fix":{"range":[81768,81782],"text":"'option_clear'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2222,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2222,"endColumn":46,"fix":{"range":[81784,81799],"text":"'onOptionClear'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'optgroup_add' found.","line":2223,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2223,"endColumn":49,"fix":{"range":[81815,81829],"text":"optgroup_add"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2223,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2223,"endColumn":29,"fix":{"range":[81815,81829],"text":"'optgroup_add'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2223,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2223,"endColumn":49,"fix":{"range":[81831,81849],"text":"'onOptionGroupAdd'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'optgroup_remove' found.","line":2224,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2224,"endColumn":55,"fix":{"range":[81865,81882],"text":"optgroup_remove"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2224,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2224,"endColumn":32,"fix":{"range":[81865,81882],"text":"'optgroup_remove'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2224,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2224,"endColumn":55,"fix":{"range":[81884,81905],"text":"'onOptionGroupRemove'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'optgroup_clear' found.","line":2225,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2225,"endColumn":53,"fix":{"range":[81921,81937],"text":"optgroup_clear"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2225,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2225,"endColumn":31,"fix":{"range":[81921,81937],"text":"'optgroup_clear'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2225,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2225,"endColumn":53,"fix":{"range":[81939,81959],"text":"'onOptionGroupClear'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'dropdown_open' found.","line":2226,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2226,"endColumn":48,"fix":{"range":[81975,81990],"text":"dropdown_open"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2226,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2226,"endColumn":30,"fix":{"range":[81975,81990],"text":"'dropdown_open'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2226,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2226,"endColumn":48,"fix":{"range":[81992,82008],"text":"'onDropdownOpen'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'dropdown_close' found.","line":2227,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2227,"endColumn":50,"fix":{"range":[82024,82040],"text":"dropdown_close"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2227,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2227,"endColumn":31,"fix":{"range":[82024,82040],"text":"'dropdown_close'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2227,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2227,"endColumn":50,"fix":{"range":[82042,82059],"text":"'onDropdownClose'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'type' found.","line":2228,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2228,"endColumn":31,"fix":{"range":[82075,82081],"text":"type"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2228,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2228,"endColumn":21,"fix":{"range":[82075,82081],"text":"'type'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2228,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2228,"endColumn":31,"fix":{"range":[82083,82091],"text":"'onType'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'load' found.","line":2229,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2229,"endColumn":31,"fix":{"range":[82107,82113],"text":"load"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2229,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2229,"endColumn":21,"fix":{"range":[82107,82113],"text":"'load'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2229,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2229,"endColumn":31,"fix":{"range":[82115,82123],"text":"'onLoad'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'focus' found.","line":2230,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2230,"endColumn":33,"fix":{"range":[82139,82146],"text":"focus"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2230,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2230,"endColumn":22,"fix":{"range":[82139,82146],"text":"'focus'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2230,"column":24,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2230,"endColumn":33,"fix":{"range":[82148,82157],"text":"'onFocus'"}},{"ruleId":"quote-props","severity":2,"message":"Unnecessarily quoted property 'blur' found.","line":2231,"column":15,"nodeType":"Property","messageId":"unnecessarilyQuotedProperty","endLine":2231,"endColumn":31,"fix":{"range":[82173,82179],"text":"blur"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2231,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2231,"endColumn":21,"fix":{"range":[82173,82179],"text":"'blur'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2231,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2231,"endColumn":31,"fix":{"range":[82181,82189],"text":"'onBlur'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2232,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2232,"endColumn":15,"fix":{"range":[82202,82220],"text":"}\n for"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2234,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2234,"endColumn":51,"fix":{"range":[82290,82309],"text":"]\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2236,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2236,"endColumn":35,"fix":{"range":[82332,82350],"text":"{this.on(key, fn2);}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2236,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2236,"endColumn":35,"fix":{"range":[82348,82364],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2239,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2247,"endColumn":12,"fix":{"range":[82376,82376],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2239,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2239,"endColumn":16,"fix":{"range":[82391,82391],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'get_settings' is not in camel case.","line":2239,"column":16,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2239,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2240,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2240,"endColumn":32,"fix":{"range":[82441,82464],"text":"this\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'get_settings' is not in camel case.","line":2241,"column":30,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2241,"endColumn":42},{"ruleId":"multiline-ternary","severity":2,"message":"Expected newline between test and consequent of ternary expression.","line":2241,"column":30,"nodeType":"Identifier","messageId":"expectedTestCons","endLine":2241,"endColumn":42,"fix":{"range":[82488,82489],"text":"\n"}},{"ruleId":"multiline-ternary","severity":2,"message":"Expected newline between consequent and alternate of ternary expression.","line":2241,"column":45,"nodeType":"CallExpression","messageId":"expectedConsAlt","endLine":2243,"endColumn":15,"fix":{"range":[82582,82583],"text":"\n"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2243,"column":32,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2243,"endColumn":33,"fix":{"range":[82591,82618],"text":"settings\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2244,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2244,"endColumn":70,"fix":{"range":[82668,82688],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2245,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2245,"endColumn":56,"fix":{"range":[82724,82744],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2246,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2246,"endColumn":36,"fix":{"range":[82757,82774],"text":"null\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2248,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2260,"endColumn":12,"fix":{"range":[82774,82774],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2248,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2248,"endColumn":19,"fix":{"range":[82792,82792],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2249,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2249,"endColumn":30,"fix":{"range":[82809,82812],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2249,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2249,"endColumn":30,"fix":{"range":[82821,82841],"text":"this\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2251,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2251,"endColumn":40,"fix":{"range":[82912,82934],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2252,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2252,"endColumn":29,"fix":{"range":[82941,82964],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2253,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2253,"endColumn":22,"fix":{"range":[82958,82979],"text":"return\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2256,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2256,"endColumn":28,"fix":{"range":[83056,83072],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2258,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2258,"endColumn":29,"fix":{"range":[83106,83122],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2261,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2262,"endColumn":12,"fix":{"range":[83134,83134],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2261,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2261,"endColumn":23,"fix":{"range":[83156,83156],"text":" "}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2263,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2266,"endColumn":12,"fix":{"range":[83172,83172],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2263,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2263,"endColumn":20,"fix":{"range":[83191,83191],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2264,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2264,"endColumn":45,"fix":{"range":[83233,83240],"text":"'input'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2264,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2264,"endColumn":47,"fix":{"range":[83240,83267],"text":")\n triggerEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2265,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2265,"endColumn":46,"fix":{"range":[83280,83288],"text":"'change'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2265,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2265,"endColumn":48,"fix":{"range":[83288,83302],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2267,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2293,"endColumn":12,"fix":{"range":[83302,83302],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2267,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2267,"endColumn":19,"fix":{"range":[83320,83320],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2268,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2268,"endColumn":30,"fix":{"range":[83339,83342],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2268,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2268,"endColumn":30,"fix":{"range":[83351,83371],"text":"this\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2270,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2270,"endColumn":34,"fix":{"range":[83445,83468],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2271,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2271,"endColumn":22,"fix":{"range":[83462,83483],"text":"return\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2274,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2274,"endColumn":22,"fix":{"range":[83541,83562],"text":"return\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2277,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2277,"endColumn":51,"fix":{"range":[83608,83611],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2277,"column":50,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2277,"endColumn":51,"fix":{"range":[83642,83661],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2279,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2279,"endColumn":24,"fix":{"range":[83724,83747],"text":"return\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2281,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2281,"endColumn":80,"fix":{"range":[83762,83765],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2281,"column":79,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2281,"endColumn":80,"fix":{"range":[83825,83851],"text":")\n iterate$1"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2283,"column":46,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2283,"endColumn":47,"fix":{"range":[83921,83942],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2286,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2286,"endColumn":42,"fix":{"range":[84037,84059],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2288,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2288,"endColumn":45,"fix":{"range":[84109,84131],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2291,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2291,"endColumn":18,"fix":{"range":[84165,84181],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2292,"column":18,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2292,"endColumn":19,"fix":{"range":[84184,84198],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2294,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2306,"endColumn":12,"fix":{"range":[84198,84198],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2294,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2294,"endColumn":22,"fix":{"range":[84219,84219],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2295,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2295,"endColumn":30,"fix":{"range":[84238,84241],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2295,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2295,"endColumn":30,"fix":{"range":[84250,84270],"text":"this\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2297,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2297,"endColumn":34,"fix":{"range":[84321,84344],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2298,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2298,"endColumn":22,"fix":{"range":[84338,84359],"text":"return\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2300,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2300,"endColumn":73,"fix":{"range":[84372,84375],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2300,"column":72,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2300,"endColumn":73,"fix":{"range":[84430,84447],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2301,"column":66,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2301,"endColumn":73,"fix":{"range":[84498,84505],"text":"'multi'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2302,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2302,"endColumn":34,"fix":{"range":[84582,84613],"text":")\n preventDefault"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2303,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2303,"endColumn":34,"fix":{"range":[84616,84639],"text":")\n return"}},{"ruleId":"no-useless-return","severity":2,"message":"Unnecessary return statement.","line":2304,"column":15,"nodeType":"ReturnStatement","messageId":"unnecessaryReturn","endLine":2304,"endColumn":22,"fix":{"range":[84219,84666],"text":"(e2) {\n var self2 = this;\n if (self2.isLocked) {\n preventDefault(e2);\n return;\n }\n var character = String.fromCharCode(e2.keyCode || e2.which);\n if (self2.settings.create && self2.settings.mode === \"multi\" && character === self2.settings.delimiter) {\n self2.createItem();\n preventDefault(e2);\n \n }\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2304,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2304,"endColumn":22,"fix":{"range":[84633,84654],"text":"return\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2307,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2386,"endColumn":12,"fix":{"range":[84666,84666],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2307,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2307,"endColumn":21,"fix":{"range":[84686,84686],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2308,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2308,"endColumn":30,"fix":{"range":[84705,84708],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2308,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2308,"endColumn":30,"fix":{"range":[84717,84740],"text":"this\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2309,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2309,"endColumn":38,"fix":{"range":[84755,84775],"text":"true\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2312,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2312,"endColumn":36,"fix":{"range":[84872,84890],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2314,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2314,"endColumn":22,"fix":{"range":[84905,84926],"text":"return\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":2319,"column":49,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":2319,"endColumn":51},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2319,"column":52,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2319,"endColumn":54,"fix":{"range":[85089,85091],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2320,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2320,"endColumn":40,"fix":{"range":[85132,85160],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2321,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2321,"endColumn":39,"fix":{"range":[85171,85200],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2322,"column":27,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2322,"endColumn":28,"fix":{"range":[85194,85221],"text":"return\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2325,"column":22,"nodeType":"BreakStatement","messageId":"extraSemi","endLine":2325,"endColumn":23,"fix":{"range":[85256,85281],"text":"break\n case"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2328,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2328,"endColumn":44,"fix":{"range":[85368,85394],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2329,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2329,"endColumn":33,"fix":{"range":[85401,85421],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2331,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2331,"endColumn":42,"fix":{"range":[85461,85486],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2332,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2332,"endColumn":24,"fix":{"range":[85480,85506],"text":"return\n case"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2335,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2335,"endColumn":32,"fix":{"range":[85603,85623],"text":")\n }"}},{"ruleId":"prefer-const","severity":2,"message":"'next' is never reassigned. Use 'const' instead.","line":2337,"column":23,"nodeType":"Identifier","messageId":"useConst","endLine":2337,"endColumn":27,"fix":{"range":[85673,85725],"text":"const next = self2.getAdjacent(self2.activeOption, 1);"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2337,"column":70,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2337,"endColumn":71,"fix":{"range":[85723,85746],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2339,"column":21,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2339,"endColumn":49,"fix":{"range":[85774,85802],"text":"{self2.setActiveOption(next);}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2339,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2339,"endColumn":49,"fix":{"range":[85800,85820],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2341,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2341,"endColumn":36,"fix":{"range":[85854,85879],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2342,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2342,"endColumn":24,"fix":{"range":[85873,85899],"text":"return\n case"}},{"ruleId":"prefer-const","severity":2,"message":"'prev' is never reassigned. Use 'const' instead.","line":2345,"column":23,"nodeType":"Identifier","messageId":"useConst","endLine":2345,"endColumn":27,"fix":{"range":[85968,86021],"text":"const prev = self2.getAdjacent(self2.activeOption, -1);"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2345,"column":71,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2345,"endColumn":72,"fix":{"range":[86019,86042],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2347,"column":21,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2347,"endColumn":49,"fix":{"range":[86070,86098],"text":"{self2.setActiveOption(prev);}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2347,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2347,"endColumn":49,"fix":{"range":[86096,86116],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2349,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2349,"endColumn":36,"fix":{"range":[86150,86175],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2350,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2350,"endColumn":24,"fix":{"range":[86169,86195],"text":"return\n case"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2353,"column":63,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2353,"endColumn":64,"fix":{"range":[86328,86363],"text":")\n preventDefault"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2354,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2354,"endColumn":38,"fix":{"range":[86366,86386],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2356,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2356,"endColumn":38,"fix":{"range":[86478,86498],"text":")\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":2357,"column":51,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":2357,"endColumn":53},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2358,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2358,"endColumn":38,"fix":{"range":[86608,86628],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2360,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2360,"endColumn":24,"fix":{"range":[86645,86671],"text":"return\n case"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2362,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2362,"endColumn":48,"fix":{"range":[86727,86752],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2363,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2363,"endColumn":24,"fix":{"range":[86746,86772],"text":"return\n case"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2365,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2365,"endColumn":47,"fix":{"range":[86828,86853],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2366,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2366,"endColumn":24,"fix":{"range":[86847,86873],"text":"return\n case"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2370,"column":65,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2370,"endColumn":66,"fix":{"range":[87057,87094],"text":")\n preventDefault"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2371,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2371,"endColumn":40,"fix":{"range":[87097,87119],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2374,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2374,"endColumn":40,"fix":{"range":[87226,87248],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2377,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2377,"endColumn":24,"fix":{"range":[87283,87309],"text":"return\n case"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2380,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2380,"endColumn":43,"fix":{"range":[87396,87421],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2381,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2381,"endColumn":24,"fix":{"range":[87415,87436],"text":"return\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2384,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2384,"endColumn":34,"fix":{"range":[87539,87555],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2387,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2401,"endColumn":12,"fix":{"range":[87567,87567],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2387,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2387,"endColumn":19,"fix":{"range":[87585,87585],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2388,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2388,"endColumn":30,"fix":{"range":[87604,87607],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2388,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2388,"endColumn":30,"fix":{"range":[87616,87636],"text":"this\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2390,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2390,"endColumn":22,"fix":{"range":[87670,87691],"text":"return\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2392,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2392,"endColumn":44,"fix":{"range":[87704,87707],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2392,"column":43,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2392,"endColumn":44,"fix":{"range":[87733,87750],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2394,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2394,"endColumn":39,"fix":{"range":[87813,87836],"text":"value\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2396,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2396,"endColumn":35,"fix":{"range":[87918,87936],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2398,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2398,"endColumn":38,"fix":{"range":[87972,87994],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2399,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2399,"endColumn":35,"fix":{"range":[88003,88009],"text":"'type'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2399,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2399,"endColumn":44,"fix":{"range":[88016,88032],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2402,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2406,"endColumn":12,"fix":{"range":[88044,88044],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2402,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2402,"endColumn":25,"fix":{"range":[88068,88068],"text":" "}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2404,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2404,"endColumn":22,"fix":{"range":[88132,88139],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2404,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2404,"endColumn":22,"fix":{"range":[88132,88156],"text":"return\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2405,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2405,"endColumn":49,"fix":{"range":[88186,88200],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2407,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2427,"endColumn":12,"fix":{"range":[88200,88200],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2407,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2407,"endColumn":19,"fix":{"range":[88218,88218],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2408,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2408,"endColumn":30,"fix":{"range":[88237,88240],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2408,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2408,"endColumn":30,"fix":{"range":[88249,88270],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2409,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2409,"endColumn":46,"fix":{"range":[88267,88270],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2409,"column":45,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2409,"endColumn":46,"fix":{"range":[88290,88315],"text":"isFocused\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2411,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2411,"endColumn":28,"fix":{"range":[88362,88393],"text":")\n preventDefault"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2412,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2412,"endColumn":34,"fix":{"range":[88396,88419],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2413,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2413,"endColumn":22,"fix":{"range":[88413,88434],"text":"return\n }"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2416,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2416,"endColumn":22,"fix":{"range":[88484,88491],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2416,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2416,"endColumn":22,"fix":{"range":[88484,88509],"text":"return\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2417,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2417,"endColumn":36,"fix":{"range":[88522,88542],"text":"true\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2418,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2418,"endColumn":51,"fix":{"range":[88571,88578],"text":"'focus'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2419,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2419,"endColumn":31,"fix":{"range":[88594,88610],"text":"{self2.preload();}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2419,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2419,"endColumn":31,"fix":{"range":[88608,88625],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2421,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2421,"endColumn":38,"fix":{"range":[88654,88677],"text":"{self2.trigger(\"focus\");}"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2421,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2421,"endColumn":36,"fix":{"range":[88668,88675],"text":"'focus'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2421,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2421,"endColumn":38,"fix":{"range":[88675,88692],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2423,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2423,"endColumn":33,"fix":{"range":[88753,88775],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2424,"column":65,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2424,"endColumn":66,"fix":{"range":[88819,88835],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2426,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2426,"endColumn":34,"fix":{"range":[88867,88881],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2428,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2447,"endColumn":12,"fix":{"range":[88881,88881],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2428,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2428,"endColumn":18,"fix":{"range":[88898,88898],"text":" "}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2430,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2430,"endColumn":22,"fix":{"range":[88966,88973],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2430,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2430,"endColumn":22,"fix":{"range":[88966,88989],"text":"return\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2431,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2431,"endColumn":30,"fix":{"range":[88986,88989],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2431,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2431,"endColumn":30,"fix":{"range":[88998,89018],"text":"this\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2433,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2433,"endColumn":22,"fix":{"range":[89052,89059],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2433,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2433,"endColumn":22,"fix":{"range":[89052,89077],"text":"return\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2434,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2434,"endColumn":37,"fix":{"range":[89090,89114],"text":"false\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2435,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2435,"endColumn":39,"fix":{"range":[89129,89151],"text":"false\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2436,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2441,"endColumn":15,"fix":{"range":[89148,89151],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2437,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2437,"endColumn":29,"fix":{"range":[89199,89221],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2438,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2438,"endColumn":37,"fix":{"range":[89236,89258],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2439,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2439,"endColumn":50,"fix":{"range":[89286,89308],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2440,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2440,"endColumn":35,"fix":{"range":[89317,89323],"text":"'blur'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2440,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2440,"endColumn":37,"fix":{"range":[89323,89339],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2441,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2441,"endColumn":15,"fix":{"range":[89338,89355],"text":"}\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2443,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2443,"endColumn":50,"fix":{"range":[89460,89476],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2445,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2445,"endColumn":28,"fix":{"range":[89509,89525],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2448,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2472,"endColumn":12,"fix":{"range":[89537,89537],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2448,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2448,"endColumn":26,"fix":{"range":[89562,89562],"text":" "}},{"ruleId":"one-var","severity":2,"message":"Split initialized 'var' declarations into multiple statements.","line":2449,"column":13,"nodeType":"VariableDeclaration","messageId":"splitInitialized","endLine":2449,"endColumn":37,"fix":{"range":[89599,89600],"text":"; var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2449,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2449,"endColumn":37,"fix":{"range":[89590,89593],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2449,"column":36,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2449,"endColumn":37,"fix":{"range":[89609,89629],"text":"this\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2450,"column":70,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2450,"endColumn":87,"fix":{"range":[89684,89701],"text":"'[data-disabled]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2451,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2451,"endColumn":22,"fix":{"range":[89720,89741],"text":"return\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2453,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2453,"endColumn":51,"fix":{"range":[89784,89792],"text":"'create'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2456,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2456,"endColumn":33,"fix":{"range":[89927,89947],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2458,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2458,"endColumn":18,"fix":{"range":[89963,89979],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2460,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2460,"endColumn":44,"fix":{"range":[90024,90047],"text":"value\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2461,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2461,"endColumn":47,"fix":{"range":[90066,90077],"text":"'undefined'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2462,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2462,"endColumn":40,"fix":{"range":[90115,90142],"text":"null\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2463,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2463,"endColumn":38,"fix":{"range":[90156,90177],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2465,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2465,"endColumn":33,"fix":{"range":[90244,90264],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2468,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2468,"endColumn":49,"fix":{"range":[90401,90421],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2473,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2478,"endColumn":12,"fix":{"range":[90463,90463],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2473,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2473,"endColumn":21,"fix":{"range":[90483,90483],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2475,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2475,"endColumn":27,"fix":{"range":[90598,90617],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2477,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2477,"endColumn":26,"fix":{"range":[90637,90655],"text":"false\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2479,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2487,"endColumn":12,"fix":{"range":[90655,90655],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2479,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2479,"endColumn":24,"fix":{"range":[90678,90678],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2480,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2480,"endColumn":30,"fix":{"range":[90704,90707],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2480,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2480,"endColumn":30,"fix":{"range":[90716,90736],"text":"this\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2481,"column":60,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2481,"endColumn":67,"fix":{"range":[90781,90788],"text":"'multi'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2482,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2482,"endColumn":35,"fix":{"range":[90824,90846],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2483,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2483,"endColumn":46,"fix":{"range":[90870,90893],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2484,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2484,"endColumn":27,"fix":{"range":[90894,90913],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2486,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2486,"endColumn":26,"fix":{"range":[90933,90951],"text":"false\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2488,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2494,"endColumn":12,"fix":{"range":[90951,90951],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2488,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2488,"endColumn":19,"fix":{"range":[90969,90969],"text":" "}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2490,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2490,"endColumn":28,"fix":{"range":[91030,91043],"text":"{return false;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2490,"column":27,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2490,"endColumn":28,"fix":{"range":[91037,91058],"text":"false\n if"}},{"ruleId":"no-prototype-builtins","severity":2,"message":"Do not access Object.prototype method 'hasOwnProperty' from target object.","line":2491,"column":37,"nodeType":"CallExpression","messageId":"prototypeBuildIn","endLine":2491,"endColumn":51},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2492,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2492,"endColumn":28,"fix":{"range":[91117,91130],"text":"{return false;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2492,"column":27,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2492,"endColumn":28,"fix":{"range":[91124,91149],"text":"false\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2493,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2493,"endColumn":25,"fix":{"range":[91150,91167],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2495,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2503,"endColumn":12,"fix":{"range":[91167,91167],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2495,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2495,"endColumn":16,"fix":{"range":[91182,91182],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2496,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2496,"endColumn":32,"fix":{"range":[91218,91238],"text":"this\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2498,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2498,"endColumn":22,"fix":{"range":[91277,91284],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2498,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2498,"endColumn":22,"fix":{"range":[91277,91307],"text":"return\n addClasses"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2499,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2499,"endColumn":68,"fix":{"range":[91350,91370],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2500,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2500,"endColumn":29,"fix":{"range":[91378,91399],"text":"++\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2501,"column":60,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2501,"endColumn":61,"fix":{"range":[91440,91460],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2502,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2502,"endColumn":62,"fix":{"range":[91502,91516],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2504,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2515,"endColumn":12,"fix":{"range":[91516,91516],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2504,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2504,"endColumn":24,"fix":{"range":[91539,91539],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2505,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2505,"endColumn":32,"fix":{"range":[91589,91612],"text":"this\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2506,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2506,"endColumn":60,"fix":{"range":[91652,91672],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2507,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2507,"endColumn":36,"fix":{"range":[91685,91708],"text":"null\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2508,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2508,"endColumn":39,"fix":{"range":[91727,91747],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2509,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2509,"endColumn":53,"fix":{"range":[91780,91800],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2510,"column":74,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2510,"endColumn":75,"fix":{"range":[91855,91872],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2512,"column":72,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2512,"endColumn":73,"fix":{"range":[91962,91978],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2514,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2514,"endColumn":33,"fix":{"range":[92005,92011],"text":"'load'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2514,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2514,"endColumn":56,"fix":{"range":[92032,92046],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2516,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2522,"endColumn":12,"fix":{"range":[92046,92046],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2516,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2516,"endColumn":19,"fix":{"range":[92064,92064],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2517,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2517,"endColumn":52,"fix":{"range":[92081,92084],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2517,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2517,"endColumn":52,"fix":{"range":[92110,92135],"text":"classList\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2518,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2518,"endColumn":47,"fix":{"range":[92156,92167],"text":"'preloaded'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2519,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2519,"endColumn":22,"fix":{"range":[92184,92191],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2519,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2519,"endColumn":22,"fix":{"range":[92184,92213],"text":"return\n classList"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2520,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2520,"endColumn":38,"fix":{"range":[92218,92229],"text":"'preloaded'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2520,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2520,"endColumn":40,"fix":{"range":[92229,92248],"text":")\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2521,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2521,"endColumn":25,"fix":{"range":[92254,92256],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2521,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2521,"endColumn":27,"fix":{"range":[92256,92270],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2523,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2531,"endColumn":12,"fix":{"range":[92270,92270],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2523,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2523,"endColumn":27,"fix":{"range":[92296,92296],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2523,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2523,"endColumn":37,"fix":{"range":[92305,92307],"text":"''"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2524,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2524,"endColumn":44,"fix":{"range":[92323,92326],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2524,"column":43,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2524,"endColumn":44,"fix":{"range":[92340,92370],"text":"control_input\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2525,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2525,"endColumn":49,"fix":{"range":[92367,92370],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2525,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2525,"endColumn":49,"fix":{"range":[92397,92418],"text":"value\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2527,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2527,"endColumn":35,"fix":{"range":[92459,92492],"text":"value\n triggerEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2528,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2528,"endColumn":43,"fix":{"range":[92500,92508],"text":"'update'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2528,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2528,"endColumn":45,"fix":{"range":[92508,92529],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2529,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2529,"endColumn":38,"fix":{"range":[92542,92562],"text":"value\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2532,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2537,"endColumn":12,"fix":{"range":[92574,92574],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2532,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2532,"endColumn":20,"fix":{"range":[92593,92593],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2533,"column":63,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2533,"endColumn":73,"fix":{"range":[92660,92670],"text":"'multiple'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2534,"column":32,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2534,"endColumn":33,"fix":{"range":[92701,92721],"text":"items\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2536,"column":60,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2536,"endColumn":61,"fix":{"range":[92780,92794],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2538,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2544,"endColumn":12,"fix":{"range":[92794,92794],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2538,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2538,"endColumn":20,"fix":{"range":[92813,92813],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2539,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2539,"endColumn":52,"fix":{"range":[92843,92846],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2539,"column":42,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2539,"endColumn":50,"fix":{"range":[92872,92880],"text":"'change'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2539,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2539,"endColumn":52,"fix":{"range":[92880,92910],"text":"]\n debounce_events"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2541,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2541,"endColumn":34,"fix":{"range":[92965,92986],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2542,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2542,"endColumn":44,"fix":{"range":[93009,93025],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2543,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2543,"endColumn":16,"fix":{"range":[93025,93039],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2545,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2550,"endColumn":12,"fix":{"range":[93039,93039],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2545,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2545,"endColumn":23,"fix":{"range":[93061,93061],"text":" "}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2547,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2547,"endColumn":28,"fix":{"range":[93114,93127],"text":"{value = null;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2547,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2547,"endColumn":28,"fix":{"range":[93122,93144],"text":"null\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2548,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2548,"endColumn":44,"fix":{"range":[93165,93188],"text":"value\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2549,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2549,"endColumn":33,"fix":{"range":[93202,93216],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2551,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2596,"endColumn":12,"fix":{"range":[93216,93216],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2551,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2551,"endColumn":25,"fix":{"range":[93240,93240],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2552,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2552,"endColumn":30,"fix":{"range":[93265,93268],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2552,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2552,"endColumn":30,"fix":{"range":[93277,93298],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2553,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2553,"endColumn":27,"fix":{"range":[93295,93298],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2553,"column":26,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2553,"endColumn":27,"fix":{"range":[93299,93325],"text":"eventName\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2554,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2554,"endColumn":39,"fix":{"range":[93322,93325],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2554,"column":38,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2554,"endColumn":39,"fix":{"range":[93343,93364],"text":"swap\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2555,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2555,"endColumn":22,"fix":{"range":[93361,93364],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2555,"column":21,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2555,"endColumn":22,"fix":{"range":[93365,93385],"text":"last\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2556,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2556,"endColumn":49,"fix":{"range":[93411,93419],"text":"'single'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2557,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2557,"endColumn":22,"fix":{"range":[93435,93442],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2557,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2557,"endColumn":22,"fix":{"range":[93435,93457],"text":"return\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2559,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2559,"endColumn":40,"fix":{"range":[93505,93524],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2561,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2561,"endColumn":35,"fix":{"range":[93577,93595],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2563,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2563,"endColumn":22,"fix":{"range":[93610,93631],"text":"return\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2565,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2565,"endColumn":53,"fix":{"range":[93682,93699],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2566,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2566,"endColumn":38,"fix":{"range":[93715,93722],"text":"'click'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2566,"column":52,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2566,"endColumn":62,"fix":{"range":[93736,93746],"text":"'shiftKey'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2567,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2567,"endColumn":44,"fix":{"range":[93824,93846],"text":")\n begin"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2568,"column":81,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2568,"endColumn":82,"fix":{"range":[93906,93927],"text":")\n end2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2569,"column":80,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2569,"endColumn":81,"fix":{"range":[93987,94006],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2571,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2571,"endColumn":30,"fix":{"range":[94047,94075],"text":"begin\n begin"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2572,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2572,"endColumn":30,"fix":{"range":[94078,94104],"text":"end2\n end2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2573,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2573,"endColumn":29,"fix":{"range":[94107,94128],"text":"swap\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2576,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2576,"endColumn":51,"fix":{"range":[94228,94249],"text":"]\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2578,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2578,"endColumn":50,"fix":{"range":[94340,94360],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2581,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2581,"endColumn":34,"fix":{"range":[94408,94424],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2582,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2582,"endColumn":45,"fix":{"range":[94448,94455],"text":"'click'"}},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations.","line":2582,"column":46,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":2582,"endColumn":48},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations.","line":2582,"column":77,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":2582,"endColumn":79},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":2582,"column":77,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":2582,"endColumn":79},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2582,"column":94,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2582,"endColumn":103,"fix":{"range":[94504,94513],"text":"'keydown'"}},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":2582,"column":104,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":2582,"endColumn":106},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2582,"column":117,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2582,"endColumn":127,"fix":{"range":[94527,94537],"text":"'shiftKey'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2583,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2583,"endColumn":51,"fix":{"range":[94588,94596],"text":"'active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2584,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2584,"endColumn":46,"fix":{"range":[94644,94662],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2586,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2586,"endColumn":48,"fix":{"range":[94715,94733],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2589,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2589,"endColumn":40,"fix":{"range":[94792,94814],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2590,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2590,"endColumn":46,"fix":{"range":[94838,94854],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2592,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2592,"endColumn":31,"fix":{"range":[94883,94900],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2594,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2594,"endColumn":29,"fix":{"range":[94948,94964],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2597,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2607,"endColumn":12,"fix":{"range":[94976,94976],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2597,"column":29,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2597,"endColumn":30,"fix":{"range":[95005,95005],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2598,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2598,"endColumn":32,"fix":{"range":[95040,95063],"text":"this\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_active' is not in camel case.","line":2599,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2599,"endColumn":30},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2599,"column":61,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2599,"endColumn":75,"fix":{"range":[95106,95120],"text":"'.last-active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2599,"column":76,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2599,"endColumn":77,"fix":{"range":[95120,95137],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_active' is not in camel case.","line":2600,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2600,"endColumn":28},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2601,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2601,"endColumn":57,"fix":{"range":[95166,95208],"text":"{removeClasses(last_active, \"last-active\");}"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2601,"column":42,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2601,"endColumn":55,"fix":{"range":[95193,95206],"text":"'last-active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2601,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2601,"endColumn":57,"fix":{"range":[95206,95231],"text":")\n addClasses"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2602,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2602,"endColumn":50,"fix":{"range":[95238,95258],"text":"'active last-active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2602,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2602,"endColumn":52,"fix":{"range":[95258,95278],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2603,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2603,"endColumn":40,"fix":{"range":[95287,95300],"text":"'item_select'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2603,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2603,"endColumn":48,"fix":{"range":[95306,95323],"text":")\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":2604,"column":49,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":2604,"endColumn":51},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2605,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2605,"endColumn":44,"fix":{"range":[95407,95423],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2608,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2612,"endColumn":12,"fix":{"range":[95435,95435],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2608,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2608,"endColumn":28,"fix":{"range":[95462,95462],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2609,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2609,"endColumn":54,"fix":{"range":[95483,95486],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2609,"column":53,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2609,"endColumn":54,"fix":{"range":[95522,95541],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2610,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2610,"endColumn":45,"fix":{"range":[95567,95595],"text":")\n removeClasses"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2611,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2611,"endColumn":41,"fix":{"range":[95602,95610],"text":"'active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2611,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2611,"endColumn":43,"fix":{"range":[95610,95624],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2613,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2616,"endColumn":12,"fix":{"range":[95624,95624],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2613,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2613,"endColumn":28,"fix":{"range":[95651,95651],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2614,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2614,"endColumn":53,"fix":{"range":[95700,95708],"text":"'active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2614,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2614,"endColumn":55,"fix":{"range":[95708,95727],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2615,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2615,"endColumn":35,"fix":{"range":[95743,95757],"text":"]\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2617,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2634,"endColumn":12,"fix":{"range":[95757,95757],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2617,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2617,"endColumn":27,"fix":{"range":[95783,95783],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2619,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2619,"endColumn":22,"fix":{"range":[95871,95892],"text":"return\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2621,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2621,"endColumn":38,"fix":{"range":[95928,95945],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2623,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2623,"endColumn":22,"fix":{"range":[95970,95977],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2623,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2623,"endColumn":22,"fix":{"range":[95970,95994],"text":"return\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2624,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2624,"endColumn":40,"fix":{"range":[96010,96037],"text":"option\n setAttr"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2626,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2626,"endColumn":38,"fix":{"range":[96071,96094],"text":"'aria-activedescendant'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2626,"column":60,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2626,"endColumn":64,"fix":{"range":[96116,96120],"text":"'id'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2627,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2627,"endColumn":16,"fix":{"range":[96135,96157],"text":")\n setAttr"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2629,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2629,"endColumn":30,"fix":{"range":[96182,96197],"text":"'aria-selected'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2629,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2629,"endColumn":38,"fix":{"range":[96199,96205],"text":"'true'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2630,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2630,"endColumn":16,"fix":{"range":[96219,96244],"text":")\n addClasses"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2631,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2631,"endColumn":40,"fix":{"range":[96253,96261],"text":"'active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2631,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2631,"endColumn":42,"fix":{"range":[96261,96278],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2633,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2633,"endColumn":43,"fix":{"range":[96302,96330],"text":"{this.scrollToOption(option);}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2633,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2633,"endColumn":43,"fix":{"range":[96328,96342],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2635,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2648,"endColumn":12,"fix":{"range":[96342,96342],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2635,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2635,"endColumn":26,"fix":{"range":[96367,96367],"text":" "}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2637,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2637,"endColumn":22,"fix":{"range":[96427,96434],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2637,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2637,"endColumn":22,"fix":{"range":[96427,96452],"text":"return\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2638,"column":50,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2638,"endColumn":51,"fix":{"range":[96468,96503],"text":"dropdown_content\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'height_menu' is not in camel case.","line":2639,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2639,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2639,"column":53,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2639,"endColumn":54,"fix":{"range":[96526,96557],"text":"clientHeight\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2640,"column":53,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2640,"endColumn":54,"fix":{"range":[96591,96611],"text":"0\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'height_item' is not in camel case.","line":2641,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2641,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2641,"column":52,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2641,"endColumn":53,"fix":{"range":[96633,96664],"text":"offsetHeight\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2642,"column":108,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2642,"endColumn":109,"fix":{"range":[96745,96770],"text":"scrollTop\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'height_item' is not in camel case.","line":2643,"column":22,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2643,"endColumn":33},{"ruleId":"camelcase","severity":2,"message":"Identifier 'height_menu' is not in camel case.","line":2643,"column":36,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2643,"endColumn":47},{"ruleId":"camelcase","severity":2,"message":"Identifier 'height_menu' is not in camel case.","line":2644,"column":32,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2644,"endColumn":43},{"ruleId":"camelcase","severity":2,"message":"Identifier 'height_item' is not in camel case.","line":2644,"column":46,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2644,"endColumn":57},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2644,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2644,"endColumn":69,"fix":{"range":[96884,96900],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2646,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2646,"endColumn":41,"fix":{"range":[96966,96982],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2649,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2656,"endColumn":12,"fix":{"range":[96994,96994],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2649,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2649,"endColumn":18,"fix":{"range":[97011,97011],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2650,"column":50,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2650,"endColumn":51,"fix":{"range":[97068,97100],"text":"dropdown_content\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2652,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2652,"endColumn":55,"fix":{"range":[97159,97182],"text":"behavior\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2654,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2654,"endColumn":43,"fix":{"range":[97215,97245],"text":"scrollTop\n content"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2655,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2655,"endColumn":46,"fix":{"range":[97269,97271],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2655,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2655,"endColumn":47,"fix":{"range":[97269,97284],"text":"\"\"\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2657,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2668,"endColumn":12,"fix":{"range":[97284,97284],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2657,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2657,"endColumn":29,"fix":{"range":[97312,97312],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2659,"column":48,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2659,"endColumn":56,"fix":{"range":[97401,97409],"text":"'active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2659,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2659,"endColumn":58,"fix":{"range":[97409,97433],"text":")\n setAttr"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2661,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2661,"endColumn":32,"fix":{"range":[97471,97486],"text":"'aria-selected'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2662,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2662,"endColumn":18,"fix":{"range":[97508,97524],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2664,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2664,"endColumn":38,"fix":{"range":[97557,97582],"text":"null\n setAttr"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2666,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2666,"endColumn":38,"fix":{"range":[97616,97639],"text":"'aria-activedescendant'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2667,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2667,"endColumn":16,"fix":{"range":[97659,97673],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2669,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2682,"endColumn":12,"fix":{"range":[97673,97673],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2669,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2669,"endColumn":21,"fix":{"range":[97693,97693],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2670,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2670,"endColumn":32,"fix":{"range":[97724,97744],"text":"this\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2671,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2671,"endColumn":49,"fix":{"range":[97770,97778],"text":"'single'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2672,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2672,"endColumn":22,"fix":{"range":[97794,97801],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2672,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2672,"endColumn":22,"fix":{"range":[97794,97819],"text":"return\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2673,"column":56,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2673,"endColumn":57,"fix":{"range":[97856,97873],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2675,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2675,"endColumn":22,"fix":{"range":[97910,97917],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2675,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2675,"endColumn":22,"fix":{"range":[97910,97935],"text":"return\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2676,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2676,"endColumn":31,"fix":{"range":[97946,97966],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2677,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2677,"endColumn":27,"fix":{"range":[97973,97993],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2678,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2678,"endColumn":45,"fix":{"range":[98008,98042],"text":"activeItems\n iterate$1"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2680,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2680,"endColumn":46,"fix":{"range":[98111,98127],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2681,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2681,"endColumn":16,"fix":{"range":[98127,98141],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2683,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2702,"endColumn":12,"fix":{"range":[98141,98141],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2683,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2683,"endColumn":22,"fix":{"range":[98162,98162],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2684,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2684,"endColumn":30,"fix":{"range":[98179,98182],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2684,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2684,"endColumn":30,"fix":{"range":[98191,98211],"text":"this\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2686,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2686,"endColumn":22,"fix":{"range":[98273,98280],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2686,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2686,"endColumn":22,"fix":{"range":[98273,98300],"text":"return\n setAttr"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2689,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2689,"endColumn":16,"fix":{"range":[98391,98408],"text":")\n if"}},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":2690,"column":46,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":2690,"endColumn":48},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":2690,"column":100,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":2690,"endColumn":102},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2691,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2691,"endColumn":39,"fix":{"range":[98558,98580],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2692,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2692,"endColumn":42,"fix":{"range":[98597,98616],"text":"true\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2696,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2696,"endColumn":34,"fix":{"range":[98780,98782],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2697,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2697,"endColumn":20,"fix":{"range":[98800,98818],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2699,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2699,"endColumn":43,"fix":{"range":[98855,98875],"text":"false\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2701,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2701,"endColumn":58,"fix":{"range":[98919,98933],"text":"'input-hidden'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2701,"column":80,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2701,"endColumn":81,"fix":{"range":[98954,98968],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2703,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2705,"endColumn":12,"fix":{"range":[98968,98968],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2703,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2703,"endColumn":21,"fix":{"range":[98988,98988],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2704,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2704,"endColumn":31,"fix":{"range":[99021,99035],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2706,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2708,"endColumn":12,"fix":{"range":[99035,99035],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2706,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2706,"endColumn":21,"fix":{"range":[99055,99055],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2707,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2707,"endColumn":31,"fix":{"range":[99088,99102],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2709,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2711,"endColumn":12,"fix":{"range":[99102,99102],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2709,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2709,"endColumn":22,"fix":{"range":[99123,99123],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2710,"column":51,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2710,"endColumn":52,"fix":{"range":[99177,99191],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2712,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2726,"endColumn":12,"fix":{"range":[99191,99191],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2712,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2712,"endColumn":17,"fix":{"range":[99207,99207],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2713,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2713,"endColumn":30,"fix":{"range":[99224,99227],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2713,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2713,"endColumn":30,"fix":{"range":[99236,99256],"text":"this\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2715,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2715,"endColumn":22,"fix":{"range":[99290,99297],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2715,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2715,"endColumn":22,"fix":{"range":[99290,99315],"text":"return\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2716,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2716,"endColumn":38,"fix":{"range":[99330,99350],"text":"true\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2718,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2718,"endColumn":43,"fix":{"range":[99427,99443],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2720,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2720,"endColumn":40,"fix":{"range":[99488,99504],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2723,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2723,"endColumn":41,"fix":{"range":[99570,99596],"text":"false\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2724,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2724,"endColumn":31,"fix":{"range":[99605,99621],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2725,"column":18,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2725,"endColumn":19,"fix":{"range":[99624,99638],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2727,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2730,"endColumn":12,"fix":{"range":[99638,99638],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2727,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2727,"endColumn":16,"fix":{"range":[99653,99653],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2728,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2728,"endColumn":36,"fix":{"range":[99691,99710],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2729,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2729,"endColumn":27,"fix":{"range":[99718,99732],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2731,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2733,"endColumn":12,"fix":{"range":[99732,99732],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2731,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2731,"endColumn":28,"fix":{"range":[99759,99759],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2732,"column":80,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2732,"endColumn":81,"fix":{"range":[99847,99861],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2734,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2748,"endColumn":12,"fix":{"range":[99861,99861],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2734,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2734,"endColumn":28,"fix":{"range":[99888,99888],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2735,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2735,"endColumn":42,"fix":{"range":[99905,99908],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2735,"column":41,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2735,"endColumn":42,"fix":{"range":[99925,99950],"text":"settings\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2736,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2736,"endColumn":43,"fix":{"range":[99947,99950],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2736,"column":42,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2736,"endColumn":43,"fix":{"range":[99967,99992],"text":"sortField\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2737,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2737,"endColumn":55,"fix":{"range":[100024,100032],"text":"'string'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2740,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2740,"endColumn":18,"fix":{"range":[100117,100133],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2747,"column":14,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2747,"endColumn":15,"fix":{"range":[100326,100340],"text":"}\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2749,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2775,"endColumn":12,"fix":{"range":[100340,100340],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2749,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2749,"endColumn":18,"fix":{"range":[100357,100357],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2750,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2750,"endColumn":40,"fix":{"range":[100379,100382],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2750,"column":39,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2750,"endColumn":40,"fix":{"range":[100391,100422],"text":"calculateScore\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2751,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2751,"endColumn":30,"fix":{"range":[100419,100422],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2751,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2751,"endColumn":30,"fix":{"range":[100431,100452],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2752,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2752,"endColumn":52,"fix":{"range":[100449,100452],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2752,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2752,"endColumn":52,"fix":{"range":[100486,100503],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2754,"column":71,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2754,"endColumn":72,"fix":{"range":[100598,100617],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2755,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2755,"endColumn":55,"fix":{"range":[100645,100655],"text":"'function'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2756,"column":105,"nodeType":"ThrowStatement","messageId":"extraSemi","endLine":2756,"endColumn":106,"fix":{"range":[100762,100780],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2760,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2760,"endColumn":39,"fix":{"range":[100872,100899],"text":"query\n result"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2763,"column":18,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2763,"endColumn":19,"fix":{"range":[101009,101031],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2764,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2764,"endColumn":45,"fix":{"range":[101049,101070],"text":"result\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2766,"column":63,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2766,"endColumn":64,"fix":{"range":[101139,101155],"text":")\n }"}},{"ruleId":"prefer-const","severity":2,"message":"'hashed' is never reassigned. Use 'const' instead.","line":2770,"column":21,"nodeType":"Identifier","messageId":"useConst","endLine":2770,"endColumn":27,"fix":{"range":[101280,101311],"text":"const hashed = hash_key(item.id);"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2770,"column":47,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2770,"endColumn":48,"fix":{"range":[101309,101334],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2771,"column":71,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2771,"endColumn":72,"fix":{"range":[101381,101399],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2772,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2772,"endColumn":18,"fix":{"range":[101399,101415],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2774,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2774,"endColumn":27,"fix":{"range":[101435,101454],"text":"result\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2776,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2931,"endColumn":12,"fix":{"range":[101454,101454],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2776,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2776,"endColumn":26,"fix":{"range":[101479,101479],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2777,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2777,"endColumn":92,"fix":{"range":[101518,101521],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'has_create_option' is not in camel case.","line":2777,"column":60,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2777,"endColumn":77},{"ruleId":"camelcase","severity":2,"message":"Identifier 'active_group' is not in camel case.","line":2777,"column":79,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2777,"endColumn":91},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2777,"column":91,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2777,"endColumn":92,"fix":{"range":[101584,101613],"text":"active_group\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2778,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2778,"endColumn":24,"fix":{"range":[101610,101613],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2778,"column":23,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2778,"endColumn":24,"fix":{"range":[101614,101639],"text":"create\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2779,"column":30,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2779,"endColumn":31,"fix":{"range":[101650,101670],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'groups_order' is not in camel case.","line":2780,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2780,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2780,"column":36,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2780,"endColumn":37,"fix":{"range":[101687,101705],"text":"]\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2781,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2781,"endColumn":30,"fix":{"range":[101702,101705],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2781,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2781,"endColumn":30,"fix":{"range":[101714,101735],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2782,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2782,"endColumn":44,"fix":{"range":[101732,101735],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2782,"column":43,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2782,"endColumn":44,"fix":{"range":[101761,101781],"text":")\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'same_query' is not in camel case.","line":2783,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2783,"endColumn":29},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":2783,"column":58,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":2783,"endColumn":60},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":2783,"column":67,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":2783,"endColumn":69},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2783,"column":70,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2783,"endColumn":72,"fix":{"range":[101833,101835],"text":"''"}},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":2783,"column":73,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":2783,"endColumn":75},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2783,"column":99,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2783,"endColumn":100,"fix":{"range":[101858,101879],"text":"null\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2784,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2784,"endColumn":47,"fix":{"range":[101876,101879],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2784,"column":46,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2784,"endColumn":47,"fix":{"range":[101908,101926],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2785,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2785,"endColumn":38,"fix":{"range":[101923,101926],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'active_option' is not in camel case.","line":2785,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2785,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2785,"column":37,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2785,"endColumn":38,"fix":{"range":[101943,101964],"text":"null\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2786,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2786,"endColumn":68,"fix":{"range":[101961,101964],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'show_dropdown' is not in camel case.","line":2786,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2786,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2786,"column":67,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2786,"endColumn":68,"fix":{"range":[102010,102032],"text":"false\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2787,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2787,"endColumn":59,"fix":{"range":[102029,102032],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_content' is not in camel case.","line":2787,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2787,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2787,"column":58,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2787,"endColumn":59,"fix":{"range":[102058,102090],"text":"dropdown_content\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'same_query' is not in camel case.","line":2788,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2788,"endColumn":27},{"ruleId":"camelcase","severity":2,"message":"Identifier 'active_option' is not in camel case.","line":2789,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2789,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2789,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2789,"endColumn":50,"fix":{"range":[102142,102172],"text":"activeOption\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'active_option' is not in camel case.","line":2790,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2790,"endColumn":32},{"ruleId":"camelcase","severity":2,"message":"Identifier 'active_group' is not in camel case.","line":2791,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2791,"endColumn":29},{"ruleId":"camelcase","severity":2,"message":"Identifier 'active_option' is not in camel case.","line":2791,"column":32,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2791,"endColumn":45},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2791,"column":54,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2791,"endColumn":68,"fix":{"range":[102244,102258],"text":"'[data-group]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2791,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2791,"endColumn":70,"fix":{"range":[102258,102276],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2794,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2794,"endColumn":39,"fix":{"range":[102322,102344],"text":"length\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2795,"column":54,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2795,"endColumn":62,"fix":{"range":[102383,102391],"text":"'number'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2796,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2796,"endColumn":60,"fix":{"range":[102452,102468],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'show_dropdown' is not in camel case.","line":2799,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2799,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2799,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2799,"endColumn":36,"fix":{"range":[102525,102544],"text":"true\n }"}},{"ruleId":"prefer-const","severity":2,"message":"'item' is never reassigned. Use 'const' instead.","line":2802,"column":19,"nodeType":"Identifier","messageId":"useConst","endLine":2802,"endColumn":23,"fix":{"range":[102601,102630],"text":"const item = results.items[i2];"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2802,"column":43,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2802,"endColumn":44,"fix":{"range":[102628,102647],"text":"]\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2804,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2804,"endColumn":26,"fix":{"range":[102672,102681],"text":"{continue;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2804,"column":25,"nodeType":"ContinueStatement","messageId":"extraSemi","endLine":2804,"endColumn":26,"fix":{"range":[102672,102699],"text":"continue\n let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'opt_value' is not in camel case.","line":2805,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2805,"endColumn":28},{"ruleId":"prefer-const","severity":2,"message":"'opt_value' is never reassigned. Use 'const' instead.","line":2805,"column":19,"nodeType":"Identifier","messageId":"useConst","endLine":2805,"endColumn":28,"fix":{"range":[102696,102720],"text":"const opt_value = item.id;"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2805,"column":38,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2805,"endColumn":39,"fix":{"range":[102717,102738],"text":"id\n let"}},{"ruleId":"prefer-const","severity":2,"message":"'option' is never reassigned. Use 'const' instead.","line":2806,"column":19,"nodeType":"Identifier","messageId":"useConst","endLine":2806,"endColumn":25,"fix":{"range":[102735,102773],"text":"const option = self2.options[opt_value];"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'opt_value' is not in camel case.","line":2806,"column":42,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2806,"endColumn":51},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2806,"column":52,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2806,"endColumn":53,"fix":{"range":[102771,102790],"text":"]\n if"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":2807,"column":30,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":2807,"endColumn":36},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2808,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2808,"endColumn":26,"fix":{"range":[102827,102836],"text":"{continue;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2808,"column":25,"nodeType":"ContinueStatement","messageId":"extraSemi","endLine":2808,"endColumn":26,"fix":{"range":[102827,102854],"text":"continue\n let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'opt_hash' is not in camel case.","line":2809,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2809,"endColumn":27},{"ruleId":"prefer-const","severity":2,"message":"'opt_hash' is never reassigned. Use 'const' instead.","line":2809,"column":19,"nodeType":"Identifier","messageId":"useConst","endLine":2809,"endColumn":27,"fix":{"range":[102851,102886],"text":"const opt_hash = get_hash(opt_value);"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2809,"column":49,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2809,"endColumn":50,"fix":{"range":[102884,102904],"text":")\n let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":2810,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2810,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2810,"column":62,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2810,"endColumn":63,"fix":{"range":[102947,102966],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":2812,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2812,"endColumn":26},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2812,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2812,"endColumn":54,"fix":{"range":[103043,103053],"text":"'selected'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2812,"column":87,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2812,"endColumn":88,"fix":{"range":[103085,103103],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2814,"column":66,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2814,"endColumn":68,"fix":{"range":[103169,103171],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2814,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2814,"endColumn":69,"fix":{"range":[103169,103196],"text":"\"\"\n optgroups"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2815,"column":74,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2815,"endColumn":75,"fix":{"range":[103245,103265],"text":"]\n for"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2817,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2817,"endColumn":42,"fix":{"range":[103367,103388],"text":"]\n if"}},{"ruleId":"no-prototype-builtins","severity":2,"message":"Do not access Object.prototype method 'hasOwnProperty' from target object.","line":2818,"column":38,"nodeType":"CallExpression","messageId":"prototypeBuildIn","endLine":2818,"endColumn":52},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2819,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2819,"endColumn":32,"fix":{"range":[103464,103466],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2819,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2819,"endColumn":33,"fix":{"range":[103464,103485],"text":"\"\"\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'group_fragment' is not in camel case.","line":2821,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2821,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2821,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2821,"endColumn":55,"fix":{"range":[103538,103559],"text":"]\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'group_fragment' is not in camel case.","line":2822,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2822,"endColumn":35},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":2822,"column":40,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":2822,"endColumn":46},{"ruleId":"camelcase","severity":2,"message":"Identifier 'group_fragment' is not in camel case.","line":2823,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2823,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2823,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2823,"endColumn":70,"fix":{"range":[103657,103690],"text":")\n groups_order"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'groups_order' is not in camel case.","line":2824,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2824,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2824,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2824,"endColumn":47,"fix":{"range":[103704,103724],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":2827,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2827,"endColumn":28},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":2827,"column":31,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2827,"endColumn":40},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2827,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2827,"endColumn":57,"fix":{"range":[103809,103837],"text":")\n setAttr"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2829,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2829,"endColumn":47,"fix":{"range":[103888,103897],"text":"'-clone-'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2830,"column":21,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2830,"endColumn":36,"fix":{"range":[103924,103939],"text":"'aria-selected'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2831,"column":21,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2831,"endColumn":22,"fix":{"range":[103965,103995],"text":")\n option_el"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":2832,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2832,"endColumn":28},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2832,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2832,"endColumn":54,"fix":{"range":[104010,104021],"text":"'ts-cloned'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2832,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2832,"endColumn":56,"fix":{"range":[104021,104055],"text":")\n removeClasses"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2833,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2833,"endColumn":52,"fix":{"range":[104067,104075],"text":"'active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2833,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2833,"endColumn":54,"fix":{"range":[104075,104098],"text":")\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":2834,"column":78,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":2834,"endColumn":80},{"ruleId":"camelcase","severity":2,"message":"Identifier 'opt_value' is not in camel case.","line":2834,"column":81,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2834,"endColumn":90},{"ruleId":"camelcase","severity":2,"message":"Identifier 'active_group' is not in camel case.","line":2835,"column":25,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2835,"endColumn":37},{"ruleId":"camelcase","severity":2,"message":"Identifier 'active_group' is not in camel case.","line":2835,"column":41,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2835,"endColumn":53},{"ruleId":"camelcase","severity":2,"message":"Identifier 'active_option' is not in camel case.","line":2836,"column":23,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2836,"endColumn":36},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":2836,"column":39,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2836,"endColumn":48},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2836,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2836,"endColumn":49,"fix":{"range":[104303,104335],"text":"option_el\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'group_fragment' is not in camel case.","line":2840,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2840,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2840,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2840,"endColumn":55,"fix":{"range":[104426,104451],"text":")\n groups"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'group_fragment' is not in camel case.","line":2841,"column":36,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2841,"endColumn":50},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2841,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2841,"endColumn":51,"fix":{"range":[104464,104495],"text":"group_fragment\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'groups_order' is not in camel case.","line":2845,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2845,"endColumn":27},{"ruleId":"camelcase","severity":2,"message":"Identifier 'grp_a' is not in camel case.","line":2846,"column":23,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2846,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2846,"column":50,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2846,"endColumn":51,"fix":{"range":[104656,104680],"text":"]\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'grp_b' is not in camel case.","line":2847,"column":23,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2847,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2847,"column":50,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2847,"endColumn":51,"fix":{"range":[104707,104731],"text":"]\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'a_order' is not in camel case.","line":2848,"column":23,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2848,"endColumn":30},{"ruleId":"camelcase","severity":2,"message":"Identifier 'grp_a' is not in camel case.","line":2848,"column":33,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2848,"endColumn":38},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations.","line":2848,"column":39,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":2848,"endColumn":41},{"ruleId":"camelcase","severity":2,"message":"Identifier 'grp_a' is not in camel case.","line":2848,"column":42,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2848,"endColumn":47},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations.","line":2848,"column":55,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":2848,"endColumn":57},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2848,"column":59,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2848,"endColumn":60,"fix":{"range":[104767,104791],"text":"0\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'b_order' is not in camel case.","line":2849,"column":23,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2849,"endColumn":30},{"ruleId":"camelcase","severity":2,"message":"Identifier 'grp_b' is not in camel case.","line":2849,"column":33,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2849,"endColumn":38},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations.","line":2849,"column":39,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":2849,"endColumn":41},{"ruleId":"camelcase","severity":2,"message":"Identifier 'grp_b' is not in camel case.","line":2849,"column":42,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2849,"endColumn":47},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations.","line":2849,"column":55,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":2849,"endColumn":57},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2849,"column":59,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2849,"endColumn":60,"fix":{"range":[104827,104852],"text":"0\n return"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'a_order' is not in camel case.","line":2850,"column":24,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2850,"endColumn":31},{"ruleId":"camelcase","severity":2,"message":"Identifier 'b_order' is not in camel case.","line":2850,"column":34,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2850,"endColumn":41},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2850,"column":41,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2850,"endColumn":42,"fix":{"range":[104863,104887],"text":"b_order\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2851,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2851,"endColumn":18,"fix":{"range":[104887,104903],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2853,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2853,"endColumn":54,"fix":{"range":[104955,104979],"text":")\n iterate$1"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'group_fragment' is not in camel case.","line":2855,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2855,"endColumn":33},{"ruleId":"prefer-const","severity":2,"message":"'group_fragment' is never reassigned. Use 'const' instead.","line":2855,"column":19,"nodeType":"Identifier","messageId":"useConst","endLine":2855,"endColumn":33,"fix":{"range":[105025,105064],"text":"const group_fragment = groups[optgroup2];"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2855,"column":53,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2855,"endColumn":54,"fix":{"range":[105062,105081],"text":"]\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'group_fragment' is not in camel case.","line":2856,"column":20,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2856,"endColumn":34},{"ruleId":"camelcase","severity":2,"message":"Identifier 'group_fragment' is not in camel case.","line":2856,"column":39,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2856,"endColumn":53},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2857,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2857,"endColumn":24,"fix":{"range":[105151,105158],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2857,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2857,"endColumn":24,"fix":{"range":[105151,105176],"text":"return\n let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'group_heading' is not in camel case.","line":2858,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2858,"endColumn":32},{"ruleId":"prefer-const","severity":2,"message":"'group_heading' is never reassigned. Use 'const' instead.","line":2858,"column":19,"nodeType":"Identifier","messageId":"useConst","endLine":2858,"endColumn":32,"fix":{"range":[105173,105220],"text":"const group_heading = self2.optgroups[optgroup2];"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2858,"column":61,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2858,"endColumn":62,"fix":{"range":[105218,105237],"text":"]\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'group_heading' is not in camel case.","line":2859,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2859,"endColumn":32},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":2859,"column":37,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":2859,"endColumn":43},{"ruleId":"camelcase","severity":2,"message":"Identifier 'group_options' is not in camel case.","line":2860,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2860,"endColumn":34},{"ruleId":"prefer-const","severity":2,"message":"'group_options' is never reassigned. Use 'const' instead.","line":2860,"column":21,"nodeType":"Identifier","messageId":"useConst","endLine":2860,"endColumn":34,"fix":{"range":[105283,105337],"text":"const group_options = document.createDocumentFragment();"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2860,"column":70,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2860,"endColumn":71,"fix":{"range":[105335,105357],"text":")\n let"}},{"ruleId":"prefer-const","severity":2,"message":"'header' is never reassigned. Use 'const' instead.","line":2861,"column":21,"nodeType":"Identifier","messageId":"useConst","endLine":2861,"endColumn":27,"fix":{"range":[105354,105414],"text":"const header = self2.render(\"optgroup_header\", group_heading);"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2861,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2861,"endColumn":60,"fix":{"range":[105380,105397],"text":"'optgroup_header'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2861,"column":76,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2861,"endColumn":77,"fix":{"range":[105412,105437],"text":")\n append"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2862,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2862,"endColumn":47,"fix":{"range":[105459,105484],"text":")\n append"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2863,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2863,"endColumn":55,"fix":{"range":[105514,105536],"text":")\n let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'group_html' is not in camel case.","line":2864,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2864,"endColumn":31},{"ruleId":"prefer-const","severity":2,"message":"'group_html' is never reassigned. Use 'const' instead.","line":2864,"column":21,"nodeType":"Identifier","messageId":"useConst","endLine":2864,"endColumn":31,"fix":{"range":[105533,105677],"text":"const group_html = self2.render(\"optgroup\", {\n group: group_heading,\n options: group_options\n });"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2864,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2864,"endColumn":57,"fix":{"range":[105563,105573],"text":"'optgroup'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'group_heading' is not in camel case.","line":2865,"column":26,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2865,"endColumn":39},{"ruleId":"camelcase","severity":2,"message":"Identifier 'group_options' is not in camel case.","line":2866,"column":28,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2866,"endColumn":41},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2867,"column":19,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2867,"endColumn":20,"fix":{"range":[105675,105700],"text":")\n append"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2868,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2868,"endColumn":42,"fix":{"range":[105717,105735],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2870,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2870,"endColumn":46,"fix":{"range":[105786,105804],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2872,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2872,"endColumn":16,"fix":{"range":[105818,105849],"text":")\n dropdown_content"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_content' is not in camel case.","line":2873,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2873,"endColumn":29},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2873,"column":42,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2873,"endColumn":44,"fix":{"range":[105862,105864],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2873,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2873,"endColumn":45,"fix":{"range":[105862,105884],"text":"\"\"\n append"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2874,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2874,"endColumn":44,"fix":{"range":[105907,105924],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2876,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2876,"endColumn":49,"fix":{"range":[106000,106019],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2879,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2879,"endColumn":58,"fix":{"range":[106178,106198],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2880,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2880,"endColumn":20,"fix":{"range":[106198,106216],"text":")\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2883,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2892,"endColumn":15,"fix":{"range":[106243,106246],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'add_template' is not in camel case.","line":2883,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2883,"endColumn":29},{"ruleId":"prefer-const","severity":2,"message":"'content' is never reassigned. Use 'const' instead.","line":2884,"column":19,"nodeType":"Identifier","messageId":"useConst","endLine":2884,"endColumn":26,"fix":{"range":[106292,106377],"text":"const content = self2.render(template, {\n input: query\n });"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2886,"column":17,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2886,"endColumn":18,"fix":{"range":[106375,106394],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'show_dropdown' is not in camel case.","line":2888,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2888,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2888,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2888,"endColumn":38,"fix":{"range":[106439,106477],"text":"true\n dropdown_content"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_content' is not in camel case.","line":2889,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2889,"endColumn":33},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_content' is not in camel case.","line":2889,"column":56,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2889,"endColumn":72},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2889,"column":84,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2889,"endColumn":85,"fix":{"range":[106527,106545],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2891,"column":29,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2891,"endColumn":30,"fix":{"range":[106567,106589],"text":"content\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2892,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2892,"endColumn":15,"fix":{"range":[106588,106605],"text":"}\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2894,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2894,"endColumn":37,"fix":{"range":[106651,106660],"text":"'loading'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2894,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2894,"endColumn":39,"fix":{"range":[106660,106676],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2896,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2896,"endColumn":41,"fix":{"range":[106762,106775],"text":"'not_loading'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2896,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2896,"endColumn":43,"fix":{"range":[106775,106791],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2898,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2898,"endColumn":40,"fix":{"range":[106858,106870],"text":"'no_results'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2898,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2898,"endColumn":42,"fix":{"range":[106870,106886],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'has_create_option' is not in camel case.","line":2900,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2900,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2900,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2900,"endColumn":56,"fix":{"range":[106940,106957],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'has_create_option' is not in camel case.","line":2901,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2901,"endColumn":34},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2902,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2902,"endColumn":52,"fix":{"range":[107016,107031],"text":"'option_create'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2902,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2902,"endColumn":54,"fix":{"range":[107031,107047],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'has_create_option' is not in camel case.","line":2904,"column":60,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2904,"endColumn":77},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2904,"column":77,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2904,"endColumn":78,"fix":{"range":[107107,107140],"text":"has_create_option\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'show_dropdown' is not in camel case.","line":2905,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2905,"endColumn":30},{"ruleId":"camelcase","severity":2,"message":"Identifier 'active_option' is not in camel case.","line":2907,"column":22,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2907,"endColumn":35},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2907,"column":63,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2907,"endColumn":71,"fix":{"range":[107267,107275],"text":"'single'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":2907,"column":90,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":2907,"endColumn":92},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":2907,"column":93,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":2907,"endColumn":99},{"ruleId":"camelcase","severity":2,"message":"Identifier 'active_option' is not in camel case.","line":2908,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2908,"endColumn":32},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2908,"column":66,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2908,"endColumn":67,"fix":{"range":[107371,107391],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_content' is not in camel case.","line":2910,"column":22,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2910,"endColumn":38},{"ruleId":"camelcase","severity":2,"message":"Identifier 'active_index' is not in camel case.","line":2911,"column":23,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2911,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2911,"column":39,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2911,"endColumn":40,"fix":{"range":[107494,107517],"text":"0\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'active_index' is not in camel case.","line":2913,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2913,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2913,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2913,"endColumn":38,"fix":{"range":[107597,107619],"text":"1\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'active_option' is not in camel case.","line":2915,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2915,"endColumn":32},{"ruleId":"camelcase","severity":2,"message":"Identifier 'active_index' is not in camel case.","line":2915,"column":54,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2915,"endColumn":66},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2915,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2915,"endColumn":68,"fix":{"range":[107685,107705],"text":"]\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'active_option' is not in camel case.","line":2918,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2918,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2918,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2918,"endColumn":40,"fix":{"range":[107773,107796],"text":"create\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2921,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2921,"endColumn":30,"fix":{"range":[107878,107902],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2922,"column":53,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2922,"endColumn":59,"fix":{"range":[107933,107939],"text":"'auto'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2922,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2922,"endColumn":61,"fix":{"range":[107939,107957],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2924,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2924,"endColumn":52,"fix":{"range":[108007,108023],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2926,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2926,"endColumn":41,"fix":{"range":[108069,108088],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2928,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2928,"endColumn":36,"fix":{"range":[108158,108176],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2932,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2934,"endColumn":12,"fix":{"range":[108202,108202],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2932,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2932,"endColumn":22,"fix":{"range":[108223,108223],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2933,"column":59,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2933,"endColumn":78,"fix":{"range":[108286,108305],"text":"'[data-selectable]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2933,"column":79,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2933,"endColumn":80,"fix":{"range":[108305,108319],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2935,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2954,"endColumn":12,"fix":{"range":[108319,108319],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2935,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2935,"endColumn":21,"fix":{"range":[108339,108339],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'user_created' is not in camel case.","line":2935,"column":27,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2935,"endColumn":39},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2936,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2936,"endColumn":32,"fix":{"range":[108396,108416],"text":"this\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2938,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2938,"endColumn":52,"fix":{"range":[108490,108513],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2939,"column":27,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2939,"endColumn":28,"fix":{"range":[108514,108534],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2941,"column":66,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2941,"endColumn":67,"fix":{"range":[108599,108616],"text":")\n if"}},{"ruleId":"no-prototype-builtins","severity":2,"message":"Do not access Object.prototype method 'hasOwnProperty' from target object.","line":2942,"column":47,"nodeType":"CallExpression","messageId":"prototypeBuildIn","endLine":2942,"endColumn":61},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2943,"column":27,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2943,"endColumn":28,"fix":{"range":[108692,108712],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2945,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2945,"endColumn":56,"fix":{"range":[108762,108785],"text":"order\n data"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2946,"column":40,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2946,"endColumn":47,"fix":{"range":[108808,108815],"text":"'-opt-'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2946,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2946,"endColumn":62,"fix":{"range":[108823,108848],"text":"$order\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2947,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2947,"endColumn":39,"fix":{"range":[108864,108887],"text":"data\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2948,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2948,"endColumn":36,"fix":{"range":[108900,108920],"text":"null\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'user_created' is not in camel case.","line":2949,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2949,"endColumn":29},{"ruleId":"camelcase","severity":2,"message":"Identifier 'user_created' is not in camel case.","line":2950,"column":40,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2950,"endColumn":52},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2950,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2950,"endColumn":53,"fix":{"range":[108977,109010],"text":"user_created\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2951,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2951,"endColumn":41,"fix":{"range":[109019,109031],"text":"'option_add'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2951,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2951,"endColumn":54,"fix":{"range":[109042,109058],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2953,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2953,"endColumn":24,"fix":{"range":[109078,109094],"text":"key\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2955,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2959,"endColumn":12,"fix":{"range":[109094,109094],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2955,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2955,"endColumn":22,"fix":{"range":[109115,109115],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'user_created' is not in camel case.","line":2955,"column":28,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2955,"endColumn":40},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2957,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2957,"endColumn":49,"fix":{"range":[109231,109247],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2958,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2958,"endColumn":16,"fix":{"range":[109247,109261],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2960,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2962,"endColumn":12,"fix":{"range":[109261,109261],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2960,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2960,"endColumn":26,"fix":{"range":[109286,109286],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2961,"column":40,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2961,"endColumn":41,"fix":{"range":[109333,109347],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2963,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2970,"endColumn":12,"fix":{"range":[109347,109347],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2963,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2963,"endColumn":31,"fix":{"range":[109377,109377],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2964,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2964,"endColumn":72,"fix":{"range":[109398,109401],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2964,"column":71,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2964,"endColumn":72,"fix":{"range":[109455,109472],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2966,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2966,"endColumn":28,"fix":{"range":[109502,109515],"text":"{return false;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2966,"column":27,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2966,"endColumn":28,"fix":{"range":[109509,109532],"text":"false\n data"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2967,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2967,"endColumn":55,"fix":{"range":[109564,109587],"text":"order\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2968,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2968,"endColumn":40,"fix":{"range":[109605,109629],"text":"data\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2969,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2969,"endColumn":24,"fix":{"range":[109630,109646],"text":"key\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2971,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2977,"endColumn":12,"fix":{"range":[109646,109646],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2971,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2971,"endColumn":26,"fix":{"range":[109671,109671],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2972,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2972,"endColumn":27,"fix":{"range":[109697,109700],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'hashed_id' is not in camel case.","line":2972,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2972,"endColumn":26},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2972,"column":26,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2972,"endColumn":27,"fix":{"range":[109701,109728],"text":"hashed_id\n data"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2973,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2973,"endColumn":58,"fix":{"range":[109765,109784],"text":"id2\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'hashed_id' is not in camel case.","line":2974,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2974,"endColumn":26},{"ruleId":"no-cond-assign","severity":2,"message":"Expected a conditional expression and instead saw an assignment.","line":2974,"column":17,"nodeType":"AssignmentExpression","messageId":"missing","endLine":2974,"endColumn":59},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2975,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2975,"endColumn":42,"fix":{"range":[109859,109873],"text":"'optgroup_add'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2975,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2975,"endColumn":61,"fix":{"range":[109890,109906],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2978,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2984,"endColumn":12,"fix":{"range":[109918,109918],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2978,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2978,"endColumn":29,"fix":{"range":[109946,109946],"text":" "}},{"ruleId":"no-prototype-builtins","severity":2,"message":"Do not access Object.prototype method 'hasOwnProperty' from target object.","line":2979,"column":32,"nodeType":"CallExpression","messageId":"prototypeBuildIn","endLine":2979,"endColumn":46},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2980,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2980,"endColumn":42,"fix":{"range":[110047,110068],"text":"]\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2981,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2981,"endColumn":33,"fix":{"range":[110080,110101],"text":")\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2982,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2982,"endColumn":45,"fix":{"range":[110110,110127],"text":"'optgroup_remove'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2982,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2982,"endColumn":52,"fix":{"range":[110132,110148],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2985,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":2989,"endColumn":12,"fix":{"range":[110160,110160],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2985,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2985,"endColumn":29,"fix":{"range":[110188,110188],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2986,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2986,"endColumn":33,"fix":{"range":[110223,110242],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2987,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2987,"endColumn":31,"fix":{"range":[110254,110273],"text":")\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":2988,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":2988,"endColumn":42,"fix":{"range":[110282,110298],"text":"'optgroup_clear'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2988,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":2988,"endColumn":44,"fix":{"range":[110298,110312],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":2990,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3030,"endColumn":12,"fix":{"range":[110312,110312],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":2990,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":2990,"endColumn":24,"fix":{"range":[110335,110335],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2991,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2991,"endColumn":32,"fix":{"range":[110377,110398],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2992,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2992,"endColumn":26,"fix":{"range":[110395,110398],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'item_new' is not in camel case.","line":2992,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2992,"endColumn":25},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2992,"column":25,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2992,"endColumn":26,"fix":{"range":[110399,110424],"text":"item_new\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":2993,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":2993,"endColumn":28,"fix":{"range":[110421,110424],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'index_item' is not in camel case.","line":2993,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2993,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2993,"column":27,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2993,"endColumn":28,"fix":{"range":[110425,110454],"text":"index_item\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'value_old' is not in camel case.","line":2994,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2994,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2994,"column":46,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2994,"endColumn":47,"fix":{"range":[110481,110501],"text":")\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'value_new' is not in camel case.","line":2995,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2995,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2995,"column":72,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2995,"endColumn":73,"fix":{"range":[110554,110571],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'value_old' is not in camel case.","line":2996,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2996,"endColumn":26},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":2997,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":2997,"endColumn":22,"fix":{"range":[110607,110614],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2997,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":2997,"endColumn":22,"fix":{"range":[110607,110632],"text":"return\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'data_old' is not in camel case.","line":2998,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2998,"endColumn":27},{"ruleId":"camelcase","severity":2,"message":"Identifier 'value_old' is not in camel case.","line":2998,"column":44,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2998,"endColumn":53},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":2998,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":2998,"endColumn":55,"fix":{"range":[110667,110684],"text":"]\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'data_old' is not in camel case.","line":2999,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":2999,"endColumn":25},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":2999,"column":26,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":2999,"endColumn":28},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":2999,"column":29,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":2999,"endColumn":35},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3000,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3000,"endColumn":22,"fix":{"range":[110720,110727],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3000,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3000,"endColumn":22,"fix":{"range":[110720,110742],"text":"return\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'value_new' is not in camel case.","line":3001,"column":24,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3001,"endColumn":33},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3001,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3001,"endColumn":46,"fix":{"range":[110765,110773],"text":"'string'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3002,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3002,"endColumn":67,"fix":{"range":[110789,110841],"text":"{throw new Error(\"Value must be set in option data\");}"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3002,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3002,"endColumn":65,"fix":{"range":[110805,110839],"text":"'Value must be set in option data'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3002,"column":66,"nodeType":"ThrowStatement","messageId":"extraSemi","endLine":3002,"endColumn":67,"fix":{"range":[110839,110859],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3003,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3003,"endColumn":55,"fix":{"range":[110894,110914],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3004,"column":50,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3004,"endColumn":51,"fix":{"range":[110945,110964],"text":")\n data"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'data_old' is not in camel case.","line":3005,"column":42,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3005,"endColumn":50},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3005,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3005,"endColumn":58,"fix":{"range":[110998,111024],"text":"$order\n delete"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'value_old' is not in camel case.","line":3006,"column":34,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3006,"endColumn":43},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3006,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3006,"endColumn":45,"fix":{"range":[111048,111068],"text":"]\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3007,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3007,"endColumn":43,"fix":{"range":[111091,111111],"text":")\n self2"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'value_new' is not in camel case.","line":3008,"column":27,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3008,"endColumn":36},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3008,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3008,"endColumn":45,"fix":{"range":[111133,111153],"text":"data\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_new' is not in camel case.","line":3011,"column":23,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3011,"endColumn":33},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3011,"column":50,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3011,"endColumn":58,"fix":{"range":[111275,111283],"text":"'option'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3011,"column":65,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3011,"endColumn":66,"fix":{"range":[111289,111319],"text":")\n replaceNode"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3012,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3012,"endColumn":49,"fix":{"range":[111338,111359],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3014,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3014,"endColumn":53,"fix":{"range":[111444,111464],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3017,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3017,"endColumn":31,"fix":{"range":[111509,111525],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'index_item' is not in camel case.","line":3020,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3020,"endColumn":25},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3020,"column":58,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3020,"endColumn":59,"fix":{"range":[111606,111625],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'index_item' is not in camel case.","line":3021,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3021,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3022,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3022,"endColumn":62,"fix":{"range":[111707,111725],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'item_new' is not in camel case.","line":3024,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3024,"endColumn":23},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3024,"column":40,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3024,"endColumn":46,"fix":{"range":[111765,111771],"text":"'item'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3024,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3024,"endColumn":54,"fix":{"range":[111777,111796],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3025,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3025,"endColumn":51,"fix":{"range":[111822,111830],"text":"'active'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3026,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3026,"endColumn":48,"fix":{"range":[111849,111880],"text":"{addClasses(item_new, \"active\");}"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3026,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3026,"endColumn":46,"fix":{"range":[111870,111878],"text":"'active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3026,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3026,"endColumn":48,"fix":{"range":[111878,111906],"text":")\n replaceNode"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3027,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3027,"endColumn":43,"fix":{"range":[111921,111937],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3029,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3029,"endColumn":36,"fix":{"range":[111968,111985],"text":"null\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3031,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3040,"endColumn":12,"fix":{"range":[111985,111985],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3031,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3031,"endColumn":24,"fix":{"range":[112008,112008],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3032,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3032,"endColumn":32,"fix":{"range":[112052,112075],"text":"this\n value"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3033,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3033,"endColumn":37,"fix":{"range":[112092,112112],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3034,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3034,"endColumn":39,"fix":{"range":[112131,112152],"text":")\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3035,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3035,"endColumn":45,"fix":{"range":[112176,112197],"text":"]\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3036,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3036,"endColumn":41,"fix":{"range":[112217,112237],"text":"]\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3037,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3037,"endColumn":36,"fix":{"range":[112250,112273],"text":"null\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3038,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3038,"endColumn":42,"fix":{"range":[112282,112297],"text":"'option_remove'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3038,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3038,"endColumn":51,"fix":{"range":[112304,112324],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3039,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3039,"endColumn":45,"fix":{"range":[112349,112363],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3041,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3055,"endColumn":12,"fix":{"range":[112363,112363],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3041,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3041,"endColumn":24,"fix":{"range":[112386,112386],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3042,"column":72,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3042,"endColumn":73,"fix":{"range":[112467,112486],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3043,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3043,"endColumn":38,"fix":{"range":[112505,112524],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3044,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3044,"endColumn":35,"fix":{"range":[112540,112559],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3045,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3045,"endColumn":31,"fix":{"range":[112571,112591],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3046,"column":32,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3046,"endColumn":33,"fix":{"range":[112604,112628],"text":"}\n iterate$1"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3049,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3049,"endColumn":40,"fix":{"range":[112740,112763],"text":"option\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3051,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3051,"endColumn":16,"fix":{"range":[112777,112796],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3052,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3052,"endColumn":57,"fix":{"range":[112827,112853],"text":"selected\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3053,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3053,"endColumn":35,"fix":{"range":[112866,112888],"text":"null\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3054,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3054,"endColumn":40,"fix":{"range":[112897,112911],"text":"'option_clear'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3054,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3054,"endColumn":42,"fix":{"range":[112911,112925],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3056,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3061,"endColumn":12,"fix":{"range":[112925,112925],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3056,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3056,"endColumn":23,"fix":{"range":[112947,112947],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3058,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3058,"endColumn":27,"fix":{"range":[113036,113055],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3060,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3060,"endColumn":26,"fix":{"range":[113075,113093],"text":"false\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3062,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3076,"endColumn":12,"fix":{"range":[113093,113093],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3062,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3062,"endColumn":21,"fix":{"range":[113113,113113],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3063,"column":43,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3063,"endColumn":44,"fix":{"range":[113180,113197],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3065,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3065,"endColumn":27,"fix":{"range":[113230,113242],"text":"{return null;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3065,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3065,"endColumn":27,"fix":{"range":[113237,113260],"text":"null\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3066,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3066,"endColumn":49,"fix":{"range":[113289,113306],"text":"]\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":3067,"column":24,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":3067,"endColumn":26},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":3067,"column":27,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":3067,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3069,"column":35,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3069,"endColumn":36,"fix":{"range":[113391,113412],"text":"$div\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3072,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3072,"endColumn":45,"fix":{"range":[113477,113485],"text":"'option'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3072,"column":54,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3072,"endColumn":55,"fix":{"range":[113493,113511],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3075,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3075,"endColumn":25,"fix":{"range":[113545,113562],"text":"null\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3077,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3097,"endColumn":12,"fix":{"range":[113562,113562],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3077,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3077,"endColumn":23,"fix":{"range":[113584,113584],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3077,"column":49,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3077,"endColumn":57,"fix":{"range":[113611,113619],"text":"'option'"}},{"ruleId":"one-var","severity":2,"message":"Split initialized 'var' declarations into multiple statements.","line":3078,"column":13,"nodeType":"VariableDeclaration","messageId":"splitInitialized","endLine":3078,"endColumn":35,"fix":{"range":[113651,113652],"text":"; var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3078,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3078,"endColumn":35,"fix":{"range":[113635,113638],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3078,"column":34,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3078,"endColumn":35,"fix":{"range":[113653,113672],"text":"all\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3080,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3080,"endColumn":27,"fix":{"range":[113706,113725],"text":"null\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":3082,"column":22,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":3082,"endColumn":24},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3082,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3082,"endColumn":31,"fix":{"range":[113750,113756],"text":"'item'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3083,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3083,"endColumn":45,"fix":{"range":[113802,113818],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3085,"column":61,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3085,"endColumn":80,"fix":{"range":[113886,113905],"text":"'[data-selectable]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3085,"column":81,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3085,"endColumn":82,"fix":{"range":[113905,113921],"text":")\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":3088,"column":27,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":3088,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3089,"column":25,"nodeType":"ContinueStatement","messageId":"extraSemi","endLine":3089,"endColumn":26,"fix":{"range":[114031,114056],"text":"continue\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3092,"column":35,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3092,"endColumn":36,"fix":{"range":[114125,114143],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3094,"column":33,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3094,"endColumn":34,"fix":{"range":[114175,114191],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3096,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3096,"endColumn":25,"fix":{"range":[114211,114228],"text":"null\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3098,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3104,"endColumn":12,"fix":{"range":[114228,114228],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3098,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3098,"endColumn":19,"fix":{"range":[114246,114246],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":3099,"column":29,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":3099,"endColumn":31,"fix":{"range":[114283,114285],"text":"==="}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3099,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3099,"endColumn":40,"fix":{"range":[114286,114294],"text":"'object'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3100,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3100,"endColumn":27,"fix":{"range":[114319,114338],"text":"item\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3102,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3102,"endColumn":40,"fix":{"range":[114351,114354],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3102,"column":39,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3102,"endColumn":40,"fix":{"range":[114376,114397],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3103,"column":109,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3103,"endColumn":110,"fix":{"range":[114483,114500],"text":"null\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3105,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3114,"endColumn":12,"fix":{"range":[114500,114500],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3105,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3105,"endColumn":20,"fix":{"range":[114519,114519],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3106,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3106,"endColumn":30,"fix":{"range":[114550,114553],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3106,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3106,"endColumn":30,"fix":{"range":[114562,114583],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3107,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3107,"endColumn":67,"fix":{"range":[114580,114583],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3107,"column":66,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3107,"endColumn":67,"fix":{"range":[114632,114652],"text":"]\n items"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3108,"column":73,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3108,"endColumn":74,"fix":{"range":[114706,114726],"text":")\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_item' is not in camel case.","line":3109,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3109,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3109,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3109,"endColumn":55,"fix":{"range":[114761,114781],"text":"]\n items"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_item' is not in camel case.","line":3111,"column":42,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3111,"endColumn":51},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3111,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3111,"endColumn":52,"fix":{"range":[114843,114873],"text":"last_item\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3112,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3112,"endColumn":43,"fix":{"range":[114894,114910],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3113,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3113,"endColumn":16,"fix":{"range":[114910,114924],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3115,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3171,"endColumn":12,"fix":{"range":[114924,114924],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3115,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3115,"endColumn":19,"fix":{"range":[114942,114942],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3116,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3116,"endColumn":70,"fix":{"range":[114972,114975],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3116,"column":42,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3116,"endColumn":50,"fix":{"range":[115001,115009],"text":"'change'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3116,"column":52,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3116,"endColumn":68,"fix":{"range":[115011,115027],"text":"'dropdown_close'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3116,"column":69,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3116,"endColumn":70,"fix":{"range":[115027,115057],"text":"]\n debounce_events"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3118,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3118,"endColumn":33,"fix":{"range":[115095,115098],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3118,"column":32,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3118,"endColumn":33,"fix":{"range":[115105,115133],"text":"wasFull\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3119,"column":33,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3119,"endColumn":34,"fix":{"range":[115142,115167],"text":"this\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3120,"column":52,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3120,"endColumn":53,"fix":{"range":[115195,115220],"text":"mode\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3121,"column":45,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3121,"endColumn":46,"fix":{"range":[115244,115263],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3123,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3123,"endColumn":43,"fix":{"range":[115347,115355],"text":"'single'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3124,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3124,"endColumn":33,"fix":{"range":[115389,115409],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3126,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3126,"endColumn":43,"fix":{"range":[115444,115452],"text":"'single'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3127,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3127,"endColumn":26,"fix":{"range":[115504,115529],"text":"return\n }"}},{"ruleId":"no-prototype-builtins","severity":2,"message":"Do not access Object.prototype method 'hasOwnProperty' from target object.","line":3130,"column":53,"nodeType":"CallExpression","messageId":"prototypeBuildIn","endLine":3130,"endColumn":67},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3131,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3131,"endColumn":24,"fix":{"range":[115638,115645],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3131,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3131,"endColumn":24,"fix":{"range":[115638,115662],"text":"return\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3132,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3132,"endColumn":41,"fix":{"range":[115678,115686],"text":"'single'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3133,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3133,"endColumn":37,"fix":{"range":[115704,115724],"text":"{self2.clear(silent);}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3133,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3133,"endColumn":37,"fix":{"range":[115722,115741],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3134,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3134,"endColumn":40,"fix":{"range":[115757,115764],"text":"'multi'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3135,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3135,"endColumn":24,"fix":{"range":[115800,115807],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3135,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3135,"endColumn":24,"fix":{"range":[115800,115826],"text":"return\n item"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3136,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3136,"endColumn":42,"fix":{"range":[115843,115849],"text":"'item'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3136,"column":66,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3136,"endColumn":67,"fix":{"range":[115872,115891],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3138,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3138,"endColumn":45,"fix":{"range":[115967,115985],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3140,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3140,"endColumn":40,"fix":{"range":[116023,116045],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3141,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3141,"endColumn":61,"fix":{"range":[116084,116106],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3142,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3142,"endColumn":41,"fix":{"range":[116125,116144],"text":")\n if"}},{"ruleId":"prefer-const","severity":2,"message":"'option' is never reassigned. Use 'const' instead.","line":3145,"column":23,"nodeType":"Identifier","messageId":"useConst","endLine":3145,"endColumn":29,"fix":{"range":[116252,116289],"text":"const option = self2.getOption(hashed);"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3145,"column":55,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3145,"endColumn":56,"fix":{"range":[116287,116311],"text":")\n let"}},{"ruleId":"prefer-const","severity":2,"message":"'next' is never reassigned. Use 'const' instead.","line":3146,"column":23,"nodeType":"Identifier","messageId":"useConst","endLine":3146,"endColumn":27,"fix":{"range":[116308,116348],"text":"const next = self2.getAdjacent(option, 1);"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3146,"column":58,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3146,"endColumn":59,"fix":{"range":[116346,116369],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3148,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3148,"endColumn":49,"fix":{"range":[116425,116447],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3152,"column":73,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3152,"endColumn":81,"fix":{"range":[116614,116622],"text":"'single'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3152,"column":82,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3152,"endColumn":83,"fix":{"range":[116622,116642],"text":")\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":3154,"column":53,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":3154,"endColumn":55},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3155,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3155,"endColumn":33,"fix":{"range":[116755,116775],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3157,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3157,"endColumn":44,"fix":{"range":[116846,116866],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3159,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3159,"endColumn":41,"fix":{"range":[116897,116907],"text":"'item_add'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3159,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3159,"endColumn":57,"fix":{"range":[116921,116942],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3163,"column":21,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3163,"endColumn":22,"fix":{"range":[117056,117076],"text":")\n }"}},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":3166,"column":36,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":3166,"endColumn":38},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":3166,"column":48,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":3166,"endColumn":50},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3167,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3167,"endColumn":36,"fix":{"range":[117194,117218],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3168,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3168,"endColumn":38,"fix":{"range":[117232,117250],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3170,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3170,"endColumn":16,"fix":{"range":[117264,117278],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3172,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3200,"endColumn":12,"fix":{"range":[117278,117278],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3172,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3172,"endColumn":22,"fix":{"range":[117299,117299],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3173,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3173,"endColumn":32,"fix":{"range":[117349,117371],"text":"this\n item"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3174,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3174,"endColumn":40,"fix":{"range":[117392,117409],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3176,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3176,"endColumn":22,"fix":{"range":[117432,117439],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3176,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3176,"endColumn":22,"fix":{"range":[117432,117455],"text":"return\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3177,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3177,"endColumn":25,"fix":{"range":[117452,117455],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3177,"column":24,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3177,"endColumn":25,"fix":{"range":[117460,117482],"text":"idx\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3178,"column":45,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3178,"endColumn":46,"fix":{"range":[117504,117525],"text":"value\n i2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3179,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3179,"endColumn":34,"fix":{"range":[117542,117561],"text":")\n item"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3180,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3180,"endColumn":27,"fix":{"range":[117569,117586],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3181,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3181,"endColumn":49,"fix":{"range":[117612,117620],"text":"'active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3182,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3182,"endColumn":53,"fix":{"range":[117675,117697],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3183,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3183,"endColumn":48,"fix":{"range":[117723,117753],"text":")\n removeClasses"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3184,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3184,"endColumn":43,"fix":{"range":[117760,117768],"text":"'active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3184,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3184,"endColumn":45,"fix":{"range":[117768,117784],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3186,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3186,"endColumn":39,"fix":{"range":[117821,117841],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3187,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3187,"endColumn":36,"fix":{"range":[117854,117874],"text":"null\n if"}},{"ruleId":"no-prototype-builtins","severity":2,"message":"Do not access Object.prototype method 'hasOwnProperty' from target object.","line":3188,"column":62,"nodeType":"CallExpression","messageId":"prototypeBuildIn","endLine":3188,"endColumn":76},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3189,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3189,"endColumn":49,"fix":{"range":[117992,118008],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3192,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3192,"endColumn":50,"fix":{"range":[118095,118111],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3196,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3196,"endColumn":16,"fix":{"range":[118186,118206],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3197,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3197,"endColumn":34,"fix":{"range":[118220,118240],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3198,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3198,"endColumn":38,"fix":{"range":[118258,118278],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3199,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3199,"endColumn":40,"fix":{"range":[118287,118300],"text":"'item_remove'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3199,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3199,"endColumn":55,"fix":{"range":[118313,118327],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3201,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3247,"endColumn":12,"fix":{"range":[118327,118327],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3201,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3201,"endColumn":22,"fix":{"range":[118348,118348],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3204,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3204,"endColumn":39,"fix":{"range":[118475,118491],"text":"]\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":3206,"column":33,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":3206,"endColumn":35,"fix":{"range":[118524,118526],"text":"!=="}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3206,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3206,"endColumn":46,"fix":{"range":[118527,118537],"text":"'function'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3208,"column":16,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3208,"endColumn":17,"fix":{"range":[118588,118604],"text":"}\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3210,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3210,"endColumn":30,"fix":{"range":[118617,118620],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3210,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3210,"endColumn":30,"fix":{"range":[118629,118650],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3211,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3211,"endColumn":40,"fix":{"range":[118647,118650],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3211,"column":39,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3211,"endColumn":40,"fix":{"range":[118665,118690],"text":"caretPos\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3212,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3212,"endColumn":24,"fix":{"range":[118687,118690],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3212,"column":23,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3212,"endColumn":24,"fix":{"range":[118691,118716],"text":"output\n input"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3213,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3213,"endColumn":49,"fix":{"range":[118745,118762],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3215,"column":25,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3215,"endColumn":26,"fix":{"range":[118814,118837],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3216,"column":27,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3216,"endColumn":28,"fix":{"range":[118838,118858],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3218,"column":25,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3218,"endColumn":26,"fix":{"range":[118882,118900],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3219,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3219,"endColumn":33,"fix":{"range":[118897,118900],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3219,"column":32,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3219,"endColumn":33,"fix":{"range":[118911,118933],"text":"false\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3220,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3234,"endColumn":15,"fix":{"range":[118930,118933],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3221,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3221,"endColumn":30,"fix":{"range":[118982,119001],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3222,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3222,"endColumn":52,"fix":{"range":[119028,119036],"text":"'object'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3223,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3223,"endColumn":35,"fix":{"range":[119054,119072],"text":"{return callback();}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3223,"column":34,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3223,"endColumn":35,"fix":{"range":[119070,119090],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3224,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3224,"endColumn":69,"fix":{"range":[119087,119090],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3224,"column":68,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3224,"endColumn":69,"fix":{"range":[119139,119158],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3225,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3225,"endColumn":44,"fix":{"range":[119177,119185],"text":"'string'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3226,"column":34,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3226,"endColumn":35,"fix":{"range":[119221,119239],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3228,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3228,"endColumn":39,"fix":{"range":[119276,119298],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3229,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3229,"endColumn":43,"fix":{"range":[119319,119341],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3230,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3230,"endColumn":37,"fix":{"range":[119356,119378],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3231,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3231,"endColumn":36,"fix":{"range":[119392,119417],"text":")\n callback"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3232,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3232,"endColumn":30,"fix":{"range":[119422,119446],"text":")\n created"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3233,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3233,"endColumn":30,"fix":{"range":[119449,119468],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3234,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3234,"endColumn":15,"fix":{"range":[119467,119484],"text":"}\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3235,"column":50,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3235,"endColumn":60,"fix":{"range":[119519,119529],"text":"'function'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3236,"column":71,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3236,"endColumn":72,"fix":{"range":[119602,119618],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3241,"column":16,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3241,"endColumn":17,"fix":{"range":[119768,119784],"text":"}\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3244,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3244,"endColumn":30,"fix":{"range":[119840,119856],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3246,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3246,"endColumn":25,"fix":{"range":[119876,119893],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3248,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3256,"endColumn":12,"fix":{"range":[119893,119893],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3248,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3248,"endColumn":24,"fix":{"range":[119916,119916],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3249,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3249,"endColumn":30,"fix":{"range":[119933,119936],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3249,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3249,"endColumn":30,"fix":{"range":[119945,119968],"text":"this\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3250,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3250,"endColumn":36,"fix":{"range":[119981,120001],"text":"null\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3252,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3252,"endColumn":43,"fix":{"range":[120060,120076],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3254,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3254,"endColumn":41,"fix":{"range":[120115,120135],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3255,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3255,"endColumn":34,"fix":{"range":[120149,120163],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3257,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3274,"endColumn":12,"fix":{"range":[120163,120163],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3257,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3257,"endColumn":24,"fix":{"range":[120186,120186],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3258,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3258,"endColumn":32,"fix":{"range":[120217,120240],"text":"this\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3259,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3259,"endColumn":42,"fix":{"range":[120262,120282],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3260,"column":42,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3260,"endColumn":43,"fix":{"range":[120305,120325],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3261,"column":44,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3261,"endColumn":45,"fix":{"range":[120343,120370],"text":"isLocked\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3262,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3262,"endColumn":49,"fix":{"range":[120396,120401],"text":"'rtl'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3262,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3262,"endColumn":62,"fix":{"range":[120412,120432],"text":")\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'wrap_classList' is not in camel case.","line":3263,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3263,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3263,"column":59,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3263,"endColumn":60,"fix":{"range":[120464,120501],"text":"classList\n wrap_classList"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'wrap_classList' is not in camel case.","line":3264,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3264,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3264,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3264,"endColumn":42,"fix":{"range":[120509,120516],"text":"'focus'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3264,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3264,"endColumn":61,"fix":{"range":[120533,120562],"text":")\n wrap_classList"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'wrap_classList' is not in camel case.","line":3265,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3265,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3265,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3265,"endColumn":45,"fix":{"range":[120570,120580],"text":"'disabled'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3265,"column":64,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3265,"endColumn":65,"fix":{"range":[120598,120627],"text":")\n wrap_classList"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'wrap_classList' is not in camel case.","line":3266,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3266,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3266,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3266,"endColumn":45,"fix":{"range":[120635,120645],"text":"'required'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3266,"column":64,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3266,"endColumn":65,"fix":{"range":[120663,120692],"text":")\n wrap_classList"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'wrap_classList' is not in camel case.","line":3267,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3267,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3267,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3267,"endColumn":44,"fix":{"range":[120700,120709],"text":"'invalid'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3267,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3267,"endColumn":62,"fix":{"range":[120725,120754],"text":")\n wrap_classList"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'wrap_classList' is not in camel case.","line":3268,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3268,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3268,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3268,"endColumn":43,"fix":{"range":[120762,120770],"text":"'locked'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3268,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3268,"endColumn":55,"fix":{"range":[120780,120809],"text":")\n wrap_classList"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'wrap_classList' is not in camel case.","line":3269,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3269,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3269,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3269,"endColumn":41,"fix":{"range":[120817,120823],"text":"'full'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3269,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3269,"endColumn":51,"fix":{"range":[120831,120860],"text":")\n wrap_classList"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'wrap_classList' is not in camel case.","line":3270,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3270,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3270,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3270,"endColumn":49,"fix":{"range":[120868,120882],"text":"'input-active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3270,"column":91,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3270,"endColumn":92,"fix":{"range":[120923,120952],"text":")\n wrap_classList"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'wrap_classList' is not in camel case.","line":3271,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3271,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3271,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3271,"endColumn":52,"fix":{"range":[120960,120977],"text":"'dropdown-active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3271,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3271,"endColumn":68,"fix":{"range":[120991,121020],"text":")\n wrap_classList"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'wrap_classList' is not in camel case.","line":3272,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3272,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3272,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3272,"endColumn":48,"fix":{"range":[121028,121041],"text":"'has-options'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3272,"column":79,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3272,"endColumn":80,"fix":{"range":[121071,121100],"text":")\n wrap_classList"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'wrap_classList' is not in camel case.","line":3273,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3273,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3273,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3273,"endColumn":46,"fix":{"range":[121108,121119],"text":"'has-items'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3273,"column":71,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3273,"endColumn":72,"fix":{"range":[121143,121157],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3275,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3282,"endColumn":12,"fix":{"range":[121157,121157],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3275,"column":31,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3275,"endColumn":32,"fix":{"range":[121188,121188],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3276,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3276,"endColumn":30,"fix":{"range":[121205,121208],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3276,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3276,"endColumn":30,"fix":{"range":[121217,121237],"text":"this\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3278,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3278,"endColumn":22,"fix":{"range":[121278,121299],"text":"return\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3280,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3280,"endColumn":56,"fix":{"range":[121349,121373],"text":"valid\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3281,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3281,"endColumn":46,"fix":{"range":[121393,121413],"text":"isValid\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3283,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3285,"endColumn":12,"fix":{"range":[121413,121413],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3283,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3283,"endColumn":18,"fix":{"range":[121430,121430],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3284,"column":98,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3284,"endColumn":99,"fix":{"range":[121524,121545],"text":"maxItems\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3286,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3331,"endColumn":12,"fix":{"range":[121545,121545],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3286,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3286,"endColumn":31,"fix":{"range":[121575,121575],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3287,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3287,"endColumn":32,"fix":{"range":[121615,121636],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3288,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3288,"endColumn":31,"fix":{"range":[121633,121636],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3288,"column":30,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3288,"endColumn":31,"fix":{"range":[121645,121669],"text":"label\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'empty_option' is not in camel case.","line":3289,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3289,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3289,"column":79,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3289,"endColumn":80,"fix":{"range":[121729,121746],"text":")\n if"}},{"ruleId":"prefer-const","severity":2,"message":"'AddSelected' is never reassigned. Use 'const' instead.","line":3291,"column":19,"nodeType":"Identifier","messageId":"useConst","endLine":3291,"endColumn":30,"fix":{"range":[121785,122353],"text":"const AddSelected = function(option_el, value, label2) {\n if (!option_el) {\n option_el = getDom('\");\n }\n if (option_el != empty_option) {\n self2.input.append(option_el);\n }\n selected.push(option_el);\n if (option_el != empty_option || has_selected > 0) {\n option_el.selected = true;\n }\n return option_el;\n };"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3291,"column":41,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3291,"endColumn":42,"fix":{"range":[121811,121811],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":3291,"column":42,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3291,"endColumn":51},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":3292,"column":22,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3292,"endColumn":31},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":3293,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3293,"endColumn":28},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3293,"column":108,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3293,"endColumn":119,"fix":{"range":[121981,121992],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3293,"column":120,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3293,"endColumn":121,"fix":{"range":[121992,122012],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":3295,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3295,"endColumn":30},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":3295,"column":31,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":3295,"endColumn":33},{"ruleId":"camelcase","severity":2,"message":"Identifier 'empty_option' is not in camel case.","line":3295,"column":34,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3295,"endColumn":46},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3296,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3296,"endColumn":49,"fix":{"range":[122108,122128],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3298,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3298,"endColumn":42,"fix":{"range":[122168,122189],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":3299,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3299,"endColumn":30},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":3299,"column":31,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":3299,"endColumn":33},{"ruleId":"camelcase","severity":2,"message":"Identifier 'empty_option' is not in camel case.","line":3299,"column":34,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3299,"endColumn":46},{"ruleId":"camelcase","severity":2,"message":"Identifier 'has_selected' is not in camel case.","line":3299,"column":50,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3299,"endColumn":62},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":3300,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3300,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3300,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3300,"endColumn":45,"fix":{"range":[122279,122302],"text":"true\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":3302,"column":24,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3302,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3302,"column":33,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3302,"endColumn":34,"fix":{"range":[122326,122352],"text":"option_el\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3303,"column":16,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3303,"endColumn":17,"fix":{"range":[122351,122373],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3304,"column":34,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3304,"endColumn":35,"fix":{"range":[122386,122408],"text":"]\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'has_selected' is not in camel case.","line":3305,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3305,"endColumn":33},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3305,"column":65,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3305,"endColumn":81,"fix":{"range":[122453,122469],"text":"'option:checked'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3305,"column":89,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3305,"endColumn":90,"fix":{"range":[122471,122498],"text":"length\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3306,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3306,"endColumn":60,"fix":{"range":[122522,122538],"text":"'option:checked'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":3306,"column":71,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3306,"endColumn":80},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":3307,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3307,"endColumn":26},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3307,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3307,"endColumn":44,"fix":{"range":[122602,122624],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3308,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3308,"endColumn":18,"fix":{"range":[122624,122643],"text":")\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":3309,"column":38,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":3309,"endColumn":40},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":3309,"column":66,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":3309,"endColumn":68},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3309,"column":69,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3309,"endColumn":77,"fix":{"range":[122695,122703],"text":"'single'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3310,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3310,"endColumn":45,"fix":{"range":[122749,122751],"text":"''"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3310,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3310,"endColumn":49,"fix":{"range":[122753,122755],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3310,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3310,"endColumn":51,"fix":{"range":[122755,122773],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3313,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3313,"endColumn":49,"fix":{"range":[122876,122902],"text":"]\n label"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3314,"column":64,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3314,"endColumn":66,"fix":{"range":[122942,122944],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3314,"column":66,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3314,"endColumn":67,"fix":{"range":[122942,122966],"text":"\"\"\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'reuse_opt' is not in camel case.","line":3316,"column":27,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3316,"endColumn":36},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3316,"column":118,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3316,"endColumn":119,"fix":{"range":[123121,123155],"text":")\n AddSelected"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3317,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3317,"endColumn":58,"fix":{"range":[123179,123201],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3319,"column":79,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3319,"endColumn":80,"fix":{"range":[123286,123308],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3321,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3321,"endColumn":20,"fix":{"range":[123326,123344],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3324,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3324,"endColumn":52,"fix":{"range":[123415,123431],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3328,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3328,"endColumn":39,"fix":{"range":[123529,123537],"text":"'change'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3328,"column":58,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3328,"endColumn":59,"fix":{"range":[123555,123573],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3332,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3352,"endColumn":12,"fix":{"range":[123599,123599],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3332,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3332,"endColumn":16,"fix":{"range":[123614,123614],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3333,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3333,"endColumn":30,"fix":{"range":[123631,123634],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3333,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3333,"endColumn":30,"fix":{"range":[123643,123663],"text":"this\n if"}},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":3334,"column":48,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":3334,"endColumn":50},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3334,"column":75,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3334,"endColumn":82,"fix":{"range":[123723,123730],"text":"'multi'"}},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":3334,"column":83,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":3334,"endColumn":85},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3335,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3335,"endColumn":22,"fix":{"range":[123764,123771],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3335,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3335,"endColumn":22,"fix":{"range":[123764,123789],"text":"return\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3336,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3336,"endColumn":33,"fix":{"range":[123799,123824],"text":"true\n setAttr"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3338,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3338,"endColumn":30,"fix":{"range":[123859,123874],"text":"'aria-expanded'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3338,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3338,"endColumn":38,"fix":{"range":[123876,123882],"text":"'true'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3339,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3339,"endColumn":16,"fix":{"range":[123896,123916],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3340,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3340,"endColumn":34,"fix":{"range":[123930,123953],"text":")\n applyCSS"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3342,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3342,"endColumn":35,"fix":{"range":[123998,124006],"text":"'hidden'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3343,"column":24,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3343,"endColumn":31,"fix":{"range":[124031,124038],"text":"'block'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3344,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3344,"endColumn":16,"fix":{"range":[124052,124072],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3345,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3345,"endColumn":38,"fix":{"range":[124090,124113],"text":")\n applyCSS"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3347,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3347,"endColumn":36,"fix":{"range":[124158,124167],"text":"'visible'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3348,"column":24,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3348,"endColumn":31,"fix":{"range":[124192,124199],"text":"'block'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3349,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3349,"endColumn":16,"fix":{"range":[124213,124233],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3350,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3350,"endColumn":27,"fix":{"range":[124240,124260],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3351,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3351,"endColumn":42,"fix":{"range":[124269,124284],"text":"'dropdown_open'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3351,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3351,"endColumn":60,"fix":{"range":[124300,124314],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3353,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3375,"endColumn":12,"fix":{"range":[124314,124314],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3353,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3353,"endColumn":17,"fix":{"range":[124330,124330],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3354,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3354,"endColumn":30,"fix":{"range":[124369,124372],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3354,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3354,"endColumn":30,"fix":{"range":[124381,124402],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3355,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3355,"endColumn":40,"fix":{"range":[124399,124402],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3355,"column":39,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3355,"endColumn":40,"fix":{"range":[124419,124441],"text":"isOpen\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3357,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3357,"endColumn":39,"fix":{"range":[124498,124517],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3358,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3358,"endColumn":51,"fix":{"range":[124543,124551],"text":"'single'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3359,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3359,"endColumn":35,"fix":{"range":[124609,124627],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3362,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3362,"endColumn":34,"fix":{"range":[124669,124695],"text":"false\n setAttr"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3364,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3364,"endColumn":30,"fix":{"range":[124730,124745],"text":"'aria-expanded'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3364,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3364,"endColumn":39,"fix":{"range":[124747,124754],"text":"'false'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3365,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3365,"endColumn":16,"fix":{"range":[124768,124791],"text":")\n applyCSS"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3367,"column":24,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3367,"endColumn":30,"fix":{"range":[124833,124839],"text":"'none'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3368,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3368,"endColumn":16,"fix":{"range":[124853,124870],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3370,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3370,"endColumn":41,"fix":{"range":[124941,124957],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3372,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3372,"endColumn":34,"fix":{"range":[124989,125006],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3374,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3374,"endColumn":63,"fix":{"range":[125031,125079],"text":"{self2.trigger(\"dropdown_close\", self2.dropdown);}"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3374,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3374,"endColumn":45,"fix":{"range":[125045,125061],"text":"'dropdown_close'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3374,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3374,"endColumn":63,"fix":{"range":[125077,125091],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3376,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3389,"endColumn":12,"fix":{"range":[125091,125091],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3376,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3376,"endColumn":28,"fix":{"range":[125118,125118],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3377,"column":50,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3377,"endColumn":56,"fix":{"range":[125172,125178],"text":"'body'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3378,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3378,"endColumn":22,"fix":{"range":[125196,125217],"text":"return\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3380,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3380,"endColumn":40,"fix":{"range":[125230,125233],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3380,"column":39,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3380,"endColumn":40,"fix":{"range":[125249,125273],"text":"control\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3381,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3381,"endColumn":56,"fix":{"range":[125270,125273],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3381,"column":55,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3381,"endColumn":56,"fix":{"range":[125311,125329],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3382,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3382,"endColumn":73,"fix":{"range":[125326,125329],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3382,"column":72,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3382,"endColumn":73,"fix":{"range":[125378,125402],"text":"scrollY\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3383,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3383,"endColumn":52,"fix":{"range":[125399,125402],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3383,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3383,"endColumn":52,"fix":{"range":[125430,125459],"text":"scrollX\n applyCSS"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3385,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3385,"endColumn":39,"fix":{"range":[125511,125515],"text":"'px'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3386,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3386,"endColumn":31,"fix":{"range":[125543,125547],"text":"'px'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3387,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3387,"endColumn":33,"fix":{"range":[125577,125581],"text":"'px'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3388,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3388,"endColumn":16,"fix":{"range":[125595,125609],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3390,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3402,"endColumn":12,"fix":{"range":[125609,125609],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3390,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3390,"endColumn":17,"fix":{"range":[125625,125625],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3391,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3391,"endColumn":30,"fix":{"range":[125648,125651],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3391,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3391,"endColumn":30,"fix":{"range":[125660,125680],"text":"this\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3393,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3393,"endColumn":22,"fix":{"range":[125717,125724],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3393,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3393,"endColumn":22,"fix":{"range":[125717,125740],"text":"return\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3394,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3394,"endColumn":49,"fix":{"range":[125737,125740],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3394,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3394,"endColumn":49,"fix":{"range":[125771,125795],"text":")\n iterate$1"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3396,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3396,"endColumn":44,"fix":{"range":[125856,125872],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3397,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3397,"endColumn":16,"fix":{"range":[125872,125892],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3398,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3398,"endColumn":31,"fix":{"range":[125903,125920],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3400,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3400,"endColumn":43,"fix":{"range":[125945,125973],"text":"{self2.updateOriginalInput();}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3400,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3400,"endColumn":43,"fix":{"range":[125971,125991],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3401,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3401,"endColumn":34,"fix":{"range":[126000,126007],"text":"'clear'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3401,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3401,"endColumn":36,"fix":{"range":[126007,126021],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3403,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3409,"endColumn":12,"fix":{"range":[126021,126021],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3403,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3403,"endColumn":25,"fix":{"range":[126045,126045],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3404,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3404,"endColumn":32,"fix":{"range":[126079,126102],"text":"this\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3405,"column":41,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3405,"endColumn":42,"fix":{"range":[126117,126144],"text":"caretPos\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3406,"column":41,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3406,"endColumn":42,"fix":{"range":[126160,126187],"text":"control\n target"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3407,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3407,"endColumn":70,"fix":{"range":[126236,126256],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3408,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3408,"endColumn":39,"fix":{"range":[126275,126289],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3410,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3449,"endColumn":12,"fix":{"range":[126289,126289],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3410,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3410,"endColumn":27,"fix":{"range":[126315,126315],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3411,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3411,"endColumn":51,"fix":{"range":[126334,126337],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3411,"column":50,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3411,"endColumn":51,"fix":{"range":[126367,126388],"text":"tail\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3412,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3412,"endColumn":30,"fix":{"range":[126385,126388],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3412,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3412,"endColumn":30,"fix":{"range":[126397,126424],"text":"this\n direction"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3413,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3413,"endColumn":69,"fix":{"range":[126469,126493],"text":"1\n selection"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3414,"column":58,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3414,"endColumn":59,"fix":{"range":[126528,126548],"text":")\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'rm_items' is not in camel case.","line":3415,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3415,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3415,"column":32,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3415,"endColumn":33,"fix":{"range":[126561,126578],"text":"]\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3417,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3417,"endColumn":60,"fix":{"range":[126665,126687],"text":")\n caret"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3418,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3418,"endColumn":39,"fix":{"range":[126704,126723],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3420,"column":24,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3420,"endColumn":25,"fix":{"range":[126763,126782],"text":"++\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'rm_items' is not in camel case.","line":3422,"column":54,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3422,"endColumn":62},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3422,"column":74,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3422,"endColumn":75,"fix":{"range":[126855,126871],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3423,"column":68,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3423,"endColumn":76,"fix":{"range":[126925,126933],"text":"'single'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3424,"column":52,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3424,"endColumn":53,"fix":{"range":[127010,127030],"text":")\n let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'rm_item' is not in camel case.","line":3425,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3425,"endColumn":26},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3425,"column":26,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3425,"endColumn":27,"fix":{"range":[127031,127056],"text":"rm_item\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'rm_item' is not in camel case.","line":3427,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3427,"endColumn":24},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3427,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3427,"endColumn":53,"fix":{"range":[127176,127194],"text":"]\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'rm_item' is not in camel case.","line":3429,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3429,"endColumn":24},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3429,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3429,"endColumn":49,"fix":{"range":[127316,127334],"text":"]\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'rm_item' is not in camel case.","line":3431,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3431,"endColumn":26},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":3431,"column":31,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":3431,"endColumn":37},{"ruleId":"camelcase","severity":2,"message":"Identifier 'rm_items' is not in camel case.","line":3432,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3432,"endColumn":25},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3432,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3432,"endColumn":40,"fix":{"range":[127412,127430],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3436,"column":27,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3436,"endColumn":28,"fix":{"range":[127519,127539],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3438,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3438,"endColumn":38,"fix":{"range":[127575,127592],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3439,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3439,"endColumn":45,"fix":{"range":[127611,127622],"text":"'undefined'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3440,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3440,"endColumn":37,"fix":{"range":[127660,127676],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'rm_items' is not in camel case.","line":3442,"column":20,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3442,"endColumn":28},{"ruleId":"camelcase","severity":2,"message":"Identifier 'rm_items' is not in camel case.","line":3443,"column":32,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3443,"endColumn":40},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3443,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3443,"endColumn":48,"fix":{"range":[127760,127776],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3445,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3445,"endColumn":31,"fix":{"range":[127805,127825],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3446,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3446,"endColumn":38,"fix":{"range":[127843,127863],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3447,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3447,"endColumn":41,"fix":{"range":[127884,127905],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3448,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3448,"endColumn":25,"fix":{"range":[127906,127923],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3450,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3456,"endColumn":12,"fix":{"range":[127923,127923],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3450,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3450,"endColumn":24,"fix":{"range":[127946,127946],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3451,"column":67,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3451,"endColumn":68,"fix":{"range":[128026,128043],"text":")\n if"}},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":3452,"column":32,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":3452,"endColumn":34},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3452,"column":69,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3452,"endColumn":79,"fix":{"range":[128097,128107],"text":"'function'"}},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":3452,"column":80,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":3452,"endColumn":82},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3453,"column":27,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3453,"endColumn":28,"fix":{"range":[128181,128201],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3455,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3455,"endColumn":25,"fix":{"range":[128221,128238],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3457,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3485,"endColumn":12,"fix":{"range":[128238,128238],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3457,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3457,"endColumn":28,"fix":{"range":[128265,128265],"text":" "}},{"ruleId":"one-var","severity":2,"message":"Split initialized 'var' declarations into multiple statements.","line":3458,"column":13,"nodeType":"VariableDeclaration","messageId":"splitInitialized","endLine":3458,"endColumn":53,"fix":{"range":[128310,128321],"text":"; var adjacent; var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3458,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3458,"endColumn":53,"fix":{"range":[128295,128298],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_active' is not in camel case.","line":3458,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3458,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3458,"column":52,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3458,"endColumn":53,"fix":{"range":[128330,128350],"text":"this\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3460,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3460,"endColumn":31,"fix":{"range":[128377,128393],"text":"{direction *= -1;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3460,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3460,"endColumn":31,"fix":{"range":[128391,128408],"text":"1\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3462,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3462,"endColumn":22,"fix":{"range":[128451,128458],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3462,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3462,"endColumn":22,"fix":{"range":[128451,128473],"text":"return\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3463,"column":58,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3463,"endColumn":68,"fix":{"range":[128516,128526],"text":"'shiftKey'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_active' is not in camel case.","line":3464,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3464,"endColumn":26},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3464,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3464,"endColumn":60,"fix":{"range":[128592,128611],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_active' is not in camel case.","line":3465,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3465,"endColumn":30},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_active' is not in camel case.","line":3466,"column":22,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3466,"endColumn":33},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3466,"column":53,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3466,"endColumn":61,"fix":{"range":[128680,128688],"text":"'active'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_active' is not in camel case.","line":3467,"column":30,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3467,"endColumn":41},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3467,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3467,"endColumn":42,"fix":{"range":[128722,128752],"text":"last_active\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3469,"column":72,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3469,"endColumn":78,"fix":{"range":[128831,128837],"text":"'item'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3469,"column":79,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3469,"endColumn":80,"fix":{"range":[128837,128857],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3472,"column":66,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3472,"endColumn":67,"fix":{"range":[128947,128982],"text":"nextElementSibling\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3474,"column":70,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3474,"endColumn":71,"fix":{"range":[129037,129076],"text":"previousElementSibling\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3477,"column":49,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3477,"endColumn":57,"fix":{"range":[129155,129163],"text":"'active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3478,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3478,"endColumn":55,"fix":{"range":[129220,129240],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3480,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3480,"endColumn":52,"fix":{"range":[129290,129308],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3483,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3483,"endColumn":42,"fix":{"range":[129369,129385],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3486,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3487,"endColumn":12,"fix":{"range":[129397,129397],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3486,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3486,"endColumn":21,"fix":{"range":[129417,129417],"text":" "}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3488,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3497,"endColumn":12,"fix":{"range":[129442,129442],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3488,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3488,"endColumn":25,"fix":{"range":[129466,129466],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_active' is not in camel case.","line":3489,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3489,"endColumn":28},{"ruleId":"prefer-const","severity":2,"message":"'last_active' is never reassigned. Use 'const' instead.","line":3489,"column":17,"nodeType":"Identifier","messageId":"useConst","endLine":3489,"endColumn":28,"fix":{"range":[129492,129553],"text":"const last_active = this.control.querySelector(\".last-active\");"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3489,"column":58,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3489,"endColumn":72,"fix":{"range":[129537,129551],"text":"'.last-active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3489,"column":73,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3489,"endColumn":74,"fix":{"range":[129551,129568],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_active' is not in camel case.","line":3490,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3490,"endColumn":28},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_active' is not in camel case.","line":3491,"column":22,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3491,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3491,"column":33,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3491,"endColumn":34,"fix":{"range":[129606,129632],"text":"last_active\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3493,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3493,"endColumn":67,"fix":{"range":[129645,129648],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3493,"column":56,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3493,"endColumn":65,"fix":{"range":[129688,129697],"text":"'.active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3493,"column":66,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3493,"endColumn":67,"fix":{"range":[129697,129714],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3495,"column":48,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3495,"endColumn":49,"fix":{"range":[129772,129788],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3498,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3500,"endColumn":12,"fix":{"range":[129800,129800],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3498,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3498,"endColumn":20,"fix":{"range":[129819,129819],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'new_pos' is not in camel case.","line":3498,"column":20,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3498,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3499,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3499,"endColumn":47,"fix":{"range":[129870,129889],"text":"length\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3501,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3503,"endColumn":12,"fix":{"range":[129889,129889],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3501,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3501,"endColumn":27,"fix":{"range":[129915,129915],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3502,"column":61,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3502,"endColumn":77,"fix":{"range":[129980,129996],"text":"'[data-ts-item]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3502,"column":79,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3502,"endColumn":80,"fix":{"range":[129997,130011],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3504,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3507,"endColumn":12,"fix":{"range":[130011,130011],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3504,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3504,"endColumn":16,"fix":{"range":[130026,130026],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3505,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3505,"endColumn":34,"fix":{"range":[130059,130081],"text":"true\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3506,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3506,"endColumn":33,"fix":{"range":[130095,130109],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3508,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3511,"endColumn":12,"fix":{"range":[130109,130109],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3508,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3508,"endColumn":18,"fix":{"range":[130126,130126],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3509,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3509,"endColumn":35,"fix":{"range":[130159,130182],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3510,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3510,"endColumn":33,"fix":{"range":[130196,130210],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3512,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3520,"endColumn":12,"fix":{"range":[130210,130210],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3512,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3512,"endColumn":19,"fix":{"range":[130228,130228],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3513,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3513,"endColumn":30,"fix":{"range":[130245,130248],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3513,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3513,"endColumn":30,"fix":{"range":[130257,130280],"text":"this\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3514,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3514,"endColumn":41,"fix":{"range":[130298,130321],"text":"true\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3515,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3515,"endColumn":49,"fix":{"range":[130347,130370],"text":"true\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3516,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3516,"endColumn":44,"fix":{"range":[130394,130414],"text":"1\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3517,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3517,"endColumn":37,"fix":{"range":[130428,130450],"text":"true\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3518,"column":25,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3518,"endColumn":26,"fix":{"range":[130457,130477],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3519,"column":25,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3519,"endColumn":26,"fix":{"range":[130483,130497],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3521,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3528,"endColumn":12,"fix":{"range":[130497,130497],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3521,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3521,"endColumn":18,"fix":{"range":[130514,130514],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3522,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3522,"endColumn":30,"fix":{"range":[130531,130534],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3522,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3522,"endColumn":30,"fix":{"range":[130543,130566],"text":"this\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3523,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3523,"endColumn":42,"fix":{"range":[130584,130608],"text":"false\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3524,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3524,"endColumn":50,"fix":{"range":[130634,130658],"text":"false\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3525,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3525,"endColumn":56,"fix":{"range":[130687,130714],"text":"tabIndex\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3526,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3526,"endColumn":38,"fix":{"range":[130728,130752],"text":"false\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3527,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3527,"endColumn":28,"fix":{"range":[130760,130774],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3529,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3541,"endColumn":12,"fix":{"range":[130774,130774],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3529,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3529,"endColumn":19,"fix":{"range":[130792,130792],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3530,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3530,"endColumn":30,"fix":{"range":[130809,130812],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3530,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3530,"endColumn":30,"fix":{"range":[130821,130842],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3531,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3531,"endColumn":55,"fix":{"range":[130839,130842],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3531,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3531,"endColumn":55,"fix":{"range":[130866,130899],"text":"revertSettings\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3532,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3532,"endColumn":36,"fix":{"range":[130908,130917],"text":"'destroy'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3532,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3532,"endColumn":38,"fix":{"range":[130917,130937],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3533,"column":24,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3533,"endColumn":25,"fix":{"range":[130942,130962],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3534,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3534,"endColumn":36,"fix":{"range":[130978,130998],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3535,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3535,"endColumn":37,"fix":{"range":[131015,131035],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3536,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3536,"endColumn":62,"fix":{"range":[131069,131097],"text":"innerHTML\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3537,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3537,"endColumn":60,"fix":{"range":[131130,131165],"text":"tabIndex\n removeClasses"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3538,"column":40,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3538,"endColumn":53,"fix":{"range":[131179,131192],"text":"'tomselected'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3538,"column":55,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3538,"endColumn":77,"fix":{"range":[131194,131216],"text":"'ts-hidden-accessible'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3538,"column":78,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3538,"endColumn":79,"fix":{"range":[131216,131236],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3539,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3539,"endColumn":30,"fix":{"range":[131246,131267],"text":")\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3540,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3540,"endColumn":42,"fix":{"range":[131280,131302],"text":"tomselect\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3542,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3595,"endColumn":12,"fix":{"range":[131302,131302],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3542,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3542,"endColumn":18,"fix":{"range":[131319,131319],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3543,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3543,"endColumn":27,"fix":{"range":[131354,131357],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3543,"column":26,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3543,"endColumn":27,"fix":{"range":[131363,131386],"text":"html\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3544,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3544,"endColumn":32,"fix":{"range":[131395,131415],"text":"this\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3545,"column":63,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3545,"endColumn":73,"fix":{"range":[131463,131473],"text":"'function'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3546,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3546,"endColumn":27,"fix":{"range":[131498,131517],"text":"null\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3548,"column":85,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3548,"endColumn":86,"fix":{"range":[131601,131618],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3550,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3550,"endColumn":27,"fix":{"range":[131650,131669],"text":"null\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3552,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3552,"endColumn":33,"fix":{"range":[131700,131717],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3553,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3553,"endColumn":42,"fix":{"range":[131736,131744],"text":"'option'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3553,"column":63,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3553,"endColumn":78,"fix":{"range":[131765,131780],"text":"'option_create'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3556,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3556,"endColumn":34,"fix":{"range":[131890,131905],"text":"'aria-disabled'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3556,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3556,"endColumn":42,"fix":{"range":[131907,131913],"text":"'true'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3557,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3557,"endColumn":20,"fix":{"range":[131931,131949],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3560,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3560,"endColumn":36,"fix":{"range":[132007,132024],"text":"'data-selectable'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3560,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3560,"endColumn":40,"fix":{"range":[132026,132028],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3561,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3561,"endColumn":20,"fix":{"range":[132046,132064],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3563,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3563,"endColumn":51,"fix":{"range":[132105,132115],"text":"'optgroup'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3564,"column":66,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3564,"endColumn":67,"fix":{"range":[132183,132207],"text":"]\n setAttr"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3566,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3566,"endColumn":29,"fix":{"range":[132232,132244],"text":"'data-group'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3567,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3567,"endColumn":18,"fix":{"range":[132265,132284],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3570,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3570,"endColumn":34,"fix":{"range":[132380,132395],"text":"'data-disabled'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3570,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3570,"endColumn":38,"fix":{"range":[132397,132399],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3571,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3571,"endColumn":20,"fix":{"range":[132417,132435],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3574,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3574,"endColumn":42,"fix":{"range":[132483,132491],"text":"'option'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3574,"column":63,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3574,"endColumn":69,"fix":{"range":[132512,132518],"text":"'item'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3575,"column":70,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3575,"endColumn":71,"fix":{"range":[132590,132614],"text":")\n setAttr"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3577,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3577,"endColumn":29,"fix":{"range":[132639,132651],"text":"'data-value'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3578,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3578,"endColumn":18,"fix":{"range":[132674,132693],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3579,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3579,"endColumn":42,"fix":{"range":[132712,132718],"text":"'item'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3580,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3580,"endColumn":60,"fix":{"range":[132779,132805],"text":")\n setAttr"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3582,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3582,"endColumn":33,"fix":{"range":[132832,132846],"text":"'data-ts-item'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3582,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3582,"endColumn":37,"fix":{"range":[132848,132850],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3583,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3583,"endColumn":20,"fix":{"range":[132868,132886],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3585,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3585,"endColumn":62,"fix":{"range":[132953,132979],"text":")\n setAttr"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3587,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3587,"endColumn":33,"fix":{"range":[133012,133020],"text":"'option'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3589,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3589,"endColumn":20,"fix":{"range":[133070,133093],"text":")\n data"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3590,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3590,"endColumn":34,"fix":{"range":[133101,133128],"text":"html\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3591,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3591,"endColumn":45,"fix":{"range":[133146,133167],"text":"data\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3594,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3594,"endColumn":25,"fix":{"range":[133201,133218],"text":"html\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3596,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3602,"endColumn":12,"fix":{"range":[133218,133218],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3596,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3596,"endColumn":19,"fix":{"range":[133236,133236],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3597,"column":57,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3597,"endColumn":58,"fix":{"range":[133314,133331],"text":")\n if"}},{"ruleId":"no-throw-literal","severity":2,"message":"Expected an error object to be thrown.","line":3599,"column":15,"nodeType":"ThrowStatement","messageId":"object","endLine":3599,"endColumn":44},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3599,"column":21,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3599,"endColumn":43,"fix":{"range":[133369,133391],"text":"'HTMLElement expected'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3599,"column":43,"nodeType":"ThrowStatement","messageId":"extraSemi","endLine":3599,"endColumn":44,"fix":{"range":[133369,133406],"text":"\"HTMLElement expected\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3601,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3601,"endColumn":25,"fix":{"range":[133426,133443],"text":"html\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3603,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3610,"endColumn":12,"fix":{"range":[133443,133443],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3603,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3603,"endColumn":22,"fix":{"range":[133464,133464],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3606,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3606,"endColumn":38,"fix":{"range":[133587,133612],"text":")\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3607,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3607,"endColumn":36,"fix":{"range":[133620,133641],"text":"$div\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3609,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3609,"endColumn":16,"fix":{"range":[133655,133669],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3611,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3615,"endColumn":12,"fix":{"range":[133669,133669],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3611,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3611,"endColumn":24,"fix":{"range":[133692,133692],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":3612,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3612,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3612,"column":52,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3612,"endColumn":53,"fix":{"range":[133752,133769],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":3613,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3613,"endColumn":26},{"ruleId":"camelcase","severity":2,"message":"Identifier 'option_el' is not in camel case.","line":3614,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3614,"endColumn":24},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3614,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3614,"endColumn":34,"fix":{"range":[133796,133815],"text":"{option_el.remove();}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3614,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3614,"endColumn":34,"fix":{"range":[133813,133827],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3616,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3618,"endColumn":12,"fix":{"range":[133827,133827],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3616,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3616,"endColumn":21,"fix":{"range":[133847,133847],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3617,"column":108,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3617,"endColumn":109,"fix":{"range":[133963,133977],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":3619,"column":11,"nodeType":"MethodDefinition","messageId":"always","endLine":3636,"endColumn":12,"fix":{"range":[133977,133977],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3619,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3619,"endColumn":16,"fix":{"range":[133992,133992],"text":" "}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'new_fn' is not in camel case.","line":3619,"column":30,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3619,"endColumn":36},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3620,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3620,"endColumn":30,"fix":{"range":[134029,134032],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3620,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3620,"endColumn":30,"fix":{"range":[134041,134062],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3621,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3621,"endColumn":45,"fix":{"range":[134059,134062],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_method' is not in camel case.","line":3621,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3621,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3621,"column":44,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3621,"endColumn":45,"fix":{"range":[134089,134109],"text":"]\n self2"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3622,"column":37,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3622,"endColumn":38,"fix":{"range":[134128,134128],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3623,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3623,"endColumn":38,"fix":{"range":[134147,134150],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'result_new' is not in camel case.","line":3623,"column":27,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3623,"endColumn":37},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3623,"column":37,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3623,"endColumn":38,"fix":{"range":[134159,134187],"text":"result_new\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3624,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3624,"endColumn":35,"fix":{"range":[134198,134205],"text":"'after'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_method' is not in camel case.","line":3625,"column":26,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3625,"endColumn":37},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3625,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3625,"endColumn":62,"fix":{"range":[134268,134286],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'result_new' is not in camel case.","line":3627,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3627,"endColumn":25},{"ruleId":"camelcase","severity":2,"message":"Identifier 'new_fn' is not in camel case.","line":3627,"column":28,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3627,"endColumn":34},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3627,"column":58,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3627,"endColumn":59,"fix":{"range":[134343,134362],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3628,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3628,"endColumn":37,"fix":{"range":[134373,134382],"text":"'instead'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'result_new' is not in camel case.","line":3629,"column":24,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3629,"endColumn":34},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3629,"column":34,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3629,"endColumn":35,"fix":{"range":[134409,134436],"text":"result_new\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3631,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3631,"endColumn":36,"fix":{"range":[134464,134472],"text":"'before'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_method' is not in camel case.","line":3632,"column":26,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3632,"endColumn":37},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3632,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3632,"endColumn":62,"fix":{"range":[134535,134553],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3634,"column":28,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3634,"endColumn":29,"fix":{"range":[134575,134596],"text":"result\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3635,"column":14,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3635,"endColumn":15,"fix":{"range":[134595,134609],"text":"}\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'change_listener' is not in camel case.","line":3638,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3638,"endColumn":33},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3638,"column":33,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":3638,"endColumn":34,"fix":{"range":[134652,134652],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3639,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3639,"endColumn":40,"fix":{"range":[134688,134696],"text":"'change'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3640,"column":24,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3640,"endColumn":25,"fix":{"range":[134728,134742],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3641,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3641,"endColumn":14,"fix":{"range":[134742,134754],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'checkbox_options' is not in camel case.","line":3643,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3643,"endColumn":34},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3643,"column":34,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":3643,"endColumn":35,"fix":{"range":[134788,134788],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3644,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3644,"endColumn":28,"fix":{"range":[134803,134806],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3644,"column":27,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3644,"endColumn":28,"fix":{"range":[134815,134834],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3645,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3645,"endColumn":58,"fix":{"range":[134831,134834],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_onOptionSelect' is not in camel case.","line":3645,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3645,"endColumn":34},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3645,"column":57,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3645,"endColumn":58,"fix":{"range":[134863,134894],"text":"onOptionSelect\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3646,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3646,"endColumn":47,"fix":{"range":[134919,134939],"text":"false\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3647,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3658,"endColumn":13,"fix":{"range":[134936,134939],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3647,"column":56,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3647,"endColumn":57,"fix":{"range":[134981,134981],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3649,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3649,"endColumn":60,"fix":{"range":[135037,135040],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3649,"column":51,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3649,"endColumn":58,"fix":{"range":[135073,135080],"text":"'input'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3649,"column":59,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3649,"endColumn":60,"fix":{"range":[135080,135099],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3651,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3651,"endColumn":57,"fix":{"range":[135187,135197],"text":"'selected'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3652,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3652,"endColumn":43,"fix":{"range":[135239,135262],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3654,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3654,"endColumn":44,"fix":{"range":[135307,135331],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3657,"column":18,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3657,"endColumn":19,"fix":{"range":[135364,135378],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3658,"column":12,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3658,"endColumn":13,"fix":{"range":[135377,135395],"text":"}\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3659,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3659,"endColumn":29,"fix":{"range":[135401,135408],"text":"'after'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3659,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3659,"endColumn":47,"fix":{"range":[135410,135426],"text":"'setupTemplates'"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3660,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3660,"endColumn":67,"fix":{"range":[135448,135451],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_render_option' is not in camel case.","line":3660,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3660,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3660,"column":66,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3660,"endColumn":67,"fix":{"range":[135495,135520],"text":"option\n self2"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'escape_html2' is not in camel case.","line":3661,"column":51,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3661,"endColumn":63},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3662,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3662,"endColumn":89,"fix":{"range":[135586,135589],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_render_option' is not in camel case.","line":3662,"column":37,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3662,"endColumn":55},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3662,"column":88,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3662,"endColumn":89,"fix":{"range":[135658,135678],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3663,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3663,"endColumn":62,"fix":{"range":[135675,135678],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3663,"column":53,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3663,"endColumn":60,"fix":{"range":[135713,135720],"text":"'input'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3663,"column":61,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3663,"endColumn":62,"fix":{"range":[135720,135745],"text":")\n checkbox"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3664,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3664,"endColumn":48,"fix":{"range":[135763,135770],"text":"'click'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3664,"column":58,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3664,"endColumn":59,"fix":{"range":[135780,135780],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3665,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3665,"endColumn":37,"fix":{"range":[135822,135840],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3666,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3666,"endColumn":18,"fix":{"range":[135840,135865],"text":")\n checkbox"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3667,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3667,"endColumn":41,"fix":{"range":[135873,135883],"text":"'checkbox'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3667,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3667,"endColumn":42,"fix":{"range":[135873,135904],"text":"\"checkbox\"\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3668,"column":71,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3668,"endColumn":72,"fix":{"range":[135954,135973],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3670,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3670,"endColumn":41,"fix":{"range":[136056,136077],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3672,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3672,"endColumn":42,"fix":{"range":[136117,136140],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3673,"column":30,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3673,"endColumn":31,"fix":{"range":[136141,136164],"text":"rendered\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3674,"column":14,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3674,"endColumn":15,"fix":{"range":[136163,136177],"text":"}\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3675,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3675,"endColumn":14,"fix":{"range":[136177,136195],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3676,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3676,"endColumn":33,"fix":{"range":[136199,136212],"text":"'item_remove'"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3677,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3677,"endColumn":49,"fix":{"range":[136239,136242],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3677,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3677,"endColumn":49,"fix":{"range":[136273,136290],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3679,"column":39,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3679,"endColumn":49,"fix":{"range":[136340,136350],"text":"'selected'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3679,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3679,"endColumn":51,"fix":{"range":[136350,136381],"text":")\n UpdateCheckbox"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3680,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3680,"endColumn":38,"fix":{"range":[136388,136404],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3682,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3682,"endColumn":14,"fix":{"range":[136416,136434],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3683,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3683,"endColumn":30,"fix":{"range":[136438,136448],"text":"'item_add'"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3684,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3684,"endColumn":49,"fix":{"range":[136475,136478],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3684,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3684,"endColumn":49,"fix":{"range":[136509,136526],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3686,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3686,"endColumn":38,"fix":{"range":[136573,136589],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3688,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3688,"endColumn":14,"fix":{"range":[136601,136619],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3689,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3689,"endColumn":31,"fix":{"range":[136625,136634],"text":"'instead'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3689,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3689,"endColumn":49,"fix":{"range":[136636,136652],"text":"'onOptionSelect'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3690,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3690,"endColumn":53,"fix":{"range":[136715,136725],"text":"'selected'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3691,"column":39,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3691,"endColumn":49,"fix":{"range":[136768,136778],"text":"'selected'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3691,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3691,"endColumn":51,"fix":{"range":[136778,136800],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3692,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3692,"endColumn":54,"fix":{"range":[136832,136854],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3693,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3693,"endColumn":38,"fix":{"range":[136870,136901],"text":")\n preventDefault"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3694,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3694,"endColumn":41,"fix":{"range":[136911,136934],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3695,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3695,"endColumn":22,"fix":{"range":[136928,136949],"text":"return\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_onOptionSelect' is not in camel case.","line":3697,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3697,"endColumn":32},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3697,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3697,"endColumn":58,"fix":{"range":[137005,137034],"text":")\n UpdateCheckbox"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3698,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3698,"endColumn":36,"fix":{"range":[137041,137055],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3699,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3699,"endColumn":14,"fix":{"range":[137055,137067],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'clear_button' is not in camel case.","line":3701,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3701,"endColumn":30},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3701,"column":30,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":3701,"endColumn":31,"fix":{"range":[137097,137097],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3702,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3702,"endColumn":30,"fix":{"range":[137137,137158],"text":"this\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3704,"column":24,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3704,"endColumn":38,"fix":{"range":[137209,137223],"text":"'clear-button'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3705,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3705,"endColumn":31,"fix":{"range":[137244,137255],"text":"'Clear All'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3707,"column":91,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3707,"endColumn":92,"fix":{"range":[137359,137392],"text":"}\">⨯`\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3709,"column":26,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3709,"endColumn":27,"fix":{"range":[137417,137435],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3710,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3710,"endColumn":32,"fix":{"range":[137439,137451],"text":"'initialize'"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3711,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3711,"endColumn":58,"fix":{"range":[137473,137476],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3711,"column":57,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3711,"endColumn":58,"fix":{"range":[137516,137537],"text":")\n button"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3712,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3712,"endColumn":44,"fix":{"range":[137555,137562],"text":"'click'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3714,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3714,"endColumn":24,"fix":{"range":[137629,137652],"text":"return\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3716,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3716,"endColumn":29,"fix":{"range":[137679,137698],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3717,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3717,"endColumn":51,"fix":{"range":[137724,137732],"text":"'single'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3718,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3718,"endColumn":33,"fix":{"range":[137801,137803],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3718,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3718,"endColumn":35,"fix":{"range":[137803,137821],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3720,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3720,"endColumn":36,"fix":{"range":[137855,137875],"text":")\n evt"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3721,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3721,"endColumn":37,"fix":{"range":[137892,137908],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3722,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3722,"endColumn":16,"fix":{"range":[137908,137928],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3723,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3723,"endColumn":47,"fix":{"range":[137955,137969],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3724,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3724,"endColumn":14,"fix":{"range":[137969,137981],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'drag_drop' is not in camel case.","line":3726,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3726,"endColumn":27},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3726,"column":27,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":3726,"endColumn":28,"fix":{"range":[138008,138008],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3727,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3727,"endColumn":28,"fix":{"range":[138023,138026],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3727,"column":27,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3727,"endColumn":28,"fix":{"range":[138035,138053],"text":"this\n if"}},{"ruleId":"no-undef","severity":2,"message":"'$' is not defined.","line":3728,"column":16,"nodeType":"Identifier","messageId":"undef","endLine":3728,"endColumn":17},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3729,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3729,"endColumn":86,"fix":{"range":[138083,138156],"text":"{throw new Error('The \"drag_drop\" plugin requires jQuery UI \"sortable\".');}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3729,"column":85,"nodeType":"ThrowStatement","messageId":"extraSemi","endLine":3729,"endColumn":86,"fix":{"range":[138154,138169],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3730,"column":39,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3730,"endColumn":46,"fix":{"range":[138195,138202],"text":"'multi'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3731,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3731,"endColumn":20,"fix":{"range":[138216,138223],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3731,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3731,"endColumn":20,"fix":{"range":[138216,138237],"text":"return\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3732,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3732,"endColumn":38,"fix":{"range":[138234,138237],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_lock' is not in camel case.","line":3732,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3732,"endColumn":24},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3732,"column":37,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3732,"endColumn":38,"fix":{"range":[138256,138275],"text":"lock\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3733,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3733,"endColumn":42,"fix":{"range":[138272,138275],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_unlock' is not in camel case.","line":3733,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3733,"endColumn":26},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3733,"column":41,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3733,"endColumn":42,"fix":{"range":[138296,138319],"text":"unlock\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3734,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3734,"endColumn":31,"fix":{"range":[138325,138334],"text":"'instead'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3734,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3734,"endColumn":39,"fix":{"range":[138336,138342],"text":"'lock'"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3735,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3735,"endColumn":62,"fix":{"range":[138364,138367],"text":"let"}},{"ruleId":"no-undef","severity":2,"message":"'$' is not defined.","line":3735,"column":28,"nodeType":"Identifier","messageId":"undef","endLine":3735,"endColumn":29},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3735,"column":50,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3735,"endColumn":60,"fix":{"range":[138401,138411],"text":"'sortable'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3735,"column":61,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3735,"endColumn":62,"fix":{"range":[138411,138428],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3737,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3737,"endColumn":34,"fix":{"range":[138454,138473],"text":"{sortable.disable();}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3737,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3737,"endColumn":34,"fix":{"range":[138471,138492],"text":")\n return"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_lock' is not in camel case.","line":3738,"column":20,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3738,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3738,"column":41,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3738,"endColumn":42,"fix":{"range":[138513,138527],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3739,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3739,"endColumn":14,"fix":{"range":[138527,138545],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3740,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3740,"endColumn":31,"fix":{"range":[138551,138560],"text":"'instead'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3740,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3740,"endColumn":41,"fix":{"range":[138562,138570],"text":"'unlock'"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3741,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3741,"endColumn":62,"fix":{"range":[138592,138595],"text":"let"}},{"ruleId":"no-undef","severity":2,"message":"'$' is not defined.","line":3741,"column":28,"nodeType":"Identifier","messageId":"undef","endLine":3741,"endColumn":29},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3741,"column":50,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3741,"endColumn":60,"fix":{"range":[138629,138639],"text":"'sortable'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3741,"column":61,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3741,"endColumn":62,"fix":{"range":[138639,138656],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3743,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3743,"endColumn":33,"fix":{"range":[138682,138700],"text":"{sortable.enable();}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3743,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3743,"endColumn":33,"fix":{"range":[138698,138719],"text":")\n return"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_unlock' is not in camel case.","line":3744,"column":20,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3744,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3744,"column":43,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3744,"endColumn":44,"fix":{"range":[138742,138756],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3745,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3745,"endColumn":14,"fix":{"range":[138756,138774],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3746,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3746,"endColumn":32,"fix":{"range":[138778,138790],"text":"'initialize'"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3747,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3768,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'$' is not defined.","line":3747,"column":28,"nodeType":"Identifier","messageId":"undef","endLine":3747,"endColumn":29},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3748,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3748,"endColumn":36,"fix":{"range":[138876,138890],"text":"'[data-value]'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3752,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3752,"endColumn":44,"fix":{"range":[139046,139053],"text":"'width'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3752,"column":61,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3752,"endColumn":68,"fix":{"range":[139070,139077],"text":"'width'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3752,"column":70,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3752,"endColumn":71,"fix":{"range":[139078,139105],"text":")\n $control"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3754,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3754,"endColumn":38,"fix":{"range":[139140,139149],"text":"'visible'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3755,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3755,"endColumn":20,"fix":{"range":[139167,139185],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3759,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3759,"endColumn":37,"fix":{"range":[139274,139282],"text":"'hidden'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3760,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3760,"endColumn":20,"fix":{"range":[139300,139322],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3761,"column":17,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3761,"endColumn":33,"fix":{"range":[139319,139322],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3761,"column":32,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3761,"endColumn":33,"fix":{"range":[139333,139360],"text":"]\n $control"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3762,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3762,"endColumn":49,"fix":{"range":[139370,139384],"text":"'[data-value]'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3762,"column":64,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3762,"endColumn":65,"fix":{"range":[139399,139399],"text":" "}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3764,"column":21,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3764,"endColumn":53,"fix":{"range":[139466,139498],"text":"{values.push(this.dataset.value);}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3764,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3764,"endColumn":53,"fix":{"range":[139496,139516],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3765,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3765,"endColumn":20,"fix":{"range":[139516,139540],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3766,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3766,"endColumn":40,"fix":{"range":[139556,139574],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3768,"column":15,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3768,"endColumn":16,"fix":{"range":[139588,139602],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3769,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3769,"endColumn":14,"fix":{"range":[139602,139614],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_header' is not in camel case.","line":3771,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3771,"endColumn":33},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3771,"column":33,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":3771,"endColumn":34,"fix":{"range":[139647,139647],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3772,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3772,"endColumn":30,"fix":{"range":[139687,139708],"text":"this\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3774,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3774,"endColumn":30,"fix":{"range":[139755,139765],"text":"'Untitled'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3775,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3775,"endColumn":43,"fix":{"range":[139792,139809],"text":"'dropdown-header'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3776,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3776,"endColumn":51,"fix":{"range":[139838,139861],"text":"'dropdown-header-title'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3777,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3777,"endColumn":48,"fix":{"range":[139887,139910],"text":"'dropdown-header-label'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3778,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3778,"endColumn":48,"fix":{"range":[139936,139959],"text":"'dropdown-header-close'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3780,"column":223,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3780,"endColumn":224,"fix":{"range":[140186,140228],"text":"'\">×'\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3782,"column":26,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3782,"endColumn":27,"fix":{"range":[140253,140271],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3783,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3783,"endColumn":32,"fix":{"range":[140275,140287],"text":"'initialize'"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3784,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3784,"endColumn":58,"fix":{"range":[140309,140312],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3784,"column":57,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3784,"endColumn":58,"fix":{"range":[140352,140370],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3785,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3785,"endColumn":78,"fix":{"range":[140367,140370],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'close_link' is not in camel case.","line":3785,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3785,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3785,"column":51,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3785,"endColumn":54,"fix":{"range":[140405,140408],"text":"'.'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3785,"column":77,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3785,"endColumn":78,"fix":{"range":[140430,140447],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'close_link' is not in camel case.","line":3786,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3786,"endColumn":27},{"ruleId":"camelcase","severity":2,"message":"Identifier 'close_link' is not in camel case.","line":3787,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3787,"endColumn":25},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3787,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3787,"endColumn":50,"fix":{"range":[140505,140512],"text":"'click'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3788,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3788,"endColumn":43,"fix":{"range":[140565,140589],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3789,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3789,"endColumn":31,"fix":{"range":[140596,140614],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3790,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3790,"endColumn":18,"fix":{"range":[140614,140630],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3792,"column":75,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3792,"endColumn":76,"fix":{"range":[140704,140718],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3793,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3793,"endColumn":14,"fix":{"range":[140718,140730],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'caret_position' is not in camel case.","line":3795,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3795,"endColumn":32},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3795,"column":32,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":3795,"endColumn":33,"fix":{"range":[140762,140762],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3796,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3796,"endColumn":28,"fix":{"range":[140777,140780],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3796,"column":27,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3796,"endColumn":28,"fix":{"range":[140789,140810],"text":"this\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3797,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3797,"endColumn":31,"fix":{"range":[140816,140825],"text":"'instead'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3797,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3797,"endColumn":43,"fix":{"range":[140827,140837],"text":"'setCaret'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'new_pos' is not in camel case.","line":3797,"column":46,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3797,"endColumn":53},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3798,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3798,"endColumn":49,"fix":{"range":[140894,140902],"text":"'single'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'new_pos' is not in camel case.","line":3799,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3799,"endColumn":22},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3799,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3799,"endColumn":44,"fix":{"range":[140990,141011],"text":"length\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'new_pos' is not in camel case.","line":3801,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3801,"endColumn":22},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3801,"column":75,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3801,"endColumn":76,"fix":{"range":[141092,141111],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'new_pos' is not in camel case.","line":3802,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3802,"endColumn":26},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":3802,"column":27,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":3802,"endColumn":29},{"ruleId":"camelcase","severity":2,"message":"Identifier 'new_pos' is not in camel case.","line":3804,"column":28,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3804,"endColumn":35},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3805,"column":63,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3805,"endColumn":76,"fix":{"range":[141327,141340],"text":"'beforebegin'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3805,"column":84,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3805,"endColumn":85,"fix":{"range":[141347,141369],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3807,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3807,"endColumn":54,"fix":{"range":[141428,141450],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3809,"column":19,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3809,"endColumn":20,"fix":{"range":[141468,141486],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'new_pos' is not in camel case.","line":3812,"column":30,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3812,"endColumn":37},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3812,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3812,"endColumn":38,"fix":{"range":[141530,141550],"text":"new_pos\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3813,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3813,"endColumn":14,"fix":{"range":[141550,141568],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3814,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3814,"endColumn":31,"fix":{"range":[141574,141583],"text":"'instead'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3814,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3814,"endColumn":44,"fix":{"range":[141585,141596],"text":"'moveCaret'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3816,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3816,"endColumn":22,"fix":{"range":[141663,141670],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3816,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3816,"endColumn":22,"fix":{"range":[141663,141688],"text":"return\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_active' is not in camel case.","line":3817,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3817,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3817,"column":63,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3817,"endColumn":64,"fix":{"range":[141732,141749],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'last_active' is not in camel case.","line":3818,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3818,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3819,"column":49,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3819,"endColumn":50,"fix":{"range":[141813,141835],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3820,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3820,"endColumn":61,"fix":{"range":[141874,141896],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3821,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3821,"endColumn":37,"fix":{"range":[141911,141941],"text":")\n removeClasses"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3822,"column":42,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3822,"endColumn":55,"fix":{"range":[141955,141968],"text":"'last-active'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3822,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3822,"endColumn":57,"fix":{"range":[141968,141984],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3824,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3824,"endColumn":58,"fix":{"range":[142047,142063],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3826,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3826,"endColumn":14,"fix":{"range":[142075,142087],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_input' is not in camel case.","line":3828,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3828,"endColumn":32},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3828,"column":32,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":3828,"endColumn":33,"fix":{"range":[142119,142119],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3829,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3829,"endColumn":30,"fix":{"range":[142148,142169],"text":"this\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3830,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3830,"endColumn":44,"fix":{"range":[142192,142213],"text":"true\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3831,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3831,"endColumn":30,"fix":{"range":[142219,142227],"text":"'before'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3831,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3831,"endColumn":39,"fix":{"range":[142229,142236],"text":"'setup'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3832,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3832,"endColumn":46,"fix":{"range":[142283,142314],"text":"control\n addClasses"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3833,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3833,"endColumn":61,"fix":{"range":[142336,142352],"text":"'dropdown-input'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3833,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3833,"endColumn":63,"fix":{"range":[142352,142372],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3834,"column":69,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3834,"endColumn":70,"fix":{"range":[142422,142441],"text":")\n div2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3835,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3835,"endColumn":46,"fix":{"range":[142468,142488],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3836,"column":73,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3836,"endColumn":74,"fix":{"range":[142542,142562],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3837,"column":92,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3837,"endColumn":93,"fix":{"range":[142635,142661],"text":")\n placeholder"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3838,"column":69,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3838,"endColumn":71,"fix":{"range":[142706,142708],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3838,"column":71,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3838,"endColumn":72,"fix":{"range":[142706,142727],"text":"\"\"\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3839,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3839,"endColumn":47,"fix":{"range":[142754,142768],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3840,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3840,"endColumn":14,"fix":{"range":[142768,142786],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3841,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3841,"endColumn":32,"fix":{"range":[142790,142802],"text":"'initialize'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3842,"column":50,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3842,"endColumn":59,"fix":{"range":[142861,142870],"text":"'keydown'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3846,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3846,"endColumn":47,"fix":{"range":[143032,143060],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3847,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3847,"endColumn":35,"fix":{"range":[143067,143089],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3849,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3849,"endColumn":44,"fix":{"range":[143131,143158],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3850,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3850,"endColumn":26,"fix":{"range":[143152,143180],"text":"return\n case"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3852,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3852,"endColumn":50,"fix":{"range":[143237,143263],"text":"1\n break"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3853,"column":24,"nodeType":"BreakStatement","messageId":"extraSemi","endLine":3853,"endColumn":25,"fix":{"range":[143258,143280],"text":"break\n }"}},{"ruleId":"no-useless-call","severity":2,"message":"Unnecessary '.call()'.","line":3855,"column":22,"nodeType":"CallExpression","messageId":"unnecessaryCall","endLine":3855,"endColumn":54},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3855,"column":54,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3855,"endColumn":55,"fix":{"range":[143333,143349],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3856,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3856,"endColumn":16,"fix":{"range":[143349,143369],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3857,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3857,"endColumn":28,"fix":{"range":[143373,143379],"text":"'blur'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3858,"column":81,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3858,"endColumn":82,"fix":{"range":[143461,143484],"text":"tabIndex\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3859,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3859,"endColumn":16,"fix":{"range":[143484,143504],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3860,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3860,"endColumn":37,"fix":{"range":[143508,143523],"text":"'dropdown_open'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3861,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3861,"endColumn":43,"fix":{"range":[143573,143589],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3862,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3862,"endColumn":16,"fix":{"range":[143589,143609],"text":")\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_onBlur' is not in camel case.","line":3863,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3863,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3863,"column":45,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3863,"endColumn":46,"fix":{"range":[143630,143655],"text":"onBlur\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3864,"column":24,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3864,"endColumn":33,"fix":{"range":[143661,143670],"text":"'instead'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3864,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3864,"endColumn":43,"fix":{"range":[143672,143680],"text":"'onBlur'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":3865,"column":44,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":3865,"endColumn":46},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3866,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3866,"endColumn":24,"fix":{"range":[143776,143783],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3866,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3866,"endColumn":24,"fix":{"range":[143776,143804],"text":"return\n return"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_onBlur' is not in camel case.","line":3867,"column":22,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3867,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3867,"column":45,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3867,"endColumn":46,"fix":{"range":[143827,143843],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3868,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3868,"endColumn":16,"fix":{"range":[143843,143866],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3869,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3869,"endColumn":49,"fix":{"range":[143888,143894],"text":"'blur'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3869,"column":72,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3869,"endColumn":73,"fix":{"range":[143916,143936],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3870,"column":24,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3870,"endColumn":32,"fix":{"range":[143942,143950],"text":"'before'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3870,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3870,"endColumn":41,"fix":{"range":[143952,143959],"text":"'close'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3872,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3872,"endColumn":24,"fix":{"range":[144018,144025],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3872,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3872,"endColumn":24,"fix":{"range":[144018,144045],"text":"return\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3875,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3875,"endColumn":18,"fix":{"range":[144116,144132],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3876,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3876,"endColumn":16,"fix":{"range":[144132,144146],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3877,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3877,"endColumn":14,"fix":{"range":[144146,144158],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'input_autogrow' is not in camel case.","line":3879,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3879,"endColumn":32},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3879,"column":32,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":3879,"endColumn":33,"fix":{"range":[144190,144190],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3880,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3880,"endColumn":28,"fix":{"range":[144205,144208],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3880,"column":27,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3880,"endColumn":28,"fix":{"range":[144217,144238],"text":"this\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3881,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3881,"endColumn":32,"fix":{"range":[144242,144254],"text":"'initialize'"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3882,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3882,"endColumn":61,"fix":{"range":[144276,144279],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'test_input' is not in camel case.","line":3882,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3882,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3882,"column":53,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3882,"endColumn":59,"fix":{"range":[144316,144322],"text":"'span'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3882,"column":60,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3882,"endColumn":61,"fix":{"range":[144322,144340],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3883,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3883,"endColumn":47,"fix":{"range":[144337,144340],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3883,"column":46,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3883,"endColumn":47,"fix":{"range":[144357,144394],"text":"control_input\n test_input"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'test_input' is not in camel case.","line":3884,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3884,"endColumn":23},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3884,"column":40,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3884,"endColumn":130,"fix":{"range":[144411,144501],"text":"'position:absolute; top:-99999px; left:-99999px; width:auto; padding:0; white-space:pre; '"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3884,"column":130,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3884,"endColumn":131,"fix":{"range":[144411,144520],"text":"\"position:absolute; top:-99999px; left:-99999px; width:auto; padding:0; white-space:pre; \"\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3885,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3885,"endColumn":51,"fix":{"range":[144551,144569],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3886,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3886,"endColumn":110,"fix":{"range":[144566,144569],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'transfer_styles' is not in camel case.","line":3886,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3886,"endColumn":32},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3886,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3886,"endColumn":51,"fix":{"range":[144589,144604],"text":"'letterSpacing'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3886,"column":53,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3886,"endColumn":63,"fix":{"range":[144606,144616],"text":"'fontSize'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3886,"column":65,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3886,"endColumn":77,"fix":{"range":[144618,144630],"text":"'fontFamily'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3886,"column":79,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3886,"endColumn":91,"fix":{"range":[144632,144644],"text":"'fontWeight'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3886,"column":93,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3886,"endColumn":108,"fix":{"range":[144646,144661],"text":"'textTransform'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3886,"column":109,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3886,"endColumn":110,"fix":{"range":[144661,144679],"text":"]\n for"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'style_name' is not in camel case.","line":3887,"column":24,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3887,"endColumn":34},{"ruleId":"camelcase","severity":2,"message":"Identifier 'transfer_styles' is not in camel case.","line":3887,"column":38,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3887,"endColumn":53},{"ruleId":"camelcase","severity":2,"message":"Identifier 'test_input' is not in camel case.","line":3888,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3888,"endColumn":25},{"ruleId":"camelcase","severity":2,"message":"Identifier 'style_name' is not in camel case.","line":3888,"column":32,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3888,"endColumn":42},{"ruleId":"camelcase","severity":2,"message":"Identifier 'style_name' is not in camel case.","line":3888,"column":60,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3888,"endColumn":70},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3888,"column":71,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3888,"endColumn":72,"fix":{"range":[144789,144805],"text":"]\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3890,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3893,"endColumn":15,"fix":{"range":[144818,144821],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'test_input' is not in camel case.","line":3891,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3891,"endColumn":25},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3891,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3891,"endColumn":54,"fix":{"range":[144886,144914],"text":"value\n control"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'test_input' is not in camel case.","line":3892,"column":37,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3892,"endColumn":47},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3892,"column":62,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3892,"endColumn":66,"fix":{"range":[144954,144958],"text":"'px'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3892,"column":66,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3892,"endColumn":67,"fix":{"range":[144954,144973],"text":"\"px\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3893,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3893,"endColumn":15,"fix":{"range":[144972,144993],"text":"}\n resize"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3894,"column":21,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3894,"endColumn":22,"fix":{"range":[144994,145014],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3895,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3895,"endColumn":51,"fix":{"range":[145018,145047],"text":"'update item_add item_remove'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3895,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3895,"endColumn":61,"fix":{"range":[145055,145078],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3896,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3896,"endColumn":38,"fix":{"range":[145088,145095],"text":"'input'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3896,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3896,"endColumn":48,"fix":{"range":[145103,145126],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3897,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3897,"endColumn":38,"fix":{"range":[145136,145143],"text":"'keyup'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3897,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3897,"endColumn":48,"fix":{"range":[145151,145174],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3898,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3898,"endColumn":37,"fix":{"range":[145184,145190],"text":"'blur'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3898,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3898,"endColumn":47,"fix":{"range":[145198,145221],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3899,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3899,"endColumn":39,"fix":{"range":[145231,145239],"text":"'update'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3899,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3899,"endColumn":49,"fix":{"range":[145247,145261],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3900,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3900,"endColumn":14,"fix":{"range":[145261,145273],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'no_backspace_delete' is not in camel case.","line":3902,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3902,"endColumn":37},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3902,"column":37,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":3902,"endColumn":38,"fix":{"range":[145310,145310],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3903,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3903,"endColumn":28,"fix":{"range":[145325,145328],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3903,"column":27,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3903,"endColumn":28,"fix":{"range":[145337,145356],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3904,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3904,"endColumn":60,"fix":{"range":[145353,145356],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_deleteSelection' is not in camel case.","line":3904,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3904,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3904,"column":59,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3904,"endColumn":60,"fix":{"range":[145386,145417],"text":"deleteSelection\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3905,"column":21,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3905,"endColumn":30,"fix":{"range":[145423,145432],"text":"'instead'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3905,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3905,"endColumn":49,"fix":{"range":[145434,145451],"text":"'deleteSelection'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_deleteSelection' is not in camel case.","line":3907,"column":22,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3907,"endColumn":42},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3907,"column":59,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3907,"endColumn":60,"fix":{"range":[145565,145581],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3909,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3909,"endColumn":26,"fix":{"range":[145601,145619],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3910,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3910,"endColumn":14,"fix":{"range":[145619,145631],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'no_active_items' is not in camel case.","line":3912,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3912,"endColumn":33},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3912,"column":33,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":3912,"endColumn":34,"fix":{"range":[145664,145664],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3913,"column":21,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3913,"endColumn":30,"fix":{"range":[145689,145698],"text":"'instead'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3913,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3913,"endColumn":47,"fix":{"range":[145700,145715],"text":"'setActiveItem'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3914,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3914,"endColumn":14,"fix":{"range":[145736,145753],"text":")\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3915,"column":21,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3915,"endColumn":30,"fix":{"range":[145759,145768],"text":"'instead'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3915,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3915,"endColumn":43,"fix":{"range":[145770,145781],"text":"'selectAll'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3916,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3916,"endColumn":14,"fix":{"range":[145802,145814],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'optgroup_columns' is not in camel case.","line":3918,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3918,"endColumn":34},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3918,"column":34,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":3918,"endColumn":35,"fix":{"range":[145848,145848],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3919,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3919,"endColumn":28,"fix":{"range":[145863,145866],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3919,"column":27,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3919,"endColumn":28,"fix":{"range":[145875,145894],"text":"this\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3920,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3920,"endColumn":46,"fix":{"range":[145891,145894],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_keydown' is not in camel case.","line":3920,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3920,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3920,"column":45,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3920,"endColumn":46,"fix":{"range":[145916,145942],"text":"onKeyDown\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3921,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3921,"endColumn":31,"fix":{"range":[145948,145957],"text":"'instead'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3921,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3921,"endColumn":44,"fix":{"range":[145959,145970],"text":"'onKeyDown'"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3922,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3922,"endColumn":51,"fix":{"range":[145995,145998],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3922,"column":50,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3922,"endColumn":51,"fix":{"range":[146024,146048],"text":"optgroup\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_keydown' is not in camel case.","line":3924,"column":22,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3924,"endColumn":34},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3924,"column":51,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3924,"endColumn":52,"fix":{"range":[146176,146192],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3926,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3926,"endColumn":38,"fix":{"range":[146225,146251],"text":"true\n optgroup"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3927,"column":56,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3927,"endColumn":70,"fix":{"range":[146286,146300],"text":"'[data-group]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3927,"column":71,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3927,"endColumn":72,"fix":{"range":[146300,146320],"text":")\n index"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3928,"column":51,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3928,"endColumn":70,"fix":{"range":[146353,146372],"text":"'[data-selectable]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3928,"column":71,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3928,"endColumn":72,"fix":{"range":[146372,146389],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3930,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3930,"endColumn":22,"fix":{"range":[146418,146439],"text":"return\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3933,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3933,"endColumn":51,"fix":{"range":[146518,146548],"text":"previousSibling\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3935,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3935,"endColumn":47,"fix":{"range":[146590,146616],"text":"nextSibling\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3938,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3938,"endColumn":22,"fix":{"range":[146660,146681],"text":"return\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3940,"column":50,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3940,"endColumn":69,"fix":{"range":[146731,146750],"text":"'[data-selectable]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3940,"column":70,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3940,"endColumn":71,"fix":{"range":[146750,146771],"text":")\n option"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3941,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3941,"endColumn":69,"fix":{"range":[146819,146836],"text":"]\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3943,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3943,"endColumn":45,"fix":{"range":[146890,146906],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3945,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3945,"endColumn":14,"fix":{"range":[146918,146930],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'remove_button' is not in camel case.","line":3947,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3947,"endColumn":31},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3947,"column":31,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":3947,"endColumn":32,"fix":{"range":[146961,146961],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3949,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3949,"endColumn":29,"fix":{"range":[147039,147048],"text":"'×'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3950,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3950,"endColumn":28,"fix":{"range":[147069,147077],"text":"'Remove'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3951,"column":24,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3951,"endColumn":32,"fix":{"range":[147102,147110],"text":"'remove'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3953,"column":26,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3953,"endColumn":27,"fix":{"range":[147161,147177],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3954,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3954,"endColumn":28,"fix":{"range":[147174,147177],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3954,"column":27,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3954,"endColumn":28,"fix":{"range":[147186,147204],"text":"this\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3956,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3956,"endColumn":20,"fix":{"range":[147238,147257],"text":"return\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3958,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3958,"endColumn":173,"fix":{"range":[147268,147271],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3958,"column":166,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3958,"endColumn":172,"fix":{"range":[147423,147429],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3958,"column":172,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3958,"endColumn":173,"fix":{"range":[147423,147446],"text":"\"\"\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3959,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3959,"endColumn":29,"fix":{"range":[147452,147459],"text":"'after'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3959,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3959,"endColumn":47,"fix":{"range":[147461,147477],"text":"'setupTemplates'"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3960,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3960,"endColumn":63,"fix":{"range":[147499,147502],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_render_item' is not in camel case.","line":3960,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3960,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3960,"column":62,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3960,"endColumn":63,"fix":{"range":[147544,147567],"text":"item\n self2"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3962,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3962,"endColumn":77,"fix":{"range":[147625,147628],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_render_item' is not in camel case.","line":3962,"column":33,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3962,"endColumn":49},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3962,"column":76,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3962,"endColumn":77,"fix":{"range":[147685,147705],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3963,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3963,"endColumn":47,"fix":{"range":[147702,147705],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'close_button' is not in camel case.","line":3963,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3963,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3963,"column":46,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3963,"endColumn":47,"fix":{"range":[147732,147753],"text":")\n item"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3964,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3964,"endColumn":46,"fix":{"range":[147778,147803],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3965,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3965,"endColumn":49,"fix":{"range":[147818,147829],"text":"'mousedown'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3966,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3966,"endColumn":43,"fix":{"range":[147882,147900],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3967,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3967,"endColumn":18,"fix":{"range":[147900,147925],"text":")\n addEvent"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3968,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3968,"endColumn":45,"fix":{"range":[147940,147947],"text":"'click'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3969,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3969,"endColumn":43,"fix":{"range":[148000,148021],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3971,"column":19,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3971,"endColumn":26,"fix":{"range":[148057,148064],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3971,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3971,"endColumn":26,"fix":{"range":[148057,148083],"text":"return\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":3973,"column":19,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":3973,"endColumn":26,"fix":{"range":[148137,148144],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3973,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3973,"endColumn":26,"fix":{"range":[148137,148166],"text":"return\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3974,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3974,"endColumn":40,"fix":{"range":[148182,148206],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3975,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3975,"endColumn":45,"fix":{"range":[148227,148251],"text":")\n self2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3976,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3976,"endColumn":36,"fix":{"range":[148263,148281],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3977,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3977,"endColumn":18,"fix":{"range":[148281,148304],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3978,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3978,"endColumn":27,"fix":{"range":[148305,148324],"text":"item\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3979,"column":14,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3979,"endColumn":15,"fix":{"range":[148323,148337],"text":"}\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3980,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3980,"endColumn":14,"fix":{"range":[148337,148349],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'restore_on_backspace' is not in camel case.","line":3982,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":3982,"endColumn":38},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3982,"column":38,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":3982,"endColumn":39,"fix":{"range":[148387,148387],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3983,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3983,"endColumn":30,"fix":{"range":[148427,148448],"text":"this\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3986,"column":55,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3986,"endColumn":56,"fix":{"range":[148561,148577],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3988,"column":26,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3988,"endColumn":27,"fix":{"range":[148602,148620],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3989,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3989,"endColumn":33,"fix":{"range":[148624,148637],"text":"'item_remove'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":3989,"column":43,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":3989,"endColumn":44,"fix":{"range":[148647,148647],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3991,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":3991,"endColumn":22,"fix":{"range":[148707,148728],"text":"return\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":3993,"column":54,"nodeType":"Literal","messageId":"wrongQuotes","endLine":3993,"endColumn":56,"fix":{"range":[148782,148784],"text":"''"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":3994,"column":15,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":3994,"endColumn":49,"fix":{"range":[148802,148805],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3994,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":3994,"endColumn":49,"fix":{"range":[148834,148853],"text":"]\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3996,"column":73,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3996,"endColumn":74,"fix":{"range":[148936,148954],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":3999,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":3999,"endColumn":14,"fix":{"range":[148980,148992],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'virtual_scroll' is not in camel case.","line":4001,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4001,"endColumn":32},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4001,"column":32,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4001,"endColumn":33,"fix":{"range":[149024,149024],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4002,"column":29,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4002,"endColumn":30,"fix":{"range":[149053,149074],"text":"this\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_canLoad' is not in camel case.","line":4003,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4003,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4003,"column":45,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4003,"endColumn":46,"fix":{"range":[149096,149120],"text":"canLoad\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_clearActiveOption' is not in camel case.","line":4004,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4004,"endColumn":39},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4004,"column":65,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4004,"endColumn":66,"fix":{"range":[149152,149186],"text":"clearActiveOption\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_loadCallback' is not in camel case.","line":4005,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4005,"endColumn":34},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4005,"column":55,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4005,"endColumn":56,"fix":{"range":[149213,149240],"text":"loadCallback\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4006,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4006,"endColumn":31,"fix":{"range":[149237,149240],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4006,"column":30,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4006,"endColumn":31,"fix":{"range":[149255,149271],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4007,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4007,"endColumn":32,"fix":{"range":[149268,149271],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_content' is not in camel case.","line":4007,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4007,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4007,"column":31,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4007,"endColumn":32,"fix":{"range":[149272,149303],"text":"dropdown_content\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4008,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4008,"endColumn":36,"fix":{"range":[149300,149303],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'loading_more' is not in camel case.","line":4008,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4008,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4008,"column":35,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4008,"endColumn":36,"fix":{"range":[149319,149339],"text":"false\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4009,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4009,"endColumn":29,"fix":{"range":[149336,149339],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'load_more_opt' is not in camel case.","line":4009,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4009,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4009,"column":28,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4009,"endColumn":29,"fix":{"range":[149340,149368],"text":"load_more_opt\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4010,"column":11,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4010,"endColumn":35,"fix":{"range":[149365,149368],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'default_values' is not in camel case.","line":4010,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4010,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4010,"column":34,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4010,"endColumn":35,"fix":{"range":[149387,149402],"text":"]\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'scroll_percent' is not in camel case.","line":4013,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4013,"endColumn":35},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_content' is not in camel case.","line":4013,"column":38,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4013,"endColumn":54},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_content' is not in camel case.","line":4013,"column":71,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4013,"endColumn":87},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_content' is not in camel case.","line":4013,"column":103,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4013,"endColumn":119},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4013,"column":130,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4013,"endColumn":131,"fix":{"range":[149618,149637],"text":")\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'scroll_percent' is not in camel case.","line":4014,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4014,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4015,"column":28,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4015,"endColumn":29,"fix":{"range":[149686,149707],"text":"true\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4018,"column":17,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4018,"endColumn":53,"fix":{"range":[149764,149767],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4018,"column":52,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4018,"endColumn":53,"fix":{"range":[149798,149820],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4019,"column":17,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4019,"endColumn":80,"fix":{"range":[149817,149820],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4019,"column":79,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4019,"endColumn":80,"fix":{"range":[149878,149899],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4021,"column":30,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4021,"endColumn":31,"fix":{"range":[149960,149983],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4024,"column":27,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4024,"endColumn":28,"fix":{"range":[150021,150041],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4025,"column":14,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4025,"endColumn":15,"fix":{"range":[150040,150054],"text":"}\n }"}},{"ruleId":"no-throw-literal","severity":2,"message":"Expected an error object to be thrown.","line":4028,"column":13,"nodeType":"ThrowStatement","messageId":"object","endLine":4028,"endColumn":72},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4028,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4028,"endColumn":71,"fix":{"range":[150115,150167],"text":"'virtual_scroll plugin requires a firstUrl() method'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4028,"column":71,"nodeType":"ThrowStatement","messageId":"extraSemi","endLine":4028,"endColumn":72,"fix":{"range":[150115,150180],"text":"\"virtual_scroll plugin requires a firstUrl() method\"\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4031,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4031,"endColumn":28,"fix":{"range":[150240,150248],"text":"'$order'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4033,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4033,"endColumn":28,"fix":{"range":[150283,150291],"text":"'$score'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4034,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4034,"endColumn":14,"fix":{"range":[150303,150321],"text":"]\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4036,"column":54,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4036,"endColumn":62,"fix":{"range":[150402,150410],"text":"'number'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_content' is not in camel case.","line":4036,"column":66,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4036,"endColumn":82},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4037,"column":27,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4037,"endColumn":28,"fix":{"range":[150500,150520],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4040,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4040,"endColumn":27,"fix":{"range":[150602,150621],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4042,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4042,"endColumn":26,"fix":{"range":[150641,150659],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4043,"column":12,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4043,"endColumn":13,"fix":{"range":[150658,150676],"text":"}\n const"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'default_values' is not in camel case.","line":4045,"column":52,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4045,"endColumn":66},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4046,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4046,"endColumn":27,"fix":{"range":[150822,150841],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4048,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4048,"endColumn":26,"fix":{"range":[150861,150879],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4049,"column":12,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4049,"endColumn":13,"fix":{"range":[150878,150896],"text":"}\n self2"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'next_url' is not in camel case.","line":4050,"column":38,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4050,"endColumn":46},{"ruleId":"camelcase","severity":2,"message":"Identifier 'next_url' is not in camel case.","line":4051,"column":33,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4051,"endColumn":41},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4051,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4051,"endColumn":42,"fix":{"range":[150965,150986],"text":"next_url\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4052,"column":12,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4052,"endColumn":13,"fix":{"range":[150985,151003],"text":"}\n self2"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'next_url' is not in camel case.","line":4055,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4055,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4055,"column":49,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4055,"endColumn":50,"fix":{"range":[151112,151139],"text":"]\n pagination"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4056,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4056,"endColumn":41,"fix":{"range":[151149,151176],"text":"false\n return"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'next_url' is not in camel case.","line":4057,"column":22,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4057,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4057,"column":30,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4057,"endColumn":31,"fix":{"range":[151177,151200],"text":"next_url\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4059,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4059,"endColumn":29,"fix":{"range":[151227,151248],"text":"}\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4060,"column":62,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4060,"endColumn":63,"fix":{"range":[151290,151304],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4061,"column":12,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4061,"endColumn":13,"fix":{"range":[151303,151321],"text":"}\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4062,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4062,"endColumn":31,"fix":{"range":[151327,151336],"text":"'instead'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4062,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4062,"endColumn":52,"fix":{"range":[151338,151357],"text":"'clearActiveOption'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'loading_more' is not in camel case.","line":4063,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4063,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4064,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4064,"endColumn":22,"fix":{"range":[151413,151434],"text":"return\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_clearActiveOption' is not in camel case.","line":4066,"column":20,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4066,"endColumn":42},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4066,"column":54,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4066,"endColumn":55,"fix":{"range":[151487,151501],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4067,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4067,"endColumn":14,"fix":{"range":[151501,151519],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4068,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4068,"endColumn":31,"fix":{"range":[151525,151534],"text":"'instead'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4068,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4068,"endColumn":42,"fix":{"range":[151536,151545],"text":"'canLoad'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_canLoad' is not in camel case.","line":4070,"column":22,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4070,"endColumn":34},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4070,"column":53,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4070,"endColumn":54,"fix":{"range":[151653,151669],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4072,"column":38,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4072,"endColumn":39,"fix":{"range":[151706,151720],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4073,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4073,"endColumn":14,"fix":{"range":[151720,151738],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4074,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4074,"endColumn":31,"fix":{"range":[151744,151753],"text":"'instead'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4074,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4074,"endColumn":47,"fix":{"range":[151755,151769],"text":"'loadCallback'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'loading_more' is not in camel case.","line":4075,"column":18,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4075,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4076,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4076,"endColumn":47,"fix":{"range":[151875,151891],"text":")\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'load_more_opt' is not in camel case.","line":4077,"column":24,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4077,"endColumn":37},{"ruleId":"camelcase","severity":2,"message":"Identifier 'first_option' is not in camel case.","line":4078,"column":21,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4078,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4078,"column":47,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4078,"endColumn":48,"fix":{"range":[151963,151982],"text":"]\n if"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'first_option' is not in camel case.","line":4079,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4079,"endColumn":31},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4079,"column":36,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4079,"endColumn":42},{"ruleId":"camelcase","severity":2,"message":"Identifier 'load_more_opt' is not in camel case.","line":4080,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4080,"endColumn":30},{"ruleId":"camelcase","severity":2,"message":"Identifier 'first_option' is not in camel case.","line":4080,"column":47,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4080,"endColumn":59},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4080,"column":86,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4080,"endColumn":87,"fix":{"range":[152095,152113],"text":"]\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'orig_loadCallback' is not in camel case.","line":4083,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4083,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4083,"column":63,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4083,"endColumn":64,"fix":{"range":[152189,152216],"text":")\n loading_more"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'loading_more' is not in camel case.","line":4084,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4084,"endColumn":25},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4084,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4084,"endColumn":34,"fix":{"range":[152219,152237],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4085,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4085,"endColumn":14,"fix":{"range":[152237,152255],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4086,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4086,"endColumn":29,"fix":{"range":[152261,152268],"text":"'after'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4086,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4086,"endColumn":47,"fix":{"range":[152270,152286],"text":"'refreshOptions'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4087,"column":42,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4087,"endColumn":43,"fix":{"range":[152328,152354],"text":"lastValue\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4088,"column":13,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4088,"endColumn":24,"fix":{"range":[152351,152354],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4088,"column":23,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4088,"endColumn":24,"fix":{"range":[152355,152377],"text":"option\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4090,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4090,"endColumn":51,"fix":{"range":[152437,152451],"text":"'loading_more'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4092,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4092,"endColumn":18,"fix":{"range":[152492,152511],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4094,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4094,"endColumn":54,"fix":{"range":[152559,152576],"text":"'data-selectable'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4094,"column":56,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4094,"endColumn":58,"fix":{"range":[152578,152580],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4094,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4094,"endColumn":60,"fix":{"range":[152580,152612],"text":")\n load_more_opt"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'load_more_opt' is not in camel case.","line":4095,"column":17,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4095,"endColumn":30},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4095,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4095,"endColumn":40,"fix":{"range":[152615,152638],"text":"option\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_content' is not in camel case.","line":4097,"column":48,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4097,"endColumn":64},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4097,"column":79,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4097,"endColumn":92,"fix":{"range":[152717,152730],"text":"'.no-results'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4098,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4098,"endColumn":54,"fix":{"range":[152771,152788],"text":"'no_more_results'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4100,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4100,"endColumn":18,"fix":{"range":[152829,152845],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4103,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4103,"endColumn":62,"fix":{"range":[152931,152964],"text":")\n dropdown_content"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_content' is not in camel case.","line":4104,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4104,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4104,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4104,"endColumn":47,"fix":{"range":[152978,152994],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4106,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4106,"endColumn":14,"fix":{"range":[153006,153024],"text":")\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4107,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4107,"endColumn":32,"fix":{"range":[153028,153040],"text":"'initialize'"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'default_values' is not in camel case.","line":4108,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4108,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4108,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4108,"endColumn":57,"fix":{"range":[153104,153135],"text":")\n dropdown_content"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_content' is not in camel case.","line":4109,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4109,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4109,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4109,"endColumn":55,"fix":{"range":[153144,153179],"text":"dropdown_content\n self2"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4112,"column":24,"nodeType":"TemplateLiteral","messageId":"wrongQuotes","endLine":4112,"endColumn":91,"fix":{"range":[153277,153344],"text":"'
    Loading more results ...
    '"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4112,"column":91,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4112,"endColumn":92,"fix":{"range":[153277,153361],"text":"`
    Loading more results ...
    `\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4115,"column":24,"nodeType":"TemplateLiteral","messageId":"wrongQuotes","endLine":4115,"endColumn":76,"fix":{"range":[153425,153477],"text":"'
    No more results
    '"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4115,"column":76,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4115,"endColumn":77,"fix":{"range":[153425,153494],"text":"`
    No more results
    `\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4117,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4117,"endColumn":39,"fix":{"range":[153531,153562],"text":")\n dropdown_content"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'dropdown_content' is not in camel case.","line":4118,"column":13,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4118,"endColumn":29},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4118,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4118,"endColumn":55,"fix":{"range":[153580,153588],"text":"'scroll'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4120,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4120,"endColumn":24,"fix":{"range":[153678,153701],"text":"return\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4123,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4123,"endColumn":24,"fix":{"range":[153769,153792],"text":"return\n }"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'loading_more' is not in camel case.","line":4125,"column":19,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4125,"endColumn":31},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":4126,"column":17,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":4126,"endColumn":24,"fix":{"range":[153841,153848],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4126,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4126,"endColumn":24,"fix":{"range":[153841,153875],"text":"return\n loading_more"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'loading_more' is not in camel case.","line":4127,"column":15,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4127,"endColumn":27},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4127,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4127,"endColumn":35,"fix":{"range":[153878,153903],"text":"true\n self2"}},{"ruleId":"no-useless-call","severity":2,"message":"Unnecessary '.call()'.","line":4128,"column":15,"nodeType":"CallExpression","messageId":"unnecessaryCall","endLine":4128,"endColumn":54},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4128,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4128,"endColumn":55,"fix":{"range":[153936,153952],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4129,"column":15,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4129,"endColumn":16,"fix":{"range":[153952,153966],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4130,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4130,"endColumn":14,"fix":{"range":[153966,153978],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4132,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4132,"endColumn":44,"fix":{"range":[154005,154022],"text":"'change_listener'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4132,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4132,"endColumn":63,"fix":{"range":[154039,154060],"text":")\n TomSelect3"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4133,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4133,"endColumn":45,"fix":{"range":[154068,154086],"text":"'checkbox_options'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4133,"column":64,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4133,"endColumn":65,"fix":{"range":[154104,154125],"text":")\n TomSelect3"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4134,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4134,"endColumn":41,"fix":{"range":[154133,154147],"text":"'clear_button'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4134,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4134,"endColumn":57,"fix":{"range":[154161,154182],"text":")\n TomSelect3"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4135,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4135,"endColumn":38,"fix":{"range":[154190,154201],"text":"'drag_drop'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4135,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4135,"endColumn":51,"fix":{"range":[154212,154233],"text":")\n TomSelect3"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4136,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4136,"endColumn":44,"fix":{"range":[154241,154258],"text":"'dropdown_header'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4136,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4136,"endColumn":63,"fix":{"range":[154275,154296],"text":")\n TomSelect3"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4137,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4137,"endColumn":43,"fix":{"range":[154304,154320],"text":"'caret_position'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4137,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4137,"endColumn":61,"fix":{"range":[154336,154357],"text":")\n TomSelect3"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4138,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4138,"endColumn":43,"fix":{"range":[154365,154381],"text":"'dropdown_input'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4138,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4138,"endColumn":61,"fix":{"range":[154397,154418],"text":")\n TomSelect3"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4139,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4139,"endColumn":43,"fix":{"range":[154426,154442],"text":"'input_autogrow'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4139,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4139,"endColumn":61,"fix":{"range":[154458,154479],"text":")\n TomSelect3"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4140,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4140,"endColumn":48,"fix":{"range":[154487,154508],"text":"'no_backspace_delete'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4140,"column":70,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4140,"endColumn":71,"fix":{"range":[154529,154550],"text":")\n TomSelect3"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4141,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4141,"endColumn":44,"fix":{"range":[154558,154575],"text":"'no_active_items'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4141,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4141,"endColumn":63,"fix":{"range":[154592,154613],"text":")\n TomSelect3"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4142,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4142,"endColumn":45,"fix":{"range":[154621,154639],"text":"'optgroup_columns'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4142,"column":64,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4142,"endColumn":65,"fix":{"range":[154657,154678],"text":")\n TomSelect3"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4143,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4143,"endColumn":42,"fix":{"range":[154686,154701],"text":"'remove_button'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4143,"column":58,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4143,"endColumn":59,"fix":{"range":[154716,154737],"text":")\n TomSelect3"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4144,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4144,"endColumn":49,"fix":{"range":[154745,154767],"text":"'restore_on_backspace'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4144,"column":72,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4144,"endColumn":73,"fix":{"range":[154789,154810],"text":")\n TomSelect3"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4145,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4145,"endColumn":43,"fix":{"range":[154818,154834],"text":"'virtual_scroll'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4145,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4145,"endColumn":61,"fix":{"range":[154850,154867],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4146,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4146,"endColumn":27,"fix":{"range":[154868,154887],"text":"TomSelect3\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4147,"column":9,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4147,"endColumn":10,"fix":{"range":[154887,154895],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4149,"column":5,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4149,"endColumn":6,"fix":{"range":[154899,154967],"text":")\n\n // node_modules/@hotwired/turbo/dist/turbo.es2017-esm.js\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4152,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4152,"endColumn":37,"fix":{"range":[154964,154967],"text":"let"}},{"ruleId":"camelcase","severity":2,"message":"Identifier 'turbo_es2017_esm_exports' is not in camel case.","line":4152,"column":7,"nodeType":"Identifier","messageId":"notCamelCase","endLine":4152,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4152,"column":36,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4152,"endColumn":37,"fix":{"range":[154996,155009],"text":"}\n __export"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4176,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4176,"endColumn":13,"fix":{"range":[155896,155896],"text":" "}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4177,"column":28,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4177,"endColumn":34},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4177,"column":64,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4177,"endColumn":70},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4178,"column":13,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4178,"endColumn":14,"fix":{"range":[156031,156044],"text":"return\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4180,"column":43,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4180,"endColumn":44,"fix":{"range":[156076,156098],"text":"HTMLElement\n const"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4182,"column":41,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4182,"endColumn":42,"fix":{"range":[156161,156161],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4183,"column":75,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4183,"endColumn":76,"fix":{"range":[156239,156249],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4185,"column":6,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4185,"endColumn":7,"fix":{"range":[156254,156267],"text":"}\n window"}},{"ruleId":"dot-notation","severity":2,"message":"[\"HTMLElement\"] is better written in dot notation.","line":4186,"column":44,"nodeType":"Literal","messageId":"useDot","endLine":4186,"endColumn":57,"fix":{"range":[156299,156314],"text":".HTMLElement"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4186,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4186,"endColumn":57,"fix":{"range":[156300,156313],"text":"'HTMLElement'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4186,"column":58,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4186,"endColumn":59,"fix":{"range":[156313,156331],"text":"]\n HTMLElement"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4187,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4187,"endColumn":58,"fix":{"range":[156363,156389],"text":"prototype\n HTMLElement"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4188,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4188,"endColumn":53,"fix":{"range":[156414,156437],"text":"HTMLElement\n Object"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4189,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4189,"endColumn":60,"fix":{"range":[156484,156490],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4191,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4191,"endColumn":13,"fix":{"range":[156506,156506],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4192,"column":40,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4192,"endColumn":42,"fix":{"range":[156559,156561],"text":"==="}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4192,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4192,"endColumn":53,"fix":{"range":[156562,156572],"text":"'function'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":4193,"column":7,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":4193,"endColumn":14,"fix":{"range":[156580,156587],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4193,"column":13,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4193,"endColumn":14,"fix":{"range":[156580,156601],"text":"return\n prototype"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4194,"column":39,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4194,"endColumn":40,"fix":{"range":[156626,156626],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4196,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4196,"endColumn":44,"fix":{"range":[156704,156724],"text":")\n submitter"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4197,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4197,"endColumn":27,"fix":{"range":[156731,156741],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4199,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4199,"endColumn":51,"fix":{"range":[156792,156799],"text":"'input'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4199,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4199,"endColumn":53,"fix":{"range":[156799,156819],"text":")\n submitter"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4200,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4200,"endColumn":34,"fix":{"range":[156827,156835],"text":"'submit'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4200,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4200,"endColumn":35,"fix":{"range":[156827,156854],"text":"\"submit\"\n submitter"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4201,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4201,"endColumn":33,"fix":{"range":[156864,156882],"text":"true\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4202,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4202,"endColumn":37,"fix":{"range":[156904,156924],"text":")\n submitter"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4203,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4203,"endColumn":27,"fix":{"range":[156931,156946],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4204,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4204,"endColumn":37,"fix":{"range":[156968,156978],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4206,"column":6,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4206,"endColumn":7,"fix":{"range":[156983,156998],"text":"}\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4207,"column":31,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4207,"endColumn":32,"fix":{"range":[157016,157016],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4208,"column":103,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4208,"endColumn":104,"fix":{"range":[157137,157155],"text":")\n submitter"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4209,"column":22,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4209,"endColumn":24},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4209,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4209,"endColumn":33,"fix":{"range":[157164,157172],"text":"'submit'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4209,"column":54,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4209,"endColumn":100,"fix":{"range":[157193,157239],"text":"'The specified element is not a submit button'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4209,"column":101,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4209,"endColumn":102,"fix":{"range":[157239,157257],"text":")\n submitter"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4210,"column":22,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4210,"endColumn":24},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4210,"column":53,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4210,"endColumn":110,"fix":{"range":[157294,157351],"text":"'The specified element is not owned by this form element'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4210,"column":112,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4210,"endColumn":127,"fix":{"range":[157353,157368],"text":"'NotFoundError'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4210,"column":128,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4210,"endColumn":129,"fix":{"range":[157368,157376],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4212,"column":19,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4212,"endColumn":20,"fix":{"range":[157395,157395],"text":" "}},{"ruleId":"new-cap","severity":2,"message":"A constructor name should not start with a lowercase letter.","line":4213,"column":17,"nodeType":"NewExpression","messageId":"lower","endLine":4213,"endColumn":33},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4213,"column":105,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4213,"endColumn":108,"fix":{"range":[157535,157538],"text":"'.'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4213,"column":115,"nodeType":"ThrowStatement","messageId":"extraSemi","endLine":4213,"endColumn":116,"fix":{"range":[157544,157552],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4215,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4215,"endColumn":33,"fix":{"range":[157583,157591],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4216,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4216,"endColumn":56,"fix":{"range":[157588,157591],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4216,"column":55,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4216,"endColumn":56,"fix":{"range":[157639,157652],"text":")\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4217,"column":40,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4217,"endColumn":41,"fix":{"range":[157681,157681],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4218,"column":110,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4218,"endColumn":111,"fix":{"range":[157797,157812],"text":"null\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4219,"column":49,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4219,"endColumn":64,"fix":{"range":[157851,157866],"text":"'input, button'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4219,"column":72,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4219,"endColumn":73,"fix":{"range":[157870,157886],"text":"null\n return"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4220,"column":49,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4220,"endColumn":55},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4220,"column":58,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4220,"endColumn":64},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4220,"column":83,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4220,"endColumn":85},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4220,"column":86,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4220,"endColumn":94,"fix":{"range":[157961,157969],"text":"'submit'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4220,"column":113,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4220,"endColumn":114,"fix":{"range":[157984,157993],"text":"null\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4222,"column":25,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4222,"endColumn":26,"fix":{"range":[158018,158018],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4223,"column":65,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4223,"endColumn":66,"fix":{"range":[158091,158100],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4225,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4225,"endColumn":55,"fix":{"range":[158185,158193],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4228,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4228,"endColumn":13,"fix":{"range":[158209,158209],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4229,"column":9,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4229,"endColumn":20,"fix":{"range":[158222,158233],"text":"'submitter'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":4230,"column":7,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":4230,"endColumn":14,"fix":{"range":[158260,158267],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4230,"column":13,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4230,"endColumn":14,"fix":{"range":[158260,158275],"text":"return\n let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4231,"column":43,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4231,"endColumn":44,"fix":{"range":[158301,158318],"text":"prototype\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4232,"column":9,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4232,"endColumn":22,"fix":{"range":[158320,158333],"text":"'SubmitEvent'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4233,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4233,"endColumn":48,"fix":{"range":[158427,158443],"text":"prototype\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4234,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4234,"endColumn":29,"fix":{"range":[158453,158466],"text":"'SubmitEvent'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4235,"column":13,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4235,"endColumn":14,"fix":{"range":[158486,158499],"text":"return\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4237,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4237,"endColumn":29,"fix":{"range":[158521,158528],"text":"'click'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4237,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4237,"endColumn":52,"fix":{"range":[158549,158562],"text":")\n Object"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4238,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4238,"endColumn":49,"fix":{"range":[158589,158600],"text":"'submitter'"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4239,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4239,"endColumn":11,"fix":{"range":[158613,158613],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4240,"column":23,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4240,"endColumn":25},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4240,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4240,"endColumn":34,"fix":{"range":[158643,158651],"text":"'submit'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4241,"column":51,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4241,"endColumn":52,"fix":{"range":[158746,158758],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4244,"column":7,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4244,"endColumn":8,"fix":{"range":[158772,158778],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4245,"column":7,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4245,"endColumn":8,"fix":{"range":[158780,158788],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4246,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4246,"endColumn":25,"fix":{"range":[158785,158788],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4247,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4247,"endColumn":13,"fix":{"range":[158819,158819],"text":" "}},{"ruleId":"dot-notation","severity":2,"message":"[\"eager\"] is better written in dot notation.","line":4248,"column":24,"nodeType":"Literal","messageId":"useDot","endLine":4248,"endColumn":31,"fix":{"range":[158864,158873],"text":".eager"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4248,"column":24,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4248,"endColumn":31,"fix":{"range":[158865,158872],"text":"'eager'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4248,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4248,"endColumn":42,"fix":{"range":[158876,158883],"text":"'eager'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4248,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4248,"endColumn":43,"fix":{"range":[158876,158907],"text":"\"eager\"\n FrameLoadingStyle2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"lazy\"] is better written in dot notation.","line":4249,"column":24,"nodeType":"Literal","messageId":"useDot","endLine":4249,"endColumn":30,"fix":{"range":[158907,158915],"text":".lazy"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4249,"column":24,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4249,"endColumn":30,"fix":{"range":[158908,158914],"text":"'lazy'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4249,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4249,"endColumn":40,"fix":{"range":[158918,158924],"text":"'lazy'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4249,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4249,"endColumn":41,"fix":{"range":[158918,158929],"text":"\"lazy\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4250,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4250,"endColumn":53,"fix":{"range":[158976,158984],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4251,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4330,"endColumn":5},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4252,"column":34,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4252,"endColumn":35,"fix":{"range":[159061,159061],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4253,"column":15,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4253,"endColumn":25,"fix":{"range":[159080,159090],"text":"'disabled'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4253,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4253,"endColumn":37,"fix":{"range":[159092,159102],"text":"'complete'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4253,"column":39,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4253,"endColumn":48,"fix":{"range":[159104,159113],"text":"'loading'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4253,"column":50,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4253,"endColumn":55,"fix":{"range":[159115,159120],"text":"'src'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4253,"column":56,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4253,"endColumn":57,"fix":{"range":[159120,159128],"text":"]\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4255,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4259,"endColumn":6,"fix":{"range":[159128,159128],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4255,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4255,"endColumn":17,"fix":{"range":[159144,159144],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4256,"column":14,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4256,"endColumn":15,"fix":{"range":[159161,159174],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4257,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4257,"endColumn":39,"fix":{"range":[159200,159213],"text":")\n this"}},{"ruleId":"new-cap","severity":2,"message":"A constructor name should not start with a lowercase letter.","line":4258,"column":40,"nodeType":"NewExpression","messageId":"lower","endLine":4258,"endColumn":59},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4258,"column":65,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4258,"endColumn":66,"fix":{"range":[159266,159274],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4260,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4262,"endColumn":6,"fix":{"range":[159274,159274],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4260,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4260,"endColumn":23,"fix":{"range":[159296,159296],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4261,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4261,"endColumn":31,"fix":{"range":[159329,159337],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4263,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4265,"endColumn":6,"fix":{"range":[159337,159337],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4263,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4263,"endColumn":26,"fix":{"range":[159362,159362],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4264,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4264,"endColumn":34,"fix":{"range":[159398,159406],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4266,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4268,"endColumn":6,"fix":{"range":[159406,159406],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4266,"column":11,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4266,"endColumn":12,"fix":{"range":[159417,159417],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4267,"column":47,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4267,"endColumn":48,"fix":{"range":[159467,159475],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4269,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4279,"endColumn":6,"fix":{"range":[159475,159475],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4269,"column":29,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4269,"endColumn":30,"fix":{"range":[159504,159504],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4270,"column":16,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4270,"endColumn":18},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4270,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4270,"endColumn":28,"fix":{"range":[159531,159540],"text":"'loading'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4271,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4271,"endColumn":45,"fix":{"range":[159586,159596],"text":")\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4272,"column":23,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4272,"endColumn":25},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4272,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4272,"endColumn":36,"fix":{"range":[159614,159624],"text":"'complete'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4273,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4273,"endColumn":41,"fix":{"range":[159666,159676],"text":")\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4274,"column":23,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4274,"endColumn":25},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4274,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4274,"endColumn":31,"fix":{"range":[159694,159699],"text":"'src'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4275,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4275,"endColumn":42,"fix":{"range":[159742,159752],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4277,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4277,"endColumn":41,"fix":{"range":[159798,159808],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4280,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4282,"endColumn":6,"fix":{"range":[159814,159814],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4280,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4280,"endColumn":13,"fix":{"range":[159826,159826],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4281,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4281,"endColumn":37,"fix":{"range":[159862,159867],"text":"'src'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4281,"column":38,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4281,"endColumn":39,"fix":{"range":[159867,159875],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4283,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4289,"endColumn":6,"fix":{"range":[159875,159875],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4283,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4283,"endColumn":13,"fix":{"range":[159887,159887],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4285,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4285,"endColumn":32,"fix":{"range":[159942,159947],"text":"'src'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4285,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4285,"endColumn":41,"fix":{"range":[159954,159964],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4287,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4287,"endColumn":35,"fix":{"range":[160001,160006],"text":"'src'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4287,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4287,"endColumn":37,"fix":{"range":[160006,160016],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4290,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4292,"endColumn":6,"fix":{"range":[160022,160022],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4290,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4290,"endColumn":17,"fix":{"range":[160038,160038],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4291,"column":60,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4291,"endColumn":69,"fix":{"range":[160102,160111],"text":"'loading'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4291,"column":74,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4291,"endColumn":76,"fix":{"range":[160116,160118],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4291,"column":77,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4291,"endColumn":78,"fix":{"range":[160118,160126],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4293,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4299,"endColumn":6,"fix":{"range":[160126,160126],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4293,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4293,"endColumn":17,"fix":{"range":[160142,160142],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4295,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4295,"endColumn":36,"fix":{"range":[160197,160206],"text":"'loading'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4295,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4295,"endColumn":45,"fix":{"range":[160213,160223],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4297,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4297,"endColumn":39,"fix":{"range":[160260,160269],"text":"'loading'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4297,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4297,"endColumn":41,"fix":{"range":[160269,160279],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4300,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4302,"endColumn":6,"fix":{"range":[160285,160285],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4300,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4300,"endColumn":18,"fix":{"range":[160302,160302],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4301,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4301,"endColumn":42,"fix":{"range":[160338,160348],"text":"'disabled'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4301,"column":43,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4301,"endColumn":44,"fix":{"range":[160348,160356],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4303,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4309,"endColumn":6,"fix":{"range":[160356,160356],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4303,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4303,"endColumn":18,"fix":{"range":[160373,160373],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4305,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4305,"endColumn":37,"fix":{"range":[160428,160438],"text":"'disabled'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4305,"column":39,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4305,"endColumn":41,"fix":{"range":[160440,160442],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4305,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4305,"endColumn":43,"fix":{"range":[160442,160452],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4307,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4307,"endColumn":40,"fix":{"range":[160489,160499],"text":"'disabled'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4307,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4307,"endColumn":42,"fix":{"range":[160499,160509],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4310,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4312,"endColumn":6,"fix":{"range":[160515,160515],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4310,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4310,"endColumn":20,"fix":{"range":[160534,160534],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4311,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4311,"endColumn":44,"fix":{"range":[160570,160582],"text":"'autoscroll'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4311,"column":45,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4311,"endColumn":46,"fix":{"range":[160582,160590],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4313,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4319,"endColumn":6,"fix":{"range":[160590,160590],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4313,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4313,"endColumn":20,"fix":{"range":[160609,160609],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4315,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4315,"endColumn":39,"fix":{"range":[160664,160676],"text":"'autoscroll'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4315,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4315,"endColumn":43,"fix":{"range":[160678,160680],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4315,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4315,"endColumn":45,"fix":{"range":[160680,160690],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4317,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4317,"endColumn":42,"fix":{"range":[160727,160739],"text":"'autoscroll'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4317,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4317,"endColumn":44,"fix":{"range":[160739,160749],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4320,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4322,"endColumn":6,"fix":{"range":[160755,160755],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4320,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4320,"endColumn":18,"fix":{"range":[160772,160772],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4321,"column":38,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4321,"endColumn":39,"fix":{"range":[160805,160821],"text":"isLoading\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4323,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4325,"endColumn":6,"fix":{"range":[160821,160821],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4323,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4323,"endColumn":18,"fix":{"range":[160838,160838],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4324,"column":64,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4324,"endColumn":65,"fix":{"range":[160897,160913],"text":"isPreview\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4326,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4329,"endColumn":6,"fix":{"range":[160913,160913],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4326,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4326,"endColumn":19,"fix":{"range":[160931,160931],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4327,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4327,"endColumn":20,"fix":{"range":[160942,160945],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4327,"column":19,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4327,"endColumn":20,"fix":{"range":[160951,160968],"text":"_b2\n return"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4328,"column":68,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4328,"endColumn":74},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4328,"column":77,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4328,"endColumn":83},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4328,"column":127,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4328,"endColumn":133},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4328,"column":136,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4328,"endColumn":142},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4328,"column":162,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4328,"endColumn":182,"fix":{"range":[161117,161137],"text":"'data-turbo-preview'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4328,"column":183,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4328,"endColumn":184,"fix":{"range":[161137,161145],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4330,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4330,"endColumn":5,"fix":{"range":[161148,161161],"text":"}\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4331,"column":39,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4331,"endColumn":40,"fix":{"range":[161189,161189],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4333,"column":12,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4333,"endColumn":18,"fix":{"range":[161245,161251],"text":"'lazy'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4334,"column":38,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4334,"endColumn":39,"fix":{"range":[161286,161305],"text":"lazy\n default"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4336,"column":39,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4336,"endColumn":40,"fix":{"range":[161340,161352],"text":"eager\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4339,"column":21,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4339,"endColumn":22,"fix":{"range":[161377,161377],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4340,"column":59,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4340,"endColumn":60,"fix":{"range":[161448,161454],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4342,"column":21,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4342,"endColumn":22,"fix":{"range":[161475,161475],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4343,"column":20,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4343,"endColumn":21,"fix":{"range":[161491,161510],"text":"anchorMatch\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4345,"column":31,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4345,"endColumn":32,"fix":{"range":[161553,161561],"text":")\n }"}},{"ruleId":"no-cond-assign","severity":2,"message":"Expected a conditional expression and instead saw an assignment.","line":4346,"column":16,"nodeType":"AssignmentExpression","messageId":"missing","endLine":4346,"endColumn":54},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4347,"column":28,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4347,"endColumn":29,"fix":{"range":[161639,161647],"text":"]\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4350,"column":21,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4350,"endColumn":22,"fix":{"range":[161672,161672],"text":" "}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4351,"column":57,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4351,"endColumn":63},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4351,"column":66,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4351,"endColumn":72},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4351,"column":98,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4351,"endColumn":110,"fix":{"range":[161789,161801],"text":"'formaction'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4351,"column":134,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4351,"endColumn":142,"fix":{"range":[161825,161833],"text":"'action'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4351,"column":158,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4351,"endColumn":159,"fix":{"range":[161843,161861],"text":"action\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4352,"column":29,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4352,"endColumn":30,"fix":{"range":[161878,161884],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4354,"column":24,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4354,"endColumn":25,"fix":{"range":[161908,161908],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4355,"column":70,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4355,"endColumn":72,"fix":{"range":[161985,161987],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4355,"column":72,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4355,"endColumn":73,"fix":{"range":[161985,161992],"text":"\"\"\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4357,"column":18,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4357,"endColumn":19,"fix":{"range":[162010,162010],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4358,"column":72,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4358,"endColumn":73,"fix":{"range":[162088,162094],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4360,"column":24,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4360,"endColumn":25,"fix":{"range":[162118,162118],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4361,"column":34,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4361,"endColumn":35,"fix":{"range":[162167,162180],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4362,"column":86,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4362,"endColumn":87,"fix":{"range":[162254,162260],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4364,"column":31,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4364,"endColumn":32,"fix":{"range":[162291,162291],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4365,"column":70,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4365,"endColumn":71,"fix":{"range":[162387,162393],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4367,"column":25,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4367,"endColumn":26,"fix":{"range":[162418,162418],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4368,"column":34,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4368,"endColumn":35,"fix":{"range":[162458,162471],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4369,"column":79,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4369,"endColumn":80,"fix":{"range":[162535,162544],"text":"href\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4371,"column":22,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4371,"endColumn":23,"fix":{"range":[162566,162566],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4372,"column":30,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4372,"endColumn":31,"fix":{"range":[162602,162608],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4374,"column":24,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4374,"endColumn":25,"fix":{"range":[162632,162632],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4375,"column":34,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4375,"endColumn":36},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4375,"column":59,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4375,"endColumn":60,"fix":{"range":[162704,162713],"text":"href\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4377,"column":29,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4377,"endColumn":30,"fix":{"range":[162742,162742],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4378,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4378,"endColumn":34,"fix":{"range":[162780,162783],"text":"'/'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4378,"column":44,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4378,"endColumn":45,"fix":{"range":[162792,162798],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4380,"column":32,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4380,"endColumn":33,"fix":{"range":[162830,162830],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4381,"column":47,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4381,"endColumn":48,"fix":{"range":[162883,162889],"text":"]\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4383,"column":21,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4383,"endColumn":22,"fix":{"range":[162910,162910],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4384,"column":55,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4384,"endColumn":56,"fix":{"range":[162971,162977],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4386,"column":28,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4386,"endColumn":29,"fix":{"range":[163005,163005],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4387,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4387,"endColumn":30,"fix":{"range":[163041,163044],"text":"'/'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4387,"column":50,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4387,"endColumn":53,"fix":{"range":[163064,163067],"text":"'/'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4387,"column":53,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4387,"endColumn":54,"fix":{"range":[163064,163072],"text":"\"/\"\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4389,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4433,"endColumn":5,"fix":{"range":[163075,163078],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4390,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4390,"endColumn":17,"fix":{"range":[163118,163118],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4391,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4391,"endColumn":32,"fix":{"range":[163153,163168],"text":"response\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4393,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4395,"endColumn":6,"fix":{"range":[163168,163168],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4393,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4393,"endColumn":19,"fix":{"range":[163186,163186],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4394,"column":30,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4394,"endColumn":31,"fix":{"range":[163218,163227],"text":"ok\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4396,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4398,"endColumn":6,"fix":{"range":[163227,163227],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4396,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4396,"endColumn":16,"fix":{"range":[163242,163242],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4397,"column":29,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4397,"endColumn":30,"fix":{"range":[163266,163282],"text":"succeeded\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4399,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4401,"endColumn":6,"fix":{"range":[163282,163282],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4399,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4399,"endColumn":21,"fix":{"range":[163302,163302],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4400,"column":62,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4400,"endColumn":63,"fix":{"range":[163365,163375],"text":"499\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4402,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4404,"endColumn":6,"fix":{"range":[163375,163375],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4402,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4402,"endColumn":21,"fix":{"range":[163395,163395],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4403,"column":62,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4403,"endColumn":63,"fix":{"range":[163458,163468],"text":"599\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4405,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4407,"endColumn":6,"fix":{"range":[163468,163468],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4405,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4405,"endColumn":20,"fix":{"range":[163487,163487],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4406,"column":38,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4406,"endColumn":39,"fix":{"range":[163519,163536],"text":"redirected\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4408,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4410,"endColumn":6,"fix":{"range":[163536,163536],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4408,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4408,"endColumn":18,"fix":{"range":[163553,163553],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4409,"column":42,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4409,"endColumn":43,"fix":{"range":[163598,163606],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4411,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4413,"endColumn":6,"fix":{"range":[163606,163606],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4411,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4411,"endColumn":16,"fix":{"range":[163621,163621],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4412,"column":114,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4412,"endColumn":115,"fix":{"range":[163738,163746],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4414,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4416,"endColumn":6,"fix":{"range":[163746,163746],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4414,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4414,"endColumn":20,"fix":{"range":[163765,163765],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4415,"column":34,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4415,"endColumn":35,"fix":{"range":[163797,163810],"text":"status\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4417,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4419,"endColumn":6,"fix":{"range":[163810,163810],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4417,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4417,"endColumn":21,"fix":{"range":[163830,163830],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4418,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4418,"endColumn":40,"fix":{"range":[163860,163874],"text":"'Content-Type'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4418,"column":41,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4418,"endColumn":42,"fix":{"range":[163874,163882],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4420,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4422,"endColumn":6,"fix":{"range":[163882,163882],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4420,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4420,"endColumn":22,"fix":{"range":[163903,163903],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4421,"column":42,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4421,"endColumn":43,"fix":{"range":[163948,163956],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4423,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4429,"endColumn":6,"fix":{"range":[163956,163956],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4423,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4423,"endColumn":22,"fix":{"range":[163977,163977],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4425,"column":44,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4425,"endColumn":45,"fix":{"range":[164049,164059],"text":")\n }"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4427,"column":32,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4427,"endColumn":38},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4427,"column":39,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4427,"endColumn":40,"fix":{"range":[164104,164114],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4430,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4432,"endColumn":6,"fix":{"range":[164120,164120],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4430,"column":11,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4430,"endColumn":12,"fix":{"range":[164131,164131],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4431,"column":45,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4431,"endColumn":46,"fix":{"range":[164183,164191],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4433,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4433,"endColumn":5,"fix":{"range":[164194,164207],"text":"}\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4434,"column":33,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4434,"endColumn":34,"fix":{"range":[164229,164229],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4435,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4435,"endColumn":47,"fix":{"range":[164270,164287],"text":"'data-turbo-eval'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4435,"column":49,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4435,"endColumn":51},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4435,"column":52,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4435,"endColumn":59,"fix":{"range":[164292,164299],"text":"'false'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4436,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4436,"endColumn":22,"fix":{"range":[164316,164330],"text":"element\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4438,"column":59,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4438,"endColumn":67,"fix":{"range":[164396,164404],"text":"'script'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4438,"column":68,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4438,"endColumn":69,"fix":{"range":[164404,164418],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4439,"column":39,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4439,"endColumn":50,"fix":{"range":[164445,164456],"text":"'csp-nonce'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4439,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4439,"endColumn":52,"fix":{"range":[164456,164467],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4441,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4441,"endColumn":47,"fix":{"range":[164518,164535],"text":"cspNonce\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4443,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4443,"endColumn":62,"fix":{"range":[164585,164624],"text":"textContent\n createdScriptElement"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4444,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4444,"endColumn":42,"fix":{"range":[164633,164667],"text":"false\n copyElementAttributes"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4445,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4445,"endColumn":60,"fix":{"range":[164697,164712],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4446,"column":34,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4446,"endColumn":35,"fix":{"range":[164713,164740],"text":"createdScriptElement\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4449,"column":33,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4449,"endColumn":34,"fix":{"range":[164777,164777],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4451,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4451,"endColumn":52,"fix":{"range":[164926,164934],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4454,"column":34,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4454,"endColumn":35,"fix":{"range":[164972,164972],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4455,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4455,"endColumn":55,"fix":{"range":[165025,165035],"text":"'template'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4455,"column":56,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4455,"endColumn":57,"fix":{"range":[165035,165050],"text":")\n template"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4456,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4456,"endColumn":31,"fix":{"range":[165063,165079],"text":"html\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4457,"column":28,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4457,"endColumn":29,"fix":{"range":[165089,165101],"text":"content\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4459,"column":20,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4459,"endColumn":21,"fix":{"range":[165121,165121],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4465,"column":7,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4465,"endColumn":8,"fix":{"range":[165298,165307],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4467,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4467,"endColumn":35,"fix":{"range":[165373,165381],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4469,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4469,"endColumn":53,"fix":{"range":[165439,165447],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4471,"column":17,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4471,"endColumn":18,"fix":{"range":[165459,165469],"text":"event\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4473,"column":30,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4473,"endColumn":31,"fix":{"range":[165499,165499],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4474,"column":76,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4474,"endColumn":77,"fix":{"range":[165578,165584],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4476,"column":29,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4476,"endColumn":30,"fix":{"range":[165613,165613],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4477,"column":68,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4477,"endColumn":69,"fix":{"range":[165684,165690],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4479,"column":25,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4479,"endColumn":26,"fix":{"range":[165715,165715],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4480,"column":29,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4480,"endColumn":30,"fix":{"range":[165747,165753],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4482,"column":29,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4482,"endColumn":30,"fix":{"range":[165782,165782],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4482,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4482,"endColumn":39,"fix":{"range":[165790,165792],"text":"''"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4483,"column":50,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4483,"endColumn":61,"fix":{"range":[165845,165856],"text":"'text/html'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4483,"column":62,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4483,"endColumn":63,"fix":{"range":[165856,165862],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4485,"column":20,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4485,"endColumn":21,"fix":{"range":[165882,165882],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4486,"column":63,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4486,"endColumn":65,"fix":{"range":[165967,165969],"text":"''"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4486,"column":73,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4486,"endColumn":77,"fix":{"range":[165977,165981],"text":"'\\n'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4486,"column":78,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4486,"endColumn":79,"fix":{"range":[165981,165993],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4487,"column":42,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4487,"endColumn":43,"fix":{"range":[166024,166036],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4488,"column":49,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4488,"endColumn":50,"fix":{"range":[166074,166087],"text":"0\n return"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4489,"column":57,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4489,"endColumn":61,"fix":{"range":[166133,166137],"text":"'\\n'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4489,"column":62,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4489,"endColumn":63,"fix":{"range":[166137,166143],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4491,"column":23,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4491,"endColumn":24,"fix":{"range":[166166,166166],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4493,"column":32,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4493,"endColumn":34},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4493,"column":35,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4493,"endColumn":41},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4493,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4493,"endColumn":46,"fix":{"range":[166281,166283],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4493,"column":59,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4493,"endColumn":60,"fix":{"range":[166295,166310],"text":"]\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4494,"column":37,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4494,"endColumn":38,"fix":{"range":[166329,166341],"text":"value\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4495,"column":8,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4495,"endColumn":10,"fix":{"range":[166343,166345],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4495,"column":11,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4495,"endColumn":12,"fix":{"range":[166345,166351],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4497,"column":16,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4497,"endColumn":17,"fix":{"range":[166367,166367],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4499,"column":14,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4499,"endColumn":16},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4499,"column":25,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4499,"endColumn":27},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4499,"column":37,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4499,"endColumn":39},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4499,"column":49,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4499,"endColumn":51},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4500,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4500,"endColumn":19,"fix":{"range":[166500,166503],"text":"'-'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4500,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4500,"endColumn":20,"fix":{"range":[166500,166512],"text":"\"-\"\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4501,"column":21,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4501,"endColumn":23},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4502,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4502,"endColumn":19,"fix":{"range":[166549,166552],"text":"'4'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4502,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4502,"endColumn":20,"fix":{"range":[166549,166561],"text":"\"4\"\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4503,"column":21,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4503,"endColumn":23},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4504,"column":64,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4504,"endColumn":65,"fix":{"range":[166645,166655],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4506,"column":59,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4506,"endColumn":60,"fix":{"range":[166720,166730],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4508,"column":13,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4508,"endColumn":15,"fix":{"range":[166743,166745],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4508,"column":16,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4508,"endColumn":17,"fix":{"range":[166745,166751],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4510,"column":24,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4510,"endColumn":25,"fix":{"range":[166775,166775],"text":" "}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4511,"column":84,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4511,"endColumn":90},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4511,"column":93,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4511,"endColumn":99},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4512,"column":24,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4512,"endColumn":26,"fix":{"range":[166971,166973],"text":"==="}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4512,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4512,"endColumn":35,"fix":{"range":[166974,166982],"text":"'string'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":4513,"column":9,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":4513,"endColumn":22,"fix":{"range":[166992,167005],"text":"{return value;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4513,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4513,"endColumn":22,"fix":{"range":[166999,167011],"text":"value\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4515,"column":16,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4515,"endColumn":17,"fix":{"range":[167023,167032],"text":"null\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4517,"column":24,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4517,"endColumn":25,"fix":{"range":[167056,167056],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4518,"column":87,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4518,"endColumn":88,"fix":{"range":[167173,167179],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4520,"column":22,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4520,"endColumn":23,"fix":{"range":[167201,167201],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4522,"column":29,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4522,"endColumn":31},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4522,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4522,"endColumn":45,"fix":{"range":[167288,167301],"text":"'turbo-frame'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4523,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4523,"endColumn":36,"fix":{"range":[167334,167340],"text":"'busy'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4523,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4523,"endColumn":40,"fix":{"range":[167342,167344],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4523,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4523,"endColumn":42,"fix":{"range":[167344,167354],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4525,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4525,"endColumn":39,"fix":{"range":[167382,167393],"text":"'aria-busy'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4525,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4525,"endColumn":47,"fix":{"range":[167395,167401],"text":"'true'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4525,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4525,"endColumn":49,"fix":{"range":[167401,167409],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4528,"column":26,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4528,"endColumn":27,"fix":{"range":[167439,167439],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4530,"column":29,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4530,"endColumn":31},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4530,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4530,"endColumn":45,"fix":{"range":[167526,167539],"text":"'turbo-frame'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4531,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4531,"endColumn":39,"fix":{"range":[167575,167581],"text":"'busy'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4531,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4531,"endColumn":41,"fix":{"range":[167581,167591],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4533,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4533,"endColumn":42,"fix":{"range":[167622,167633],"text":"'aria-busy'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4533,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4533,"endColumn":44,"fix":{"range":[167633,167641],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4536,"column":23,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4536,"endColumn":24,"fix":{"range":[167668,167668],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4539,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4539,"endColumn":44,"fix":{"range":[167816,167823],"text":"'error'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4539,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4539,"endColumn":58,"fix":{"range":[167835,167853],"text":")\n element"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4540,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4540,"endColumn":43,"fix":{"range":[167874,167880],"text":"'load'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4540,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4540,"endColumn":57,"fix":{"range":[167892,167910],"text":")\n resolve"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4541,"column":18,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4541,"endColumn":19,"fix":{"range":[167911,167921],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4542,"column":8,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4542,"endColumn":9,"fix":{"range":[167920,167936],"text":"}\n element"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4543,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4543,"endColumn":38,"fix":{"range":[167954,167960],"text":"'load'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4543,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4543,"endColumn":68,"fix":{"range":[167988,168004],"text":")\n element"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4544,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4544,"endColumn":39,"fix":{"range":[168022,168029],"text":"'error'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4544,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4544,"endColumn":69,"fix":{"range":[168057,168076],"text":")\n setTimeout"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4545,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4545,"endColumn":50,"fix":{"range":[168107,168115],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4546,"column":7,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4546,"endColumn":8,"fix":{"range":[168115,168121],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4548,"column":37,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4548,"endColumn":38,"fix":{"range":[168158,168158],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4550,"column":12,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4550,"endColumn":21,"fix":{"range":[168202,168211],"text":"'replace'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4551,"column":36,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4551,"endColumn":37,"fix":{"range":[168236,168260],"text":"replaceState\n case"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4552,"column":12,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4552,"endColumn":21,"fix":{"range":[168261,168270],"text":"'advance'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4553,"column":12,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4553,"endColumn":21,"fix":{"range":[168283,168292],"text":"'restore'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4554,"column":33,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4554,"endColumn":34,"fix":{"range":[168317,168333],"text":"pushState\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4557,"column":20,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4557,"endColumn":21,"fix":{"range":[168357,168357],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4558,"column":19,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4558,"endColumn":21},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4558,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4558,"endColumn":31,"fix":{"range":[168389,168398],"text":"'advance'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4558,"column":42,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4558,"endColumn":44},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4558,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4558,"endColumn":54,"fix":{"range":[168412,168421],"text":"'replace'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4558,"column":65,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4558,"endColumn":67},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4558,"column":68,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4558,"endColumn":77,"fix":{"range":[168435,168444],"text":"'restore'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4558,"column":77,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4558,"endColumn":78,"fix":{"range":[168435,168449],"text":"\"restore\"\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4560,"column":26,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4560,"endColumn":27,"fix":{"range":[168475,168475],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4561,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4561,"endColumn":52,"fix":{"range":[168524,168543],"text":"'data-turbo-action'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4561,"column":67,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4561,"endColumn":68,"fix":{"range":[168557,168570],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4562,"column":44,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4562,"endColumn":45,"fix":{"range":[168599,168608],"text":"null\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4564,"column":26,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4564,"endColumn":27,"fix":{"range":[168634,168634],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4565,"column":58,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4565,"endColumn":59,"fix":{"range":[168699,168705],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4567,"column":26,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4567,"endColumn":27,"fix":{"range":[168731,168731],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4568,"column":41,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4568,"endColumn":42,"fix":{"range":[168779,168792],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4569,"column":38,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4569,"endColumn":39,"fix":{"range":[168812,168824],"text":"content\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4571,"column":26,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4571,"endColumn":27,"fix":{"range":[168850,168850],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4572,"column":39,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4572,"endColumn":40,"fix":{"range":[168905,168914],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4574,"column":40,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4574,"endColumn":46,"fix":{"range":[168967,168973],"text":"'meta'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4574,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4574,"endColumn":48,"fix":{"range":[168973,168989],"text":")\n element"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4575,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4575,"endColumn":34,"fix":{"range":[169003,169009],"text":"'name'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4575,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4575,"endColumn":42,"fix":{"range":[169015,169032],"text":")\n document"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4576,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4576,"endColumn":42,"fix":{"range":[169057,169065],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4578,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4578,"endColumn":35,"fix":{"range":[169091,169100],"text":"'content'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4578,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4578,"endColumn":46,"fix":{"range":[169109,169122],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4579,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4579,"endColumn":20,"fix":{"range":[169123,169135],"text":"element\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4581,"column":34,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4581,"endColumn":35,"fix":{"range":[169169,169169],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4582,"column":5,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4582,"endColumn":13,"fix":{"range":[169195,169198],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4582,"column":12,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4582,"endColumn":13,"fix":{"range":[169199,169210],"text":"_a2\n if"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4584,"column":141,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4584,"endColumn":147},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4584,"column":150,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4584,"endColumn":156},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4584,"column":179,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4584,"endColumn":180,"fix":{"range":[169419,169427],"text":")\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4587,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4587,"endColumn":19,"fix":{"range":[169434,169437],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4588,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4588,"endColumn":13,"fix":{"range":[169462,169462],"text":" "}},{"ruleId":"dot-notation","severity":2,"message":"[\"get\"] is better written in dot notation.","line":4589,"column":31,"nodeType":"Literal","messageId":"useDot","endLine":4589,"endColumn":36,"fix":{"range":[169508,169515],"text":".get"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4589,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4589,"endColumn":36,"fix":{"range":[169509,169514],"text":"'get'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4589,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4589,"endColumn":50,"fix":{"range":[169523,169528],"text":"'get'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4589,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4589,"endColumn":51,"fix":{"range":[169523,169546],"text":"\"get\"\n FetchMethod2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"post\"] is better written in dot notation.","line":4590,"column":31,"nodeType":"Literal","messageId":"useDot","endLine":4590,"endColumn":37,"fix":{"range":[169559,169567],"text":".post"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4590,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4590,"endColumn":37,"fix":{"range":[169560,169566],"text":"'post'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4590,"column":46,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4590,"endColumn":52,"fix":{"range":[169575,169581],"text":"'post'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4590,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4590,"endColumn":53,"fix":{"range":[169575,169599],"text":"\"post\"\n FetchMethod2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"put\"] is better written in dot notation.","line":4591,"column":31,"nodeType":"Literal","messageId":"useDot","endLine":4591,"endColumn":36,"fix":{"range":[169612,169619],"text":".put"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4591,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4591,"endColumn":36,"fix":{"range":[169613,169618],"text":"'put'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4591,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4591,"endColumn":50,"fix":{"range":[169627,169632],"text":"'put'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4591,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4591,"endColumn":51,"fix":{"range":[169627,169650],"text":"\"put\"\n FetchMethod2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"patch\"] is better written in dot notation.","line":4592,"column":31,"nodeType":"Literal","messageId":"useDot","endLine":4592,"endColumn":38,"fix":{"range":[169663,169672],"text":".patch"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4592,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4592,"endColumn":38,"fix":{"range":[169664,169671],"text":"'patch'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4592,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4592,"endColumn":54,"fix":{"range":[169680,169687],"text":"'patch'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4592,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4592,"endColumn":55,"fix":{"range":[169680,169705],"text":"\"patch\"\n FetchMethod2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"delete\"] is better written in dot notation.","line":4593,"column":31,"nodeType":"Literal","messageId":"useDot","endLine":4593,"endColumn":39,"fix":{"range":[169718,169728],"text":".delete"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4593,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4593,"endColumn":39,"fix":{"range":[169719,169727],"text":"'delete'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4593,"column":48,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4593,"endColumn":56,"fix":{"range":[169736,169744],"text":"'delete'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4593,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4593,"endColumn":57,"fix":{"range":[169736,169749],"text":"\"delete\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4594,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4594,"endColumn":41,"fix":{"range":[169784,169797],"text":")\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4595,"column":33,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4595,"endColumn":34,"fix":{"range":[169819,169819],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4597,"column":12,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4597,"endColumn":17,"fix":{"range":[169877,169882],"text":"'get'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4598,"column":31,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4598,"endColumn":32,"fix":{"range":[169911,169926],"text":"get\n case"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4599,"column":12,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4599,"endColumn":18,"fix":{"range":[169927,169933],"text":"'post'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4600,"column":32,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4600,"endColumn":33,"fix":{"range":[169962,169978],"text":"post\n case"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4601,"column":12,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4601,"endColumn":17,"fix":{"range":[169979,169984],"text":"'put'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4602,"column":31,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4602,"endColumn":32,"fix":{"range":[170013,170028],"text":"put\n case"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4603,"column":12,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4603,"endColumn":19,"fix":{"range":[170029,170036],"text":"'patch'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4604,"column":33,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4604,"endColumn":34,"fix":{"range":[170065,170082],"text":"patch\n case"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4605,"column":12,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4605,"endColumn":20,"fix":{"range":[170083,170091],"text":"'delete'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4606,"column":34,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4606,"endColumn":35,"fix":{"range":[170120,170133],"text":"delete\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4609,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4716,"endColumn":5,"fix":{"range":[170140,170143],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4610,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4610,"endColumn":17,"fix":{"range":[170182,170182],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4611,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4611,"endColumn":52,"fix":{"range":[170308,170321],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4613,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4613,"endColumn":9,"fix":{"range":[170366,170379],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4614,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4614,"endColumn":32,"fix":{"range":[170391,170411],"text":"delegate\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4615,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4615,"endColumn":28,"fix":{"range":[170421,170439],"text":"method\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4616,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4616,"endColumn":42,"fix":{"range":[170455,170481],"text":"defaultHeaders\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4617,"column":23,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4617,"endColumn":24,"fix":{"range":[170489,170505],"text":"body\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4618,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4618,"endColumn":28,"fix":{"range":[170512,170533],"text":"location2\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4619,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4619,"endColumn":28,"fix":{"range":[170543,170556],"text":"target\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4621,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4623,"endColumn":6,"fix":{"range":[170556,170556],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4621,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4621,"endColumn":18,"fix":{"range":[170573,170573],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4622,"column":22,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4622,"endColumn":23,"fix":{"range":[170596,170606],"text":"url\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4624,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4626,"endColumn":6,"fix":{"range":[170606,170606],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4624,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4624,"endColumn":16,"fix":{"range":[170621,170621],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4625,"column":35,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4625,"endColumn":36,"fix":{"range":[170648,170667],"text":"searchParams\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4627,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4629,"endColumn":6,"fix":{"range":[170667,170667],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4627,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4627,"endColumn":17,"fix":{"range":[170683,170683],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4628,"column":62,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4628,"endColumn":63,"fix":{"range":[170748,170756],"text":"]\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4630,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4632,"endColumn":6,"fix":{"range":[170756,170756],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4630,"column":11,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4630,"endColumn":12,"fix":{"range":[170767,170767],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4631,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4631,"endColumn":36,"fix":{"range":[170805,170813],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4633,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4651,"endColumn":6,"fix":{"range":[170813,170813],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4633,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4633,"endColumn":19,"fix":{"range":[170831,170831],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4634,"column":36,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4634,"endColumn":37,"fix":{"range":[170867,170883],"text":"this\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4635,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4635,"endColumn":42,"fix":{"range":[170912,170926],"text":")\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4636,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4636,"endColumn":60,"fix":{"range":[170972,170984],"text":")\n try"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4638,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4638,"endColumn":44,"fix":{"range":[171028,171044],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4639,"column":66,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4639,"endColumn":67,"fix":{"range":[171095,171112],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4640,"column":44,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4640,"endColumn":45,"fix":{"range":[171140,171150],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4642,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4642,"endColumn":41,"fix":{"range":[171196,171208],"text":"'AbortError'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4644,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4644,"endColumn":56,"fix":{"range":[171321,171335],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4646,"column":23,"nodeType":"ThrowStatement","messageId":"extraSemi","endLine":4646,"endColumn":24,"fix":{"range":[171352,171369],"text":"error2\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4649,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4649,"endColumn":45,"fix":{"range":[171430,171440],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4652,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4667,"endColumn":6,"fix":{"range":[171446,171446],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4652,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4652,"endColumn":19,"fix":{"range":[171464,171464],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4653,"column":56,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4653,"endColumn":57,"fix":{"range":[171531,171545],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4654,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4654,"endColumn":59,"fix":{"range":[171563,171592],"text":"'turbo:before-fetch-response'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4658,"column":9,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4658,"endColumn":10,"fix":{"range":[171692,171703],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4660,"column":76,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4660,"endColumn":77,"fix":{"range":[171805,171815],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4662,"column":72,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4662,"endColumn":73,"fix":{"range":[171922,171932],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4664,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4664,"endColumn":70,"fix":{"range":[172007,172017],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4666,"column":27,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4666,"endColumn":28,"fix":{"range":[172031,172051],"text":"fetchResponse\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4668,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4679,"endColumn":6,"fix":{"range":[172051,172051],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4668,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4668,"endColumn":22,"fix":{"range":[172072,172072],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4669,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4669,"endColumn":15,"fix":{"range":[172083,172086],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4669,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4669,"endColumn":15,"fix":{"range":[172087,172104],"text":"_a2\n return"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4672,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4672,"endColumn":35,"fix":{"range":[172184,172197],"text":"'same-origin'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4674,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4674,"endColumn":27,"fix":{"range":[172248,172256],"text":"'follow'"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4677,"column":70,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4677,"endColumn":76},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4677,"column":79,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4677,"endColumn":85},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4678,"column":8,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4678,"endColumn":9,"fix":{"range":[172440,172448],"text":"}\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4680,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4684,"endColumn":6,"fix":{"range":[172448,172448],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4680,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4680,"endColumn":24,"fix":{"range":[172471,172471],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4682,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4682,"endColumn":51,"fix":{"range":[172507,172541],"text":"'text/html, application/xhtml+xml'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4683,"column":8,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4683,"endColumn":9,"fix":{"range":[172548,172556],"text":"}\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4685,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4687,"endColumn":6,"fix":{"range":[172556,172556],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4685,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4685,"endColumn":16,"fix":{"range":[172571,172571],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4686,"column":45,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4686,"endColumn":46,"fix":{"range":[172617,172627],"text":"get\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4688,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4690,"endColumn":6,"fix":{"range":[172627,172627],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4688,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4688,"endColumn":21,"fix":{"range":[172647,172647],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4689,"column":41,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4689,"endColumn":42,"fix":{"range":[172686,172699],"text":"signal\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4691,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4693,"endColumn":6,"fix":{"range":[172699,172699],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4691,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4691,"endColumn":24,"fix":{"range":[172722,172722],"text":" "}},{"ruleId":"dot-notation","severity":2,"message":"[\"Accept\"] is better written in dot notation.","line":4692,"column":20,"nodeType":"Literal","messageId":"useDot","endLine":4692,"endColumn":28,"fix":{"range":[172753,172763],"text":".Accept"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4692,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4692,"endColumn":28,"fix":{"range":[172754,172762],"text":"'Accept'"}},{"ruleId":"dot-notation","severity":2,"message":"[\"Accept\"] is better written in dot notation.","line":4692,"column":56,"nodeType":"Literal","messageId":"useDot","endLine":4692,"endColumn":64,"fix":{"range":[172789,172799],"text":".Accept"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4692,"column":56,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4692,"endColumn":64,"fix":{"range":[172790,172798],"text":"'Accept'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4692,"column":72,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4692,"endColumn":76,"fix":{"range":[172806,172810],"text":"', '"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4692,"column":77,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4692,"endColumn":78,"fix":{"range":[172810,172818],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4694,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4707,"endColumn":6,"fix":{"range":[172818,172818],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4694,"column":38,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4694,"endColumn":39,"fix":{"range":[172856,172856],"text":" "}},{"ruleId":"no-return-assign","severity":2,"message":"Arrow function should not return assignment.","line":4695,"column":47,"nodeType":"ArrowFunctionExpression","messageId":"arrowAssignment","endLine":4695,"endColumn":96},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4695,"column":97,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4695,"endColumn":98,"fix":{"range":[172968,172982],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4696,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4696,"endColumn":58,"fix":{"range":[173000,173028],"text":"'turbo:before-fetch-request'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4704,"column":9,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4704,"endColumn":10,"fix":{"range":[173216,173227],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":4706,"column":9,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":4706,"endColumn":35,"fix":{"range":[173261,173287],"text":"{await requestInterception;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4706,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4706,"endColumn":35,"fix":{"range":[173267,173293],"text":"requestInterception\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4708,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4715,"endColumn":6,"fix":{"range":[173293,173293],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4708,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4708,"endColumn":31,"fix":{"range":[173323,173323],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4709,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4709,"endColumn":57,"fix":{"range":[173363,173390],"text":"'turbo:fetch-request-error'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4713,"column":9,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4713,"endColumn":10,"fix":{"range":[173505,173520],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4714,"column":37,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4714,"endColumn":38,"fix":{"range":[173528,173551],"text":"defaultPrevented\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4716,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4716,"endColumn":5,"fix":{"range":[173554,173562],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4717,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4742,"endColumn":5,"fix":{"range":[173559,173562],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4718,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4718,"endColumn":17,"fix":{"range":[173607,173607],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4719,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4719,"endColumn":28,"fix":{"range":[173650,173667],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4721,"column":47,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4721,"endColumn":48,"fix":{"range":[173740,173753],"text":"]\n if"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4722,"column":49,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4722,"endColumn":55},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4722,"column":58,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4722,"endColumn":64},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4723,"column":64,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4723,"endColumn":65,"fix":{"range":[173899,173911],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4725,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4725,"endColumn":9,"fix":{"range":[173918,173931],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4726,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4726,"endColumn":32,"fix":{"range":[173943,173963],"text":"delegate\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4727,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4727,"endColumn":30,"fix":{"range":[173974,173993],"text":"element\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4728,"column":75,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4728,"endColumn":76,"fix":{"range":[174056,174064],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4730,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4735,"endColumn":6,"fix":{"range":[174064,174064],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4730,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4730,"endColumn":11,"fix":{"range":[174074,174074],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4732,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4732,"endColumn":29,"fix":{"range":[174129,174147],"text":"true\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4733,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4733,"endColumn":57,"fix":{"range":[174189,174199],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4736,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4741,"endColumn":6,"fix":{"range":[174205,174205],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4736,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4736,"endColumn":10,"fix":{"range":[174214,174214],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4738,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4738,"endColumn":30,"fix":{"range":[174268,174287],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4739,"column":58,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4739,"endColumn":59,"fix":{"range":[174331,174341],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4742,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4742,"endColumn":5,"fix":{"range":[174350,174358],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4743,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4754,"endColumn":5,"fix":{"range":[174355,174358],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4744,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4744,"endColumn":17,"fix":{"range":[174398,174398],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4745,"column":26,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4745,"endColumn":28,"fix":{"range":[174435,174437],"text":"==="}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4745,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4745,"endColumn":37,"fix":{"range":[174438,174446],"text":"'string'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4746,"column":57,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4746,"endColumn":58,"fix":{"range":[174505,174515],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4748,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4748,"endColumn":24,"fix":{"range":[174538,174554],"text":"message\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4751,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4753,"endColumn":6,"fix":{"range":[174560,174560],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4751,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4751,"endColumn":17,"fix":{"range":[174576,174576],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4752,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4752,"endColumn":54,"fix":{"range":[174640,174648],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4754,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4754,"endColumn":5,"fix":{"range":[174651,174669],"text":"}\n StreamMessage"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4755,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4755,"endColumn":59,"fix":{"range":[174684,174712],"text":"'text/vnd.turbo-stream.html'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4755,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4755,"endColumn":60,"fix":{"range":[174684,174724],"text":"\"text/vnd.turbo-stream.html\"\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4756,"column":32,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4756,"endColumn":33,"fix":{"range":[174745,174745],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4757,"column":53,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4757,"endColumn":67,"fix":{"range":[174810,174824],"text":"'turbo-stream'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4758,"column":63,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4758,"endColumn":64,"fix":{"range":[174890,174902],"text":")\n for"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4759,"column":95,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4759,"endColumn":103,"fix":{"range":[174987,174995],"text":"'script'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4760,"column":82,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4760,"endColumn":83,"fix":{"range":[175080,175090],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4762,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4762,"endColumn":42,"fix":{"range":[175130,175138],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4764,"column":20,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4764,"endColumn":21,"fix":{"range":[175150,175163],"text":"fragment\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4766,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4766,"endColumn":27,"fix":{"range":[175166,175169],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4767,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4767,"endColumn":13,"fix":{"range":[175202,175202],"text":" "}},{"ruleId":"dot-notation","severity":2,"message":"[\"initialized\"] is better written in dot notation.","line":4768,"column":47,"nodeType":"Literal","messageId":"useDot","endLine":4768,"endColumn":60,"fix":{"range":[175272,175287],"text":".initialized"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4768,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4768,"endColumn":60,"fix":{"range":[175273,175286],"text":"'initialized'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4768,"column":69,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4768,"endColumn":82,"fix":{"range":[175295,175308],"text":"'initialized'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4768,"column":82,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4768,"endColumn":83,"fix":{"range":[175295,175334],"text":"\"initialized\"\n FormSubmissionState2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"requesting\"] is better written in dot notation.","line":4769,"column":47,"nodeType":"Literal","messageId":"useDot","endLine":4769,"endColumn":59,"fix":{"range":[175355,175369],"text":".requesting"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4769,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4769,"endColumn":59,"fix":{"range":[175356,175368],"text":"'requesting'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4769,"column":68,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4769,"endColumn":80,"fix":{"range":[175377,175389],"text":"'requesting'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4769,"column":80,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4769,"endColumn":81,"fix":{"range":[175377,175415],"text":"\"requesting\"\n FormSubmissionState2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"waiting\"] is better written in dot notation.","line":4770,"column":47,"nodeType":"Literal","messageId":"useDot","endLine":4770,"endColumn":56,"fix":{"range":[175436,175447],"text":".waiting"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4770,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4770,"endColumn":56,"fix":{"range":[175437,175446],"text":"'waiting'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4770,"column":65,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4770,"endColumn":74,"fix":{"range":[175455,175464],"text":"'waiting'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4770,"column":74,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4770,"endColumn":75,"fix":{"range":[175455,175490],"text":"\"waiting\"\n FormSubmissionState2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"receiving\"] is better written in dot notation.","line":4771,"column":47,"nodeType":"Literal","messageId":"useDot","endLine":4771,"endColumn":58,"fix":{"range":[175511,175524],"text":".receiving"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4771,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4771,"endColumn":58,"fix":{"range":[175512,175523],"text":"'receiving'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4771,"column":67,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4771,"endColumn":78,"fix":{"range":[175532,175543],"text":"'receiving'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4771,"column":78,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4771,"endColumn":79,"fix":{"range":[175532,175569],"text":"\"receiving\"\n FormSubmissionState2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"stopping\"] is better written in dot notation.","line":4772,"column":47,"nodeType":"Literal","messageId":"useDot","endLine":4772,"endColumn":57,"fix":{"range":[175590,175602],"text":".stopping"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4772,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4772,"endColumn":57,"fix":{"range":[175591,175601],"text":"'stopping'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4772,"column":66,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4772,"endColumn":76,"fix":{"range":[175610,175620],"text":"'stopping'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4772,"column":76,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4772,"endColumn":77,"fix":{"range":[175610,175646],"text":"\"stopping\"\n FormSubmissionState2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"stopped\"] is better written in dot notation.","line":4773,"column":47,"nodeType":"Literal","messageId":"useDot","endLine":4773,"endColumn":56,"fix":{"range":[175667,175678],"text":".stopped"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4773,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4773,"endColumn":56,"fix":{"range":[175668,175677],"text":"'stopped'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4773,"column":65,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4773,"endColumn":74,"fix":{"range":[175686,175695],"text":"'stopped'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4773,"column":74,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4773,"endColumn":75,"fix":{"range":[175686,175700],"text":"\"stopped\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4774,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4774,"endColumn":57,"fix":{"range":[175751,175759],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4775,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4775,"endColumn":19,"fix":{"range":[175756,175759],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4776,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4776,"endColumn":13,"fix":{"range":[175784,175784],"text":" "}},{"ruleId":"dot-notation","severity":2,"message":"[\"urlEncoded\"] is better written in dot notation.","line":4777,"column":18,"nodeType":"Literal","messageId":"useDot","endLine":4777,"endColumn":30,"fix":{"range":[175817,175831],"text":".urlEncoded"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4777,"column":18,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4777,"endColumn":30,"fix":{"range":[175818,175830],"text":"'urlEncoded'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4777,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4777,"endColumn":69,"fix":{"range":[175834,175869],"text":"'application/x-www-form-urlencoded'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4777,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4777,"endColumn":70,"fix":{"range":[175834,175887],"text":"\"application/x-www-form-urlencoded\"\n FormEnctype2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"multipart\"] is better written in dot notation.","line":4778,"column":18,"nodeType":"Literal","messageId":"useDot","endLine":4778,"endColumn":29,"fix":{"range":[175887,175900],"text":".multipart"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4778,"column":18,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4778,"endColumn":29,"fix":{"range":[175888,175899],"text":"'multipart'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4778,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4778,"endColumn":54,"fix":{"range":[175903,175924],"text":"'multipart/form-data'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4778,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4778,"endColumn":55,"fix":{"range":[175903,175942],"text":"\"multipart/form-data\"\n FormEnctype2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"plain\"] is better written in dot notation.","line":4779,"column":18,"nodeType":"Literal","messageId":"useDot","endLine":4779,"endColumn":25,"fix":{"range":[175942,175951],"text":".plain"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4779,"column":18,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4779,"endColumn":25,"fix":{"range":[175943,175950],"text":"'plain'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4779,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4779,"endColumn":41,"fix":{"range":[175954,175966],"text":"'text/plain'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4779,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4779,"endColumn":42,"fix":{"range":[175954,175971],"text":"\"text/plain\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4780,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4780,"endColumn":41,"fix":{"range":[176006,176019],"text":")\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4781,"column":33,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4781,"endColumn":34,"fix":{"range":[176041,176041],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4784,"column":37,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4784,"endColumn":38,"fix":{"range":[176153,176174],"text":"multipart\n case"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4786,"column":33,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4786,"endColumn":34,"fix":{"range":[176221,176241],"text":"plain\n default"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4788,"column":38,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4788,"endColumn":39,"fix":{"range":[176270,176287],"text":"urlEncoded\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4791,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4951,"endColumn":5},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4792,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4792,"endColumn":26,"fix":{"range":[176347,176347],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4793,"column":47,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4793,"endColumn":48,"fix":{"range":[176426,176434],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4795,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4807,"endColumn":6,"fix":{"range":[176434,176434],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4795,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4795,"endColumn":17,"fix":{"range":[176450,176450],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4796,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4796,"endColumn":52,"fix":{"range":[176548,176571],"text":"initialized\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4797,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4797,"endColumn":32,"fix":{"range":[176583,176603],"text":"delegate\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4798,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4798,"endColumn":38,"fix":{"range":[176618,176641],"text":"formElement\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4799,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4799,"endColumn":34,"fix":{"range":[176654,176675],"text":"submitter\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4800,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4800,"endColumn":61,"fix":{"range":[176723,176736],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4801,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4801,"endColumn":46,"fix":{"range":[176769,176780],"text":")\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4802,"column":23,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4802,"endColumn":25},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4803,"column":70,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4803,"endColumn":71,"fix":{"range":[176884,176894],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4805,"column":106,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4805,"endColumn":107,"fix":{"range":[176999,177012],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4806,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4806,"endColumn":40,"fix":{"range":[177028,177047],"text":"mustRedirect\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4808,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4812,"endColumn":6,"fix":{"range":[177047,177047],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4808,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4808,"endColumn":16,"fix":{"range":[177062,177062],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4809,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4809,"endColumn":15,"fix":{"range":[177073,177076],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4809,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4809,"endColumn":15,"fix":{"range":[177077,177093],"text":"_a2\n const"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4810,"column":66,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4810,"endColumn":72},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4810,"column":75,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4810,"endColumn":81},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4810,"column":101,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4810,"endColumn":113,"fix":{"range":[177182,177194],"text":"'formmethod'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4810,"column":149,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4810,"endColumn":157,"fix":{"range":[177230,177238],"text":"'method'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4810,"column":162,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4810,"endColumn":164,"fix":{"range":[177243,177245],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4810,"column":164,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4810,"endColumn":165,"fix":{"range":[177243,177259],"text":"\"\"\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4811,"column":76,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4811,"endColumn":77,"fix":{"range":[177319,177329],"text":"get\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4813,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4821,"endColumn":6,"fix":{"range":[177329,177329],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4813,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4813,"endColumn":16,"fix":{"range":[177344,177344],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4814,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4814,"endColumn":15,"fix":{"range":[177355,177358],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4814,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4814,"endColumn":15,"fix":{"range":[177359,177375],"text":"_a2\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4815,"column":68,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4815,"endColumn":76,"fix":{"range":[177431,177439],"text":"'string'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4815,"column":109,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4815,"endColumn":110,"fix":{"range":[177468,177482],"text":"null\n if"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4816,"column":54,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4816,"endColumn":60},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4816,"column":63,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4816,"endColumn":69},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4816,"column":89,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4816,"endColumn":101,"fix":{"range":[177562,177574],"text":"'formaction'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4817,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4817,"endColumn":56,"fix":{"range":[177622,177634],"text":"'formaction'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4817,"column":61,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4817,"endColumn":63,"fix":{"range":[177639,177641],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4817,"column":63,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4817,"endColumn":64,"fix":{"range":[177639,177650],"text":"\"\"\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4819,"column":46,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4819,"endColumn":54,"fix":{"range":[177703,177711],"text":"'action'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4819,"column":80,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4819,"endColumn":82,"fix":{"range":[177737,177739],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4819,"column":82,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4819,"endColumn":83,"fix":{"range":[177737,177748],"text":"\"\"\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4822,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4828,"endColumn":6,"fix":{"range":[177754,177754],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4822,"column":13,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4822,"endColumn":14,"fix":{"range":[177767,177767],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4823,"column":24,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4823,"endColumn":26},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4823,"column":65,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4823,"endColumn":67},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4824,"column":56,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4824,"endColumn":57,"fix":{"range":[177912,177922],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4826,"column":29,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4826,"endColumn":30,"fix":{"range":[177950,177967],"text":"formData\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4829,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4832,"endColumn":6,"fix":{"range":[177973,177973],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4829,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4829,"endColumn":17,"fix":{"range":[177989,177989],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4830,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4830,"endColumn":15,"fix":{"range":[178000,178003],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4830,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4830,"endColumn":15,"fix":{"range":[178004,178021],"text":"_a2\n return"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4831,"column":80,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4831,"endColumn":86},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4831,"column":89,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4831,"endColumn":95},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4831,"column":115,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4831,"endColumn":128,"fix":{"range":[178123,178136],"text":"'formenctype'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4831,"column":159,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4831,"endColumn":160,"fix":{"range":[178166,178174],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4833,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4835,"endColumn":6,"fix":{"range":[178174,178174],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4833,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4833,"endColumn":16,"fix":{"range":[178189,178189],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4834,"column":38,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4834,"endColumn":39,"fix":{"range":[178225,178238],"text":"isSafe\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4836,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4840,"endColumn":6,"fix":{"range":[178238,178238],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4836,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4836,"endColumn":24,"fix":{"range":[178261,178261],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4838,"column":44,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4838,"endColumn":46,"fix":{"range":[178378,178380],"text":"==="}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4838,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4838,"endColumn":55,"fix":{"range":[178381,178389],"text":"'string'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4838,"column":79,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4838,"endColumn":80,"fix":{"range":[178412,178422],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4839,"column":13,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4839,"endColumn":14,"fix":{"range":[178426,178434],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4841,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4854,"endColumn":6,"fix":{"range":[178434,178434],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4841,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4841,"endColumn":17,"fix":{"range":[178450,178450],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4842,"column":62,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4842,"endColumn":63,"fix":{"range":[178497,178529],"text":"FormSubmissionState\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4843,"column":48,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4843,"endColumn":68,"fix":{"range":[178565,178585],"text":"'data-turbo-confirm'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4843,"column":103,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4843,"endColumn":104,"fix":{"range":[178619,178630],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4844,"column":42,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4844,"endColumn":50,"fix":{"range":[178663,178671],"text":"'string'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4845,"column":113,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4845,"endColumn":114,"fix":{"range":[178786,178799],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4847,"column":17,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4847,"endColumn":18,"fix":{"range":[178822,178839],"text":"return\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4850,"column":22,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4850,"endColumn":24},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4851,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4851,"endColumn":33,"fix":{"range":[178908,178934],"text":"requesting\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4852,"column":43,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4852,"endColumn":44,"fix":{"range":[178961,178971],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4855,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4862,"endColumn":6,"fix":{"range":[178977,178977],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4855,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4855,"endColumn":10,"fix":{"range":[178986,178986],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4856,"column":56,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4856,"endColumn":57,"fix":{"range":[179027,179056],"text":"FormSubmissionState\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":4857,"column":22,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4857,"endColumn":24},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":4857,"column":48,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4857,"endColumn":50},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4858,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4858,"endColumn":31,"fix":{"range":[179130,179152],"text":"stopping\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4859,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4859,"endColumn":36,"fix":{"range":[179173,179190],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4860,"column":20,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4860,"endColumn":21,"fix":{"range":[179191,179204],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4863,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4873,"endColumn":6,"fix":{"range":[179210,179210],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4863,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4863,"endColumn":20,"fix":{"range":[179229,179229],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4865,"column":53,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4865,"endColumn":65,"fix":{"range":[179322,179334],"text":"'csrf-param'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4865,"column":86,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4865,"endColumn":98,"fix":{"range":[179355,179367],"text":"'csrf-token'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4865,"column":99,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4865,"endColumn":100,"fix":{"range":[179367,179380],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4867,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4867,"endColumn":41,"fix":{"range":[179417,179431],"text":"'X-CSRF-Token'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4867,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4867,"endColumn":51,"fix":{"range":[179435,179451],"text":"token\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4871,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4871,"endColumn":63,"fix":{"range":[179581,179591],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4874,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4884,"endColumn":6,"fix":{"range":[179597,179597],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4874,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4874,"endColumn":20,"fix":{"range":[179616,179616],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4875,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4875,"endColumn":15,"fix":{"range":[179635,179638],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4875,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4875,"endColumn":15,"fix":{"range":[179639,179654],"text":"_a2\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4877,"column":50,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4877,"endColumn":56},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4877,"column":59,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4877,"endColumn":65},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4877,"column":85,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4877,"endColumn":95,"fix":{"range":[179776,179786],"text":"'disabled'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4877,"column":97,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4877,"endColumn":99,"fix":{"range":[179788,179790],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4877,"column":100,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4877,"endColumn":101,"fix":{"range":[179790,179803],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4878,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4878,"endColumn":29,"fix":{"range":[179819,179836],"text":")\n dispatch"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4879,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4879,"endColumn":36,"fix":{"range":[179837,179857],"text":"'turbo:submit-start'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4882,"column":9,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4882,"endColumn":10,"fix":{"range":[179943,179956],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4883,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4883,"endColumn":49,"fix":{"range":[179992,180000],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4885,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4887,"endColumn":6,"fix":{"range":[180000,180000],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4885,"column":37,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4885,"endColumn":38,"fix":{"range":[180037,180037],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4886,"column":77,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4886,"endColumn":78,"fix":{"range":[180134,180142],"text":"}\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4888,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4899,"endColumn":6,"fix":{"range":[180142,180142],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4888,"column":33,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4888,"endColumn":34,"fix":{"range":[180175,180175],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4890,"column":71,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4890,"endColumn":72,"fix":{"range":[180324,180334],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4892,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4892,"endColumn":84,"fix":{"range":[180460,180510],"text":"'Form responses must redirect to another location'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4892,"column":85,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4892,"endColumn":86,"fix":{"range":[180510,180525],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4893,"column":58,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4893,"endColumn":59,"fix":{"range":[180569,180579],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4895,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4895,"endColumn":52,"fix":{"range":[180628,180651],"text":"receiving\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4896,"column":65,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4896,"endColumn":66,"fix":{"range":[180702,180717],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4897,"column":74,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4897,"endColumn":75,"fix":{"range":[180777,180787],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4900,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4903,"endColumn":6,"fix":{"range":[180793,180793],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4900,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4900,"endColumn":31,"fix":{"range":[180823,180823],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4901,"column":64,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4901,"endColumn":65,"fix":{"range":[180907,180920],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4902,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4902,"endColumn":70,"fix":{"range":[180977,180985],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4904,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4907,"endColumn":6,"fix":{"range":[180985,180985],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4904,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4904,"endColumn":20,"fix":{"range":[181004,181004],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4905,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4905,"endColumn":55,"fix":{"range":[181076,181089],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4906,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4906,"endColumn":57,"fix":{"range":[181133,181141],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4908,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4918,"endColumn":6,"fix":{"range":[181141,181141],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4908,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4908,"endColumn":21,"fix":{"range":[181161,181161],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4909,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4909,"endColumn":15,"fix":{"range":[181180,181183],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4909,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4909,"endColumn":15,"fix":{"range":[181184,181199],"text":"_a2\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4911,"column":50,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4911,"endColumn":56},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4911,"column":59,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4911,"endColumn":65},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4911,"column":88,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4911,"endColumn":98,"fix":{"range":[181324,181334],"text":"'disabled'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4911,"column":99,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4911,"endColumn":100,"fix":{"range":[181334,181347],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4912,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4912,"endColumn":33,"fix":{"range":[181367,181384],"text":")\n dispatch"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4913,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4913,"endColumn":34,"fix":{"range":[181385,181403],"text":"'turbo:submit-end'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4916,"column":9,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4916,"endColumn":10,"fix":{"range":[181517,181530],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4917,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4917,"endColumn":50,"fix":{"range":[181567,181575],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4919,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4930,"endColumn":6,"fix":{"range":[181575,181575],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4919,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4919,"endColumn":20,"fix":{"range":[181594,181594],"text":" "}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":4921,"column":9,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":4921,"endColumn":16,"fix":{"range":[181655,181662],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4921,"column":15,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4921,"endColumn":16,"fix":{"range":[181655,181671],"text":"return\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4922,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4922,"endColumn":42,"fix":{"range":[181696,181704],"text":"'button'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4923,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4923,"endColumn":60,"fix":{"range":[181758,181781],"text":"innerHTML\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4924,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4924,"endColumn":53,"fix":{"range":[181809,181829],"text":"submitsWith\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4925,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4925,"endColumn":48,"fix":{"range":[181862,181869],"text":"'input'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4926,"column":37,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4926,"endColumn":38,"fix":{"range":[181901,181924],"text":"submitter\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4927,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4927,"endColumn":47,"fix":{"range":[181952,181972],"text":"value\n input"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4928,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4928,"endColumn":40,"fix":{"range":[181986,182006],"text":"submitsWith\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4931,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4940,"endColumn":6,"fix":{"range":[182012,182012],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4931,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4931,"endColumn":24,"fix":{"range":[182035,182035],"text":" "}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":4933,"column":9,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":4933,"endColumn":16,"fix":{"range":[182103,182110],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4933,"column":15,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4933,"endColumn":16,"fix":{"range":[182103,182119],"text":"return\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4934,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4934,"endColumn":42,"fix":{"range":[182144,182152],"text":"'button'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4935,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4935,"endColumn":60,"fix":{"range":[182197,182224],"text":"originalSubmitText\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4936,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4936,"endColumn":48,"fix":{"range":[182257,182264],"text":"'input'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4937,"column":37,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4937,"endColumn":38,"fix":{"range":[182296,182320],"text":"submitter\n input"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4938,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4938,"endColumn":47,"fix":{"range":[182334,182361],"text":"originalSubmitText\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4941,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4943,"endColumn":6,"fix":{"range":[182367,182367],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4941,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4941,"endColumn":25,"fix":{"range":[182391,182391],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4942,"column":50,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4942,"endColumn":51,"fix":{"range":[182440,182459],"text":"mustRedirect\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4944,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4946,"endColumn":6,"fix":{"range":[182459,182459],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4944,"column":38,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4944,"endColumn":39,"fix":{"range":[182497,182497],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4945,"column":46,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4945,"endColumn":65,"fix":{"range":[182554,182573],"text":"'data-turbo-stream'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4945,"column":100,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4945,"endColumn":101,"fix":{"range":[182607,182615],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4947,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4950,"endColumn":6,"fix":{"range":[182615,182615],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4947,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4947,"endColumn":21,"fix":{"range":[182635,182635],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4948,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":4948,"endColumn":15,"fix":{"range":[182646,182649],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4948,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4948,"endColumn":15,"fix":{"range":[182650,182667],"text":"_a2\n return"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4949,"column":57,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4949,"endColumn":63},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4949,"column":66,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4949,"endColumn":72},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4949,"column":92,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4949,"endColumn":117,"fix":{"range":[182746,182771],"text":"'data-turbo-submits-with'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4949,"column":118,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4949,"endColumn":119,"fix":{"range":[182771,182779],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4951,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4951,"endColumn":5,"fix":{"range":[182782,182795],"text":"}\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4952,"column":25,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4952,"endColumn":26,"fix":{"range":[182809,182809],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4953,"column":47,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4953,"endColumn":48,"fix":{"range":[182881,182893],"text":")\n const"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4954,"column":54,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4954,"endColumn":60},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4954,"column":63,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4954,"endColumn":69},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4954,"column":95,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4954,"endColumn":101,"fix":{"range":[182978,182984],"text":"'name'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4954,"column":102,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4954,"endColumn":103,"fix":{"range":[182984,182996],"text":")\n const"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4955,"column":55,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4955,"endColumn":61},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4955,"column":64,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4955,"endColumn":70},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4955,"column":96,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4955,"endColumn":103,"fix":{"range":[183082,183089],"text":"'value'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4955,"column":104,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4955,"endColumn":105,"fix":{"range":[183089,183098],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4957,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4957,"endColumn":40,"fix":{"range":[183145,183147],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4957,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4957,"endColumn":42,"fix":{"range":[183147,183155],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4959,"column":20,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4959,"endColumn":21,"fix":{"range":[183167,183180],"text":"formData\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4961,"column":26,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4961,"endColumn":27,"fix":{"range":[183206,183206],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4963,"column":63,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4963,"endColumn":67,"fix":{"range":[183313,183317],"text":"'; '"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4963,"column":73,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4963,"endColumn":74,"fix":{"range":[183322,183336],"text":"]\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4964,"column":79,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4964,"endColumn":80,"fix":{"range":[183402,183413],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4966,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4966,"endColumn":39,"fix":{"range":[183460,183463],"text":"'='"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":4966,"column":55,"nodeType":"Literal","messageId":"wrongQuotes","endLine":4966,"endColumn":58,"fix":{"range":[183479,183482],"text":"'='"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4966,"column":59,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4966,"endColumn":60,"fix":{"range":[183482,183499],"text":")\n return"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":4967,"column":52,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":4967,"endColumn":58},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4967,"column":58,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4967,"endColumn":59,"fix":{"range":[183541,183551],"text":"0\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4971,"column":44,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4971,"endColumn":45,"fix":{"range":[183605,183605],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":4972,"column":32,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":4972,"endColumn":34},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4972,"column":62,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4972,"endColumn":63,"fix":{"range":[183669,183684],"text":"redirected\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4974,"column":32,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":4974,"endColumn":33,"fix":{"range":[183716,183716],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4975,"column":47,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":4975,"endColumn":48,"fix":{"range":[183778,183788],"text":")\n for"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":4978,"column":9,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":4978,"endColumn":18,"fix":{"range":[183865,183874],"text":"{continue;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4978,"column":17,"nodeType":"ContinueStatement","messageId":"extraSemi","endLine":4978,"endColumn":18,"fix":{"range":[183865,183893],"text":"continue\n searchParams"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4979,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4979,"endColumn":40,"fix":{"range":[183912,183920],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4981,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4981,"endColumn":42,"fix":{"range":[183960,183973],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4982,"column":15,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4982,"endColumn":16,"fix":{"range":[183974,183982],"text":"url\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":4984,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5030,"endColumn":5,"fix":{"range":[183985,183988],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4985,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4985,"endColumn":17,"fix":{"range":[184023,184023],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4986,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":4986,"endColumn":30,"fix":{"range":[184056,184070],"text":"element\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4988,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4990,"endColumn":6,"fix":{"range":[184070,184070],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4988,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4988,"endColumn":23,"fix":{"range":[184092,184092],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4989,"column":54,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4989,"endColumn":55,"fix":{"range":[184137,184157],"text":"activeElement\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4991,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4993,"endColumn":6,"fix":{"range":[184157,184157],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4991,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4991,"endColumn":18,"fix":{"range":[184174,184174],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4992,"column":40,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4992,"endColumn":41,"fix":{"range":[184217,184225],"text":"]\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4994,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4996,"endColumn":6,"fix":{"range":[184225,184225],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4994,"column":14,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4994,"endColumn":15,"fix":{"range":[184239,184239],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4995,"column":54,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4995,"endColumn":55,"fix":{"range":[184299,184310],"text":"null\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":4997,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":4999,"endColumn":6,"fix":{"range":[184310,184310],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":4997,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":4997,"endColumn":25,"fix":{"range":[184334,184334],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":4998,"column":97,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":4998,"endColumn":98,"fix":{"range":[184437,184448],"text":"null\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5000,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5002,"endColumn":6,"fix":{"range":[184448,184448],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5000,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5000,"endColumn":21,"fix":{"range":[184468,184468],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5001,"column":38,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5001,"endColumn":39,"fix":{"range":[184499,184517],"text":"isConnected\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5003,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5012,"endColumn":6,"fix":{"range":[184517,184517],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5003,"column":34,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5003,"endColumn":35,"fix":{"range":[184551,184551],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5004,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5004,"endColumn":108,"fix":{"range":[184592,184663],"text":"'[inert], :disabled, [hidden], details:not([open]), dialog:not([open])'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5004,"column":108,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5004,"endColumn":109,"fix":{"range":[184592,184674],"text":"\"[inert], :disabled, [hidden], details:not([open]), dialog:not([open])\"\n for"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5005,"column":59,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5005,"endColumn":72,"fix":{"range":[184723,184736],"text":"'[autofocus]'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":5007,"column":11,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":5007,"endColumn":26,"fix":{"range":[184811,184826],"text":"{return element;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5007,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5007,"endColumn":26,"fix":{"range":[184818,184839],"text":"element\n else"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'else'.","line":5009,"column":11,"nodeType":"IfStatement","messageId":"missingCurlyAfter","endLine":5009,"endColumn":20,"fix":{"range":[184850,184859],"text":"{continue;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5009,"column":19,"nodeType":"ContinueStatement","messageId":"extraSemi","endLine":5009,"endColumn":20,"fix":{"range":[184850,184867],"text":"continue\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5011,"column":18,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5011,"endColumn":19,"fix":{"range":[184881,184892],"text":"null\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5013,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5015,"endColumn":6,"fix":{"range":[184892,184892],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5013,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5013,"endColumn":27,"fix":{"range":[184918,184918],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5014,"column":53,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5014,"endColumn":54,"fix":{"range":[184974,184982],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5016,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5018,"endColumn":6,"fix":{"range":[184982,184982],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5016,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5016,"endColumn":29,"fix":{"range":[185010,185010],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5017,"column":56,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5017,"endColumn":57,"fix":{"range":[185072,185080],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5019,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5029,"endColumn":6,"fix":{"range":[185080,185080],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5019,"column":38,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5019,"endColumn":39,"fix":{"range":[185118,185118],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5020,"column":37,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5020,"endColumn":38,"fix":{"range":[185166,185178],"text":"}\n for"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5022,"column":52,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5022,"endColumn":53,"fix":{"range":[185267,185305],"text":"currentPermanentElement\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5023,"column":74,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5023,"endColumn":75,"fix":{"range":[185364,185377],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5025,"column":84,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5025,"endColumn":85,"fix":{"range":[185484,185496],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5028,"column":33,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5028,"endColumn":34,"fix":{"range":[185518,185544],"text":"permanentElementMap\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5030,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5030,"endColumn":5,"fix":{"range":[185547,185560],"text":"}\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5031,"column":35,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":5031,"endColumn":36,"fix":{"range":[185584,185584],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5032,"column":63,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5032,"endColumn":64,"fix":{"range":[185659,185665],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5034,"column":37,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":5034,"endColumn":38,"fix":{"range":[185702,185702],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5035,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5035,"endColumn":62,"fix":{"range":[185744,185772],"text":"'[id][data-turbo-permanent]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5035,"column":63,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5035,"endColumn":64,"fix":{"range":[185772,185778],"text":")\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5037,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5070,"endColumn":5,"fix":{"range":[185781,185784],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5038,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5038,"endColumn":17,"fix":{"range":[185829,185829],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5039,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5039,"endColumn":28,"fix":{"range":[185876,185893],"text":"false\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5041,"column":46,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5041,"endColumn":54,"fix":{"range":[185964,185972],"text":"'submit'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5041,"column":82,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5041,"endColumn":83,"fix":{"range":[185999,186014],"text":")\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5042,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5042,"endColumn":51,"fix":{"range":[186044,186052],"text":"'submit'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5042,"column":79,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5042,"endColumn":80,"fix":{"range":[186079,186089],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5043,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5043,"endColumn":9,"fix":{"range":[186088,186101],"text":"}\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5046,"column":81,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5046,"endColumn":87},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5046,"column":87,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5046,"endColumn":88,"fix":{"range":[186255,186273],"text":"0\n const"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5047,"column":48,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5047,"endColumn":54},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5047,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5047,"endColumn":55,"fix":{"range":[186310,186325],"text":"0\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5049,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5049,"endColumn":36,"fix":{"range":[186518,186538],"text":")\n event"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5050,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5050,"endColumn":46,"fix":{"range":[186564,186583],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5051,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5051,"endColumn":58,"fix":{"range":[186622,186636],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5054,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5054,"endColumn":9,"fix":{"range":[186653,186666],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5055,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5055,"endColumn":32,"fix":{"range":[186678,186698],"text":"delegate\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5056,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5056,"endColumn":38,"fix":{"range":[186713,186731],"text":"eventTarget\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5058,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5063,"endColumn":6,"fix":{"range":[186731,186731],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5058,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5058,"endColumn":11,"fix":{"range":[186741,186741],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5060,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5060,"endColumn":51,"fix":{"range":[186815,186823],"text":"'submit'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5060,"column":79,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5060,"endColumn":80,"fix":{"range":[186850,186865],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5061,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5061,"endColumn":29,"fix":{"range":[186876,186889],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5064,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5069,"endColumn":6,"fix":{"range":[186895,186895],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5064,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5064,"endColumn":10,"fix":{"range":[186904,186904],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5066,"column":46,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5066,"endColumn":54,"fix":{"range":[186980,186988],"text":"'submit'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5066,"column":82,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5066,"endColumn":83,"fix":{"range":[187015,187030],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5067,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5067,"endColumn":30,"fix":{"range":[187041,187055],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5070,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5070,"endColumn":5,"fix":{"range":[187064,187077],"text":"}\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5071,"column":42,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":5071,"endColumn":43,"fix":{"range":[187108,187108],"text":" "}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5072,"column":57,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5072,"endColumn":63},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5072,"column":66,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5072,"endColumn":72},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5072,"column":98,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5072,"endColumn":110,"fix":{"range":[187225,187237],"text":"'formmethod'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5072,"column":134,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5072,"endColumn":142,"fix":{"range":[187261,187269],"text":"'method'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5072,"column":143,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5072,"endColumn":144,"fix":{"range":[187269,187282],"text":")\n return"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":5073,"column":19,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5073,"endColumn":21},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5073,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5073,"endColumn":30,"fix":{"range":[187293,187301],"text":"'dialog'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5073,"column":30,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5073,"endColumn":31,"fix":{"range":[187293,187306],"text":"\"dialog\"\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5075,"column":41,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":5075,"endColumn":42,"fix":{"range":[187347,187347],"text":" "}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5076,"column":46,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5076,"endColumn":52},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5076,"column":55,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5076,"endColumn":61},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5076,"column":87,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5076,"endColumn":99,"fix":{"range":[187453,187465],"text":"'formtarget'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5076,"column":123,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5076,"endColumn":131,"fix":{"range":[187489,187497],"text":"'target'"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5077,"column":59,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5077,"endColumn":65},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5077,"column":68,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5077,"endColumn":74},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5077,"column":100,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5077,"endColumn":112,"fix":{"range":[187601,187613],"text":"'formtarget'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5077,"column":129,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5077,"endColumn":130,"fix":{"range":[187624,187641],"text":"target\n for"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":5080,"column":11,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":5080,"endColumn":24,"fix":{"range":[187758,187771],"text":"{return false;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5080,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5080,"endColumn":24,"fix":{"range":[187765,187779],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5082,"column":18,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5082,"endColumn":19,"fix":{"range":[187793,187804],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5084,"column":18,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5084,"endColumn":19,"fix":{"range":[187825,187836],"text":"true\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5087,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5176,"endColumn":5,"fix":{"range":[187843,187846],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5088,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5088,"endColumn":17,"fix":{"range":[187877,187877],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5090,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5090,"endColumn":9,"fix":{"range":[187953,187966],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5092,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5092,"endColumn":9,"fix":{"range":[188016,188029],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5093,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5093,"endColumn":32,"fix":{"range":[188041,188061],"text":"delegate\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5094,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5094,"endColumn":30,"fix":{"range":[188072,188086],"text":"element\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5096,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5104,"endColumn":6,"fix":{"range":[188086,188086],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5096,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5096,"endColumn":20,"fix":{"range":[188105,188105],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5097,"column":64,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5097,"endColumn":65,"fix":{"range":[188178,188189],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5099,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5099,"endColumn":39,"fix":{"range":[188238,188253],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5100,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5100,"endColumn":36,"fix":{"range":[188274,188284],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5102,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5102,"endColumn":47,"fix":{"range":[188336,188346],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5105,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5107,"endColumn":6,"fix":{"range":[188352,188352],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5105,"column":31,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5105,"endColumn":32,"fix":{"range":[188383,188383],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5106,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5106,"endColumn":49,"fix":{"range":[188443,188451],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5108,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5110,"endColumn":6,"fix":{"range":[188451,188451],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5108,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5108,"endColumn":21,"fix":{"range":[188471,188471],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5109,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5109,"endColumn":32,"fix":{"range":[188512,188520],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5111,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5121,"endColumn":6,"fix":{"range":[188520,188520],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5111,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5111,"endColumn":18,"fix":{"range":[188537,188537],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5113,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5113,"endColumn":44,"fix":{"range":[188626,188636],"text":"'tabindex'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5114,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5114,"endColumn":27,"fix":{"range":[188665,188677],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5116,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5116,"endColumn":42,"fix":{"range":[188716,188726],"text":"'tabindex'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5116,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5116,"endColumn":48,"fix":{"range":[188728,188732],"text":"'-1'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5116,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5116,"endColumn":50,"fix":{"range":[188732,188752],"text":")\n element"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5117,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5117,"endColumn":27,"fix":{"range":[188759,188779],"text":")\n element"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5118,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5118,"endColumn":45,"fix":{"range":[188796,188806],"text":"'tabindex'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5118,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5118,"endColumn":47,"fix":{"range":[188806,188818],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5122,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5124,"endColumn":6,"fix":{"range":[188832,188832],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5122,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5122,"endColumn":22,"fix":{"range":[188853,188853],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5123,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5123,"endColumn":40,"fix":{"range":[188911,188919],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5125,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5127,"endColumn":6,"fix":{"range":[188919,188919],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5125,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5125,"endColumn":17,"fix":{"range":[188935,188935],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5126,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5126,"endColumn":45,"fix":{"range":[188982,188990],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5128,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5130,"endColumn":6,"fix":{"range":[188990,188990],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5128,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5128,"endColumn":20,"fix":{"range":[189009,189009],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5129,"column":20,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5129,"endColumn":21,"fix":{"range":[189027,189040],"text":"window\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5131,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5155,"endColumn":6,"fix":{"range":[189040,189040],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5131,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5131,"endColumn":18,"fix":{"range":[189057,189057],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5132,"column":74,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5132,"endColumn":75,"fix":{"range":[189135,189153],"text":"renderer\n if"}},{"ruleId":"no-return-assign","severity":2,"message":"Arrow function should not return assignment.","line":5135,"column":44,"nodeType":"ArrowFunctionExpression","messageId":"arrowAssignment","endLine":5135,"endColumn":92},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5135,"column":93,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5135,"endColumn":94,"fix":{"range":[189276,189293],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5136,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5136,"endColumn":36,"fix":{"range":[189305,189330],"text":"renderer\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5137,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5137,"endColumn":56,"fix":{"range":[189368,189386],"text":")\n const"}},{"ruleId":"no-return-assign","severity":2,"message":"Arrow function should not return assignment.","line":5138,"column":50,"nodeType":"ArrowFunctionExpression","messageId":"arrowAssignment","endLine":5138,"endColumn":104},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5138,"column":105,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5138,"endColumn":106,"fix":{"range":[189474,189492],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5139,"column":108,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5139,"endColumn":109,"fix":{"range":[189583,189601],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5140,"column":90,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5140,"endColumn":91,"fix":{"range":[189674,189689],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":5142,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":5142,"endColumn":38,"fix":{"range":[189721,189746],"text":"{await renderInterception;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5142,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5142,"endColumn":38,"fix":{"range":[189727,189762],"text":"renderInterception\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5143,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5143,"endColumn":47,"fix":{"range":[189791,189808],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5144,"column":66,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5144,"endColumn":67,"fix":{"range":[189858,189875],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5145,"column":64,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5145,"endColumn":65,"fix":{"range":[189923,189940],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5146,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5146,"endColumn":50,"fix":{"range":[189973,189985],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5148,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5148,"endColumn":32,"fix":{"range":[190018,190042],"text":"renderer\n this"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5149,"column":37,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5149,"endColumn":43},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5149,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5149,"endColumn":45,"fix":{"range":[190070,190089],"text":")\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5150,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5150,"endColumn":37,"fix":{"range":[190095,190119],"text":"renderPromise\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5153,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5153,"endColumn":48,"fix":{"range":[190180,190190],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5156,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5158,"endColumn":6,"fix":{"range":[190196,190196],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5156,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5156,"endColumn":16,"fix":{"range":[190211,190211],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5157,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5157,"endColumn":45,"fix":{"range":[190264,190272],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5159,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5162,"endColumn":6,"fix":{"range":[190272,190272],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5159,"column":34,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5159,"endColumn":35,"fix":{"range":[190306,190306],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5160,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5160,"endColumn":46,"fix":{"range":[190362,190376],"text":")\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5161,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5161,"endColumn":40,"fix":{"range":[190402,190410],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5163,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5169,"endColumn":6,"fix":{"range":[190410,190410],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5163,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5163,"endColumn":19,"fix":{"range":[190428,190428],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5165,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5165,"endColumn":55,"fix":{"range":[190499,190519],"text":"'data-turbo-preview'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5165,"column":57,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5165,"endColumn":59,"fix":{"range":[190521,190523],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5165,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5165,"endColumn":61,"fix":{"range":[190523,190533],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5167,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5167,"endColumn":58,"fix":{"range":[190578,190598],"text":"'data-turbo-preview'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5167,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5167,"endColumn":60,"fix":{"range":[190598,190608],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5170,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5172,"endColumn":6,"fix":{"range":[190614,190614],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5170,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5170,"endColumn":26,"fix":{"range":[190639,190639],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5171,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5171,"endColumn":31,"fix":{"range":[190680,190688],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5173,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5175,"endColumn":6,"fix":{"range":[190688,190688],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5173,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5173,"endColumn":29,"fix":{"range":[190716,190716],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5174,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5174,"endColumn":34,"fix":{"range":[190760,190768],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5176,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5176,"endColumn":5,"fix":{"range":[190771,190779],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5177,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5184,"endColumn":5,"fix":{"range":[190776,190779],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5178,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5178,"endColumn":13,"fix":{"range":[190824,190824],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5179,"column":32,"nodeType":"TemplateLiteral","messageId":"wrongQuotes","endLine":5179,"endColumn":92,"fix":{"range":[190860,190920],"text":"'Content missing'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5179,"column":92,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5179,"endColumn":93,"fix":{"range":[190860,190927],"text":"`Content missing`\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5181,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5183,"endColumn":6,"fix":{"range":[190927,190927],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5181,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5181,"endColumn":18,"fix":{"range":[190944,190944],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5182,"column":40,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5182,"endColumn":41,"fix":{"range":[190987,190995],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5184,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5184,"endColumn":5,"fix":{"range":[190998,191006],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5185,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5224,"endColumn":5,"fix":{"range":[191003,191006],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5186,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5186,"endColumn":17,"fix":{"range":[191048,191048],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5189,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5189,"endColumn":35,"fix":{"range":[191193,191209],"text":"event\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5191,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5191,"endColumn":34,"fix":{"range":[191239,191260],"text":"clickEvent\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5193,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5193,"endColumn":9,"fix":{"range":[191267,191280],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5197,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5197,"endColumn":46,"fix":{"range":[191577,191597],"text":")\n event"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5198,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5198,"endColumn":36,"fix":{"range":[191613,191632],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5199,"column":107,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5199,"endColumn":108,"fix":{"range":[191721,191735],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5202,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5202,"endColumn":32,"fix":{"range":[191766,191785],"text":"clickEvent\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5203,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5203,"endColumn":9,"fix":{"range":[191784,191797],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5205,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5205,"endColumn":32,"fix":{"range":[191844,191863],"text":"clickEvent\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5206,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5206,"endColumn":9,"fix":{"range":[191862,191875],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5207,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5207,"endColumn":32,"fix":{"range":[191887,191907],"text":"delegate\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5208,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5208,"endColumn":30,"fix":{"range":[191918,191932],"text":"element\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5210,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5214,"endColumn":6,"fix":{"range":[191932,191932],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5210,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5210,"endColumn":11,"fix":{"range":[191942,191942],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5211,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5211,"endColumn":44,"fix":{"range":[191983,191990],"text":"'click'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5211,"column":64,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5211,"endColumn":65,"fix":{"range":[192009,192026],"text":")\n document"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5212,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5212,"endColumn":46,"fix":{"range":[192044,192057],"text":"'turbo:click'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5212,"column":65,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5212,"endColumn":66,"fix":{"range":[192075,192092],"text":")\n document"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5213,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5213,"endColumn":53,"fix":{"range":[192110,192130],"text":"'turbo:before-visit'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5213,"column":70,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5213,"endColumn":71,"fix":{"range":[192146,192154],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5215,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5219,"endColumn":6,"fix":{"range":[192154,192154],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5215,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5215,"endColumn":10,"fix":{"range":[192163,192163],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5216,"column":40,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5216,"endColumn":47,"fix":{"range":[192207,192214],"text":"'click'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5216,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5216,"endColumn":68,"fix":{"range":[192233,192250],"text":")\n document"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5217,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5217,"endColumn":49,"fix":{"range":[192271,192284],"text":"'turbo:click'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5217,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5217,"endColumn":69,"fix":{"range":[192302,192319],"text":")\n document"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5218,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5218,"endColumn":56,"fix":{"range":[192340,192360],"text":"'turbo:before-visit'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5218,"column":73,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5218,"endColumn":74,"fix":{"range":[192376,192384],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5220,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5223,"endColumn":6,"fix":{"range":[192384,192384],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5220,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5220,"endColumn":27,"fix":{"range":[192410,192410],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5221,"column":112,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5221,"endColumn":113,"fix":{"range":[192528,192546],"text":"null\n return"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5222,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5222,"endColumn":60,"fix":{"range":[192574,192593],"text":"'turbo-frame, html'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5222,"column":62,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5222,"endColumn":64},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5222,"column":77,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5222,"endColumn":78,"fix":{"range":[192603,192617],"text":"element\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5224,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5224,"endColumn":5,"fix":{"range":[192620,192628],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5225,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5269,"endColumn":5,"fix":{"range":[192625,192628],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5226,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5226,"endColumn":17,"fix":{"range":[192672,192672],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5227,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5227,"endColumn":28,"fix":{"range":[192719,192736],"text":"false\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5229,"column":46,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5229,"endColumn":53,"fix":{"range":[192806,192813],"text":"'click'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5229,"column":80,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5229,"endColumn":81,"fix":{"range":[192839,192854],"text":")\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5230,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5230,"endColumn":50,"fix":{"range":[192884,192891],"text":"'click'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5230,"column":77,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5230,"endColumn":78,"fix":{"range":[192917,192927],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5231,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5231,"endColumn":9,"fix":{"range":[192926,192939],"text":"}\n this"}},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations.","line":5234,"column":45,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":5234,"endColumn":47},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations.","line":5234,"column":72,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":5234,"endColumn":74},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5234,"column":87,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5234,"endColumn":88,"fix":{"range":[193130,193153],"text":"target\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5235,"column":60,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5235,"endColumn":61,"fix":{"range":[193196,193211],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5237,"column":60,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5237,"endColumn":61,"fix":{"range":[193308,193325],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5239,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5239,"endColumn":38,"fix":{"range":[193428,193449],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5240,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5240,"endColumn":69,"fix":{"range":[193497,193513],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5244,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5244,"endColumn":9,"fix":{"range":[193542,193555],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5245,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5245,"endColumn":32,"fix":{"range":[193567,193587],"text":"delegate\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5246,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5246,"endColumn":38,"fix":{"range":[193602,193620],"text":"eventTarget\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5248,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5253,"endColumn":6,"fix":{"range":[193620,193620],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5248,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5248,"endColumn":11,"fix":{"range":[193630,193630],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5250,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5250,"endColumn":50,"fix":{"range":[193704,193711],"text":"'click'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5250,"column":77,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5250,"endColumn":78,"fix":{"range":[193737,193752],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5251,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5251,"endColumn":29,"fix":{"range":[193763,193776],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5254,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5259,"endColumn":6,"fix":{"range":[193782,193782],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5254,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5254,"endColumn":10,"fix":{"range":[193791,193791],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5256,"column":46,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5256,"endColumn":53,"fix":{"range":[193867,193874],"text":"'click'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5256,"column":80,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5256,"endColumn":81,"fix":{"range":[193900,193915],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5257,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5257,"endColumn":30,"fix":{"range":[193926,193940],"text":"false\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5260,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5262,"endColumn":6,"fix":{"range":[193946,193946],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5260,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5260,"endColumn":29,"fix":{"range":[193974,193974],"text":" "}},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations.","line":5261,"column":29,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":5261,"endColumn":31},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations.","line":5261,"column":63,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":5261,"endColumn":65},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5261,"column":176,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5261,"endColumn":177,"fix":{"range":[194158,194166],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5263,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5265,"endColumn":6,"fix":{"range":[194166,194166],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5263,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5263,"endColumn":29,"fix":{"range":[194194,194194],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5264,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5264,"endColumn":87,"fix":{"range":[194249,194291],"text":"'a[href]:not([target^=_]):not([download])'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5264,"column":88,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5264,"endColumn":89,"fix":{"range":[194291,194299],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5266,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5268,"endColumn":6,"fix":{"range":[194299,194299],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5266,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5266,"endColumn":24,"fix":{"range":[194322,194322],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5267,"column":42,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5267,"endColumn":48,"fix":{"range":[194372,194378],"text":"'href'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5267,"column":53,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5267,"endColumn":55,"fix":{"range":[194383,194385],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5267,"column":56,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5267,"endColumn":57,"fix":{"range":[194385,194393],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5269,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5269,"endColumn":5,"fix":{"range":[194396,194409],"text":"}\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5270,"column":31,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":5270,"endColumn":32,"fix":{"range":[194429,194429],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5271,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5271,"endColumn":37,"fix":{"range":[194468,194476],"text":"'target'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":5274,"column":11,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":5274,"endColumn":24,"fix":{"range":[194614,194627],"text":"{return false;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5274,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5274,"endColumn":24,"fix":{"range":[194621,194635],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5276,"column":18,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5276,"endColumn":19,"fix":{"range":[194649,194660],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5278,"column":18,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5278,"endColumn":19,"fix":{"range":[194681,194692],"text":"true\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5281,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5325,"endColumn":5,"fix":{"range":[194699,194702],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5282,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5282,"endColumn":17,"fix":{"range":[194750,194750],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5283,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5283,"endColumn":32,"fix":{"range":[194794,194814],"text":"delegate\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5284,"column":66,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5284,"endColumn":67,"fix":{"range":[194868,194876],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5286,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5288,"endColumn":6,"fix":{"range":[194876,194876],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5286,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5286,"endColumn":11,"fix":{"range":[194886,194886],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5287,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5287,"endColumn":36,"fix":{"range":[194924,194932],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5289,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5291,"endColumn":6,"fix":{"range":[194932,194932],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5289,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5289,"endColumn":10,"fix":{"range":[194941,194941],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5290,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5290,"endColumn":35,"fix":{"range":[194978,194986],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5292,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5294,"endColumn":6,"fix":{"range":[194986,194986],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5292,"column":29,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5292,"endColumn":30,"fix":{"range":[195015,195015],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5293,"column":110,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5293,"endColumn":129,"fix":{"range":[195159,195178],"text":"'data-turbo-method'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5293,"column":130,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5293,"endColumn":131,"fix":{"range":[195178,195186],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5295,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5324,"endColumn":6,"fix":{"range":[195186,195186],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5295,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5295,"endColumn":28,"fix":{"range":[195213,195213],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5296,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5296,"endColumn":49,"fix":{"range":[195275,195281],"text":"'form'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5296,"column":50,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5296,"endColumn":51,"fix":{"range":[195281,195295],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5297,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5297,"endColumn":28,"fix":{"range":[195303,195311],"text":"'hidden'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5297,"column":28,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5297,"endColumn":29,"fix":{"range":[195303,195322],"text":"\"hidden\"\n for"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5299,"column":58,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5299,"endColumn":65,"fix":{"range":[195430,195437],"text":"'input'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5299,"column":91,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5299,"endColumn":92,"fix":{"range":[195462,195472],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5301,"column":57,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5301,"endColumn":59,"fix":{"range":[195529,195531],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5301,"column":62,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5301,"endColumn":63,"fix":{"range":[195533,195546],"text":")\n form"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5302,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5302,"endColumn":37,"fix":{"range":[195560,195572],"text":"'data-turbo'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5302,"column":39,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5302,"endColumn":45,"fix":{"range":[195574,195580],"text":"'true'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5302,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5302,"endColumn":47,"fix":{"range":[195580,195593],"text":")\n form"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5303,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5303,"endColumn":33,"fix":{"range":[195607,195615],"text":"'action'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5303,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5303,"endColumn":48,"fix":{"range":[195628,195641],"text":")\n form"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5304,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5304,"endColumn":33,"fix":{"range":[195655,195663],"text":"'hidden'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5304,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5304,"endColumn":37,"fix":{"range":[195665,195667],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5304,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5304,"endColumn":39,"fix":{"range":[195667,195681],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5305,"column":40,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5305,"endColumn":59,"fix":{"range":[195709,195728],"text":"'data-turbo-method'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5305,"column":60,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5305,"endColumn":61,"fix":{"range":[195728,195739],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":5307,"column":9,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":5307,"endColumn":45,"fix":{"range":[195757,195793],"text":"{form.setAttribute(\"method\", method);}"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5307,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5307,"endColumn":35,"fix":{"range":[195775,195783],"text":"'method'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5307,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5307,"endColumn":45,"fix":{"range":[195791,195805],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5308,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5308,"endColumn":62,"fix":{"range":[195837,195855],"text":"'data-turbo-frame'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5308,"column":63,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5308,"endColumn":64,"fix":{"range":[195855,195866],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":5310,"column":9,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":5310,"endColumn":59,"fix":{"range":[195888,195938],"text":"{form.setAttribute(\"data-turbo-frame\", turboFrame);}"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5310,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5310,"endColumn":45,"fix":{"range":[195906,195924],"text":"'data-turbo-frame'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5310,"column":58,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5310,"endColumn":59,"fix":{"range":[195936,195950],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5311,"column":47,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5311,"endColumn":48,"fix":{"range":[195984,195995],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":5313,"column":9,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":5313,"endColumn":61,"fix":{"range":[196018,196070],"text":"{form.setAttribute(\"data-turbo-action\", turboAction);}"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5313,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5313,"endColumn":46,"fix":{"range":[196036,196055],"text":"'data-turbo-action'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5313,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5313,"endColumn":61,"fix":{"range":[196068,196082],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5314,"column":46,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5314,"endColumn":66,"fix":{"range":[196116,196136],"text":"'data-turbo-confirm'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5314,"column":67,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5314,"endColumn":68,"fix":{"range":[196136,196147],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":5316,"column":9,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":5316,"endColumn":63,"fix":{"range":[196171,196225],"text":"{form.setAttribute(\"data-turbo-confirm\", turboConfirm);}"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5316,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5316,"endColumn":47,"fix":{"range":[196189,196209],"text":"'data-turbo-confirm'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5316,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5316,"endColumn":63,"fix":{"range":[196223,196237],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5317,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5317,"endColumn":64,"fix":{"range":[196270,196289],"text":"'data-turbo-stream'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5317,"column":65,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5317,"endColumn":66,"fix":{"range":[196289,196300],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":5319,"column":9,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":5319,"endColumn":52,"fix":{"range":[196323,196366],"text":"{form.setAttribute(\"data-turbo-stream\", \"\");}"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5319,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5319,"endColumn":46,"fix":{"range":[196341,196360],"text":"'data-turbo-stream'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5319,"column":48,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5319,"endColumn":50,"fix":{"range":[196362,196364],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5319,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5319,"endColumn":52,"fix":{"range":[196364,196377],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5320,"column":71,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5320,"endColumn":72,"fix":{"range":[196436,196453],"text":")\n document"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5321,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5321,"endColumn":39,"fix":{"range":[196475,196488],"text":")\n form"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5322,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5322,"endColumn":47,"fix":{"range":[196506,196524],"text":"'turbo:submit-end'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5322,"column":85,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5322,"endColumn":86,"fix":{"range":[196561,196591],"text":")\n requestAnimationFrame"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5323,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5323,"endColumn":57,"fix":{"range":[196618,196626],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5325,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5325,"endColumn":5,"fix":{"range":[196629,196637],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5326,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5370,"endColumn":5,"fix":{"range":[196634,196637],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5327,"column":45,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5327,"endColumn":46,"fix":{"range":[196698,196698],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5328,"column":60,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5328,"endColumn":61,"fix":{"range":[196800,196814],"text":")\n bardo"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5329,"column":20,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5329,"endColumn":21,"fix":{"range":[196821,196835],"text":")\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5330,"column":23,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5330,"endColumn":24,"fix":{"range":[196845,196859],"text":")\n bardo"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5331,"column":20,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5331,"endColumn":21,"fix":{"range":[196866,196874],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5333,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5336,"endColumn":6,"fix":{"range":[196874,196874],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5333,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5333,"endColumn":17,"fix":{"range":[196890,196890],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5334,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5334,"endColumn":32,"fix":{"range":[196946,196966],"text":"delegate\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5335,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5335,"endColumn":54,"fix":{"range":[196989,197015],"text":"permanentElementMap\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5337,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5343,"endColumn":6,"fix":{"range":[197015,197015],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5337,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5337,"endColumn":11,"fix":{"range":[197025,197025],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5339,"column":93,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5339,"endColumn":94,"fix":{"range":[197173,197188],"text":"]\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5340,"column":82,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5340,"endColumn":83,"fix":{"range":[197256,197271],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5341,"column":76,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5341,"endColumn":77,"fix":{"range":[197333,197343],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5344,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5351,"endColumn":6,"fix":{"range":[197349,197349],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5344,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5344,"endColumn":11,"fix":{"range":[197359,197359],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5346,"column":72,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5346,"endColumn":73,"fix":{"range":[197486,197501],"text":"]\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5347,"column":78,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5347,"endColumn":79,"fix":{"range":[197565,197580],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5348,"column":77,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5348,"endColumn":78,"fix":{"range":[197643,197658],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5349,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5349,"endColumn":61,"fix":{"range":[197704,197714],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5352,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5355,"endColumn":6,"fix":{"range":[197720,197720],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5352,"column":46,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5352,"endColumn":47,"fix":{"range":[197766,197766],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5353,"column":81,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5353,"endColumn":82,"fix":{"range":[197866,197891],"text":")\n permanentElement"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5354,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5354,"endColumn":49,"fix":{"range":[197915,197923],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5356,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5359,"endColumn":6,"fix":{"range":[197923,197923],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5356,"column":44,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5356,"endColumn":45,"fix":{"range":[197967,197967],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5357,"column":53,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5357,"endColumn":54,"fix":{"range":[198039,198064],"text":")\n permanentElement"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5358,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5358,"endColumn":43,"fix":{"range":[198082,198090],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5360,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5363,"endColumn":6,"fix":{"range":[198090,198090],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5360,"column":43,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5360,"endColumn":44,"fix":{"range":[198133,198133],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5361,"column":71,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5361,"endColumn":72,"fix":{"range":[198223,198243],"text":")\n placeholder"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5362,"column":47,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5362,"endColumn":53},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5362,"column":56,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5362,"endColumn":62},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5362,"column":106,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5362,"endColumn":107,"fix":{"range":[198330,198338],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5364,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5366,"endColumn":6,"fix":{"range":[198338,198338],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5364,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5364,"endColumn":24,"fix":{"range":[198361,198361],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5365,"column":66,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5365,"endColumn":68},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5365,"column":73,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5365,"endColumn":74,"fix":{"range":[198440,198448],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5367,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5369,"endColumn":6,"fix":{"range":[198448,198448],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5367,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5367,"endColumn":22,"fix":{"range":[198469,198469],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5368,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5368,"endColumn":93,"fix":{"range":[198517,198566],"text":"'meta[name=turbo-permanent-placeholder][content]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5368,"column":95,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5368,"endColumn":96,"fix":{"range":[198567,198575],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5370,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5370,"endColumn":5,"fix":{"range":[198578,198591],"text":"}\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5371,"column":48,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":5371,"endColumn":49,"fix":{"range":[198628,198628],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5372,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5372,"endColumn":50,"fix":{"range":[198692,198698],"text":"'meta'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5372,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5372,"endColumn":52,"fix":{"range":[198698,198712],"text":")\n element"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5373,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5373,"endColumn":32,"fix":{"range":[198726,198732],"text":"'name'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5373,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5373,"endColumn":63,"fix":{"range":[198734,198763],"text":"'turbo-permanent-placeholder'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5373,"column":64,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5373,"endColumn":65,"fix":{"range":[198763,198777],"text":")\n element"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5374,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5374,"endColumn":35,"fix":{"range":[198791,198800],"text":"'content'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5374,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5374,"endColumn":58,"fix":{"range":[198821,198834],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5375,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5375,"endColumn":20,"fix":{"range":[198835,198847],"text":"element\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5377,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5436,"endColumn":5,"fix":{"range":[198850,198853],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5378,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5378,"endColumn":17,"fix":{"range":[198888,198888],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5379,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5379,"endColumn":33,"fix":{"range":[198993,199009],"text":"null\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5380,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5380,"endColumn":46,"fix":{"range":[199028,199055],"text":"currentSnapshot\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5381,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5381,"endColumn":38,"fix":{"range":[199070,199093],"text":"newSnapshot\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5382,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5382,"endColumn":34,"fix":{"range":[199106,199127],"text":"isPreview\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5383,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5383,"endColumn":36,"fix":{"range":[199141,199163],"text":"willRender\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5384,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5384,"endColumn":42,"fix":{"range":[199180,199205],"text":"renderElement\n this"}},{"ruleId":"no-return-assign","severity":2,"message":"Arrow function should not return assignment.","line":5385,"column":34,"nodeType":"ArrowFunctionExpression","messageId":"arrowAssignment","endLine":5385,"endColumn":100},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5385,"column":101,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5385,"endColumn":102,"fix":{"range":[199294,199302],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5387,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5389,"endColumn":6,"fix":{"range":[199302,199302],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5387,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5387,"endColumn":22,"fix":{"range":[199323,199323],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5388,"column":18,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5388,"endColumn":19,"fix":{"range":[199341,199352],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5390,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5392,"endColumn":6,"fix":{"range":[199352,199352],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5390,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5390,"endColumn":22,"fix":{"range":[199373,199373],"text":" "}},{"ruleId":"no-useless-return","severity":2,"message":"Unnecessary return statement.","line":5391,"column":7,"nodeType":"ReturnStatement","messageId":"unnecessaryReturn","endLine":5391,"endColumn":14,"fix":{"range":[199373,199397],"text":"() {\n \n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5391,"column":13,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5391,"endColumn":14,"fix":{"range":[199384,199397],"text":"return\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5393,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5395,"endColumn":6,"fix":{"range":[199397,199397],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5393,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5393,"endColumn":21,"fix":{"range":[199417,199417],"text":" "}},{"ruleId":"no-useless-return","severity":2,"message":"Unnecessary return statement.","line":5394,"column":7,"nodeType":"ReturnStatement","messageId":"unnecessaryReturn","endLine":5394,"endColumn":14,"fix":{"range":[199417,199441],"text":"() {\n \n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5394,"column":13,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5394,"endColumn":14,"fix":{"range":[199428,199441],"text":"return\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5396,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5401,"endColumn":6,"fix":{"range":[199441,199441],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5396,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5396,"endColumn":21,"fix":{"range":[199461,199461],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5398,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5398,"endColumn":43,"fix":{"range":[199543,199560],"text":")\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5399,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5399,"endColumn":40,"fix":{"range":[199566,199593],"text":"resolvingFunctions\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5402,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5404,"endColumn":6,"fix":{"range":[199599,199599],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5402,"column":38,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5402,"endColumn":39,"fix":{"range":[199637,199637],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5403,"column":88,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5403,"endColumn":89,"fix":{"range":[199736,199744],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5405,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5410,"endColumn":6,"fix":{"range":[199744,199744],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5405,"column":35,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5405,"endColumn":36,"fix":{"range":[199779,199779],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5406,"column":71,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5406,"endColumn":72,"fix":{"range":[199829,199864],"text":"firstAutofocusableElement\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5408,"column":24,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5408,"endColumn":25,"fix":{"range":[199919,199929],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5411,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5417,"endColumn":6,"fix":{"range":[199935,199935],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5411,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5411,"endColumn":19,"fix":{"range":[199953,199953],"text":" "}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":5413,"column":9,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":5413,"endColumn":16,"fix":{"range":[200019,200026],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5413,"column":15,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5413,"endColumn":16,"fix":{"range":[200019,200035],"text":"return\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5415,"column":64,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5415,"endColumn":65,"fix":{"range":[200159,200181],"text":"activeElement\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5418,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5423,"endColumn":6,"fix":{"range":[200187,200187],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5418,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5418,"endColumn":18,"fix":{"range":[200204,200204],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5420,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5420,"endColumn":36,"fix":{"range":[200376,200391],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5421,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5421,"endColumn":35,"fix":{"range":[200408,200421],"text":"null\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5424,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5426,"endColumn":6,"fix":{"range":[200427,200427],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5424,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5424,"endColumn":27,"fix":{"range":[200453,200453],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5425,"column":84,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5425,"endColumn":85,"fix":{"range":[200526,200548],"text":"currentSnapshot\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5427,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5429,"endColumn":6,"fix":{"range":[200548,200548],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5427,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5427,"endColumn":24,"fix":{"range":[200571,200571],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5428,"column":42,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5428,"endColumn":43,"fix":{"range":[200610,200624],"text":"element\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5430,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5432,"endColumn":6,"fix":{"range":[200624,200624],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5430,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5430,"endColumn":20,"fix":{"range":[200643,200643],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5431,"column":38,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5431,"endColumn":39,"fix":{"range":[200678,200692],"text":"element\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5433,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5435,"endColumn":6,"fix":{"range":[200692,200692],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5433,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5433,"endColumn":29,"fix":{"range":[200720,200720],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5434,"column":86,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5434,"endColumn":87,"fix":{"range":[200809,200817],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5436,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5436,"endColumn":5,"fix":{"range":[200820,200833],"text":"}\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5437,"column":30,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":5437,"endColumn":31,"fix":{"range":[200852,200852],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5438,"column":44,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5438,"endColumn":46,"fix":{"range":[200907,200909],"text":"==="}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5438,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5438,"endColumn":57,"fix":{"range":[200910,200920],"text":"'function'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5438,"column":57,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5438,"endColumn":58,"fix":{"range":[200910,200925],"text":"\"function\"\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5440,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5496,"endColumn":5},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5441,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5441,"endColumn":26,"fix":{"range":[200997,200997],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5442,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5442,"endColumn":15,"fix":{"range":[201034,201037],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5442,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5442,"endColumn":15,"fix":{"range":[201038,201054],"text":"_a2\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5443,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5443,"endColumn":55,"fix":{"range":[201095,201120],"text":")\n destinationRange"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5444,"column":58,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5444,"endColumn":59,"fix":{"range":[201154,201179],"text":")\n destinationRange"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5445,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5445,"endColumn":41,"fix":{"range":[201195,201209],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5446,"column":38,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5446,"endColumn":39,"fix":{"range":[201225,201248],"text":"newElement\n const"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5447,"column":82,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5447,"endColumn":88},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5447,"column":91,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5447,"endColumn":97},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5447,"column":117,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5447,"endColumn":118,"fix":{"range":[201352,201363],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5449,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5449,"endColumn":54,"fix":{"range":[201431,201456],"text":")\n currentElement"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5450,"column":66,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5450,"endColumn":67,"fix":{"range":[201498,201508],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5453,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5456,"endColumn":6,"fix":{"range":[201514,201514],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5453,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5453,"endColumn":17,"fix":{"range":[201530,201530],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5454,"column":80,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5454,"endColumn":81,"fix":{"range":[201696,201709],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5455,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5455,"endColumn":32,"fix":{"range":[201721,201736],"text":"delegate\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5457,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5459,"endColumn":6,"fix":{"range":[201736,201736],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5457,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5457,"endColumn":22,"fix":{"range":[201757,201757],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5458,"column":18,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5458,"endColumn":19,"fix":{"range":[201775,201786],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5460,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5470,"endColumn":6,"fix":{"range":[201786,201786],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5460,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5460,"endColumn":18,"fix":{"range":[201803,201803],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5461,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5461,"endColumn":34,"fix":{"range":[201839,201852],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5463,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5463,"endColumn":33,"fix":{"range":[201919,201929],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5464,"column":9,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5464,"endColumn":10,"fix":{"range":[201929,201942],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5465,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5465,"endColumn":34,"fix":{"range":[201963,201977],"text":")\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5466,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5466,"endColumn":34,"fix":{"range":[201997,202010],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5467,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5467,"endColumn":45,"fix":{"range":[202042,202056],"text":")\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5468,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5468,"endColumn":34,"fix":{"range":[202076,202089],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5469,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5469,"endColumn":37,"fix":{"range":[202113,202121],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5471,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5474,"endColumn":6,"fix":{"range":[202121,202121],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5471,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5471,"endColumn":22,"fix":{"range":[202142,202142],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5472,"column":74,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5472,"endColumn":75,"fix":{"range":[202219,202232],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5473,"column":63,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5473,"endColumn":64,"fix":{"range":[202283,202291],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5475,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5486,"endColumn":6,"fix":{"range":[202291,202291],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5475,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5475,"endColumn":25,"fix":{"range":[202315,202315],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5477,"column":62,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5477,"endColumn":63,"fix":{"range":[202438,202470],"text":"firstElementChild\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5478,"column":82,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5478,"endColumn":105,"fix":{"range":[202538,202561],"text":"'data-autoscroll-block'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5478,"column":108,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5478,"endColumn":113,"fix":{"range":[202564,202569],"text":"'end'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5478,"column":114,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5478,"endColumn":115,"fix":{"range":[202569,202585],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5479,"column":78,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5479,"endColumn":104,"fix":{"range":[202649,202675],"text":"'data-autoscroll-behavior'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5479,"column":107,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5479,"endColumn":113,"fix":{"range":[202678,202684],"text":"'auto'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5479,"column":114,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5479,"endColumn":115,"fix":{"range":[202684,202697],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5481,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5481,"endColumn":55,"fix":{"range":[202762,202781],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5482,"column":22,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5482,"endColumn":23,"fix":{"range":[202782,202797],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5485,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5485,"endColumn":20,"fix":{"range":[202819,202831],"text":"false\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5487,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5492,"endColumn":6,"fix":{"range":[202831,202831],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5487,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5487,"endColumn":28,"fix":{"range":[202858,202858],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5489,"column":81,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5489,"endColumn":82,"fix":{"range":[203007,203036],"text":")\n inertScriptElement"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5490,"column":63,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5490,"endColumn":64,"fix":{"range":[203071,203081],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5493,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5495,"endColumn":6,"fix":{"range":[203087,203087],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5493,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5493,"endColumn":27,"fix":{"range":[203113,203113],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5494,"column":51,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5494,"endColumn":59,"fix":{"range":[203168,203176],"text":"'script'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5494,"column":60,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5494,"endColumn":61,"fix":{"range":[203176,203184],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5496,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5496,"endColumn":5,"fix":{"range":[203187,203200],"text":"}\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5497,"column":37,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":5497,"endColumn":38,"fix":{"range":[203226,203226],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5498,"column":15,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5498,"endColumn":17},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5498,"column":18,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5498,"endColumn":23,"fix":{"range":[203267,203272],"text":"'end'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5498,"column":33,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5498,"endColumn":35},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5498,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5498,"endColumn":43,"fix":{"range":[203285,203292],"text":"'start'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5498,"column":53,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5498,"endColumn":55},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5498,"column":56,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5498,"endColumn":64,"fix":{"range":[203305,203313],"text":"'center'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5498,"column":74,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5498,"endColumn":76},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5498,"column":77,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5498,"endColumn":86,"fix":{"range":[203326,203335],"text":"'nearest'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5499,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5499,"endColumn":20,"fix":{"range":[203352,203364],"text":"value\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5501,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5501,"endColumn":27,"fix":{"range":[203385,203404],"text":"defaultValue\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5504,"column":30,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":5504,"endColumn":31,"fix":{"range":[203438,203438],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5505,"column":15,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5505,"endColumn":17},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5505,"column":18,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5505,"endColumn":24,"fix":{"range":[203479,203485],"text":"'auto'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5505,"column":34,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5505,"endColumn":36},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5505,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5505,"endColumn":45,"fix":{"range":[203498,203506],"text":"'smooth'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5506,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5506,"endColumn":20,"fix":{"range":[203523,203535],"text":"value\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5508,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5508,"endColumn":27,"fix":{"range":[203556,203575],"text":"defaultValue\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5511,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5612,"endColumn":5},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5512,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5512,"endColumn":27,"fix":{"range":[203633,203633],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5527,"column":6,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5527,"endColumn":7,"fix":{"range":[204023,204097],"text":"}ms ease-in;\n transform: translate3d(0, 0, 0);\n }\n `\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5529,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5540,"endColumn":6,"fix":{"range":[204097,204097],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5529,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5529,"endColumn":17,"fix":{"range":[204113,204113],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5530,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5530,"endColumn":27,"fix":{"range":[204138,204155],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5531,"column":21,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5531,"endColumn":22,"fix":{"range":[204164,204177],"text":"0\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5532,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5532,"endColumn":28,"fix":{"range":[204188,204205],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5534,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5534,"endColumn":57,"fix":{"range":[204278,204288],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5535,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5535,"endColumn":9,"fix":{"range":[204287,204300],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5536,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5536,"endColumn":63,"fix":{"range":[204350,204363],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5537,"column":58,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5537,"endColumn":59,"fix":{"range":[204409,204422],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5538,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5538,"endColumn":39,"fix":{"range":[204448,204461],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5539,"column":23,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5539,"endColumn":24,"fix":{"range":[204472,204480],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5541,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5547,"endColumn":6,"fix":{"range":[204480,204480],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5541,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5541,"endColumn":10,"fix":{"range":[204489,204489],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5543,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5543,"endColumn":29,"fix":{"range":[204544,204562],"text":"true\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5544,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5544,"endColumn":39,"fix":{"range":[204586,204601],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5545,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5545,"endColumn":31,"fix":{"range":[204617,204627],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5548,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5558,"endColumn":6,"fix":{"range":[204633,204633],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5548,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5548,"endColumn":10,"fix":{"range":[204642,204642],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5550,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5550,"endColumn":28,"fix":{"range":[204711,204729],"text":"true\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5552,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5552,"endColumn":43,"fix":{"range":[204798,204815],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5553,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5553,"endColumn":32,"fix":{"range":[204830,204847],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5554,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5554,"endColumn":32,"fix":{"range":[204858,204879],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5555,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5555,"endColumn":31,"fix":{"range":[204889,204905],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5556,"column":11,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5556,"endColumn":12,"fix":{"range":[204905,204915],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5559,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5562,"endColumn":6,"fix":{"range":[204921,204921],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5559,"column":13,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5559,"endColumn":14,"fix":{"range":[204934,204934],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5560,"column":25,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5560,"endColumn":26,"fix":{"range":[204963,204980],"text":"value\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5561,"column":21,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5561,"endColumn":22,"fix":{"range":[204989,204997],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5563,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5565,"endColumn":6,"fix":{"range":[204997,204997],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5563,"column":29,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5563,"endColumn":30,"fix":{"range":[205026,205026],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5564,"column":83,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5564,"endColumn":84,"fix":{"range":[205112,205120],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5566,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5571,"endColumn":6,"fix":{"range":[205120,205120],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5566,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5566,"endColumn":28,"fix":{"range":[205147,205147],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5567,"column":42,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5567,"endColumn":45,"fix":{"range":[205193,205196],"text":"'0'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5567,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5567,"endColumn":46,"fix":{"range":[205193,205208],"text":"\"0\"\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5568,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5568,"endColumn":47,"fix":{"range":[205241,205244],"text":"'1'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5568,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5568,"endColumn":48,"fix":{"range":[205241,205260],"text":"\"1\"\n document"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5569,"column":81,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5569,"endColumn":82,"fix":{"range":[205325,205338],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5570,"column":21,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5570,"endColumn":22,"fix":{"range":[205347,205355],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5572,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5575,"endColumn":6,"fix":{"range":[205355,205355],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5572,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5572,"endColumn":25,"fix":{"range":[205379,205379],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5573,"column":44,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5573,"endColumn":47,"fix":{"range":[205435,205438],"text":"'0'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5573,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5573,"endColumn":48,"fix":{"range":[205435,205456],"text":"\"0\"\n setTimeout"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5574,"column":64,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5574,"endColumn":65,"fix":{"range":[205502,205510],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5576,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5580,"endColumn":6,"fix":{"range":[205510,205510],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5576,"column":29,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5576,"endColumn":30,"fix":{"range":[205539,205539],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5578,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5578,"endColumn":68,"fix":{"range":[205654,205664],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5581,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5585,"endColumn":6,"fix":{"range":[205670,205670],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5581,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5581,"endColumn":20,"fix":{"range":[205689,205689],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5583,"column":95,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5583,"endColumn":96,"fix":{"range":[205822,205832],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5586,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5589,"endColumn":6,"fix":{"range":[205838,205838],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5586,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5586,"endColumn":19,"fix":{"range":[205856,205856],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5587,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5587,"endColumn":50,"fix":{"range":[205908,205923],"text":")\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5588,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5588,"endColumn":35,"fix":{"range":[205929,205951],"text":"trickleInterval\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5590,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5594,"endColumn":6,"fix":{"range":[205951,205951],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5590,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5590,"endColumn":13,"fix":{"range":[205963,205963],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5592,"column":70,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5592,"endColumn":71,"fix":{"range":[206070,206082],"text":"}%`\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5593,"column":9,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5593,"endColumn":10,"fix":{"range":[206082,206090],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5595,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5603,"endColumn":6,"fix":{"range":[206090,206090],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5595,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5595,"endColumn":29,"fix":{"range":[206118,206118],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5596,"column":46,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5596,"endColumn":53,"fix":{"range":[206168,206175],"text":"'style'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5596,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5596,"endColumn":55,"fix":{"range":[206175,206191],"text":")\n element"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5597,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5597,"endColumn":32,"fix":{"range":[206199,206209],"text":"'text/css'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5597,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5597,"endColumn":33,"fix":{"range":[206199,206224],"text":"\"text/css\"\n element"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5598,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5598,"endColumn":52,"fix":{"range":[206251,206271],"text":"defaultCSS\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5600,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5600,"endColumn":39,"fix":{"range":[206319,206336],"text":"cspNonce\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5602,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5602,"endColumn":22,"fix":{"range":[206350,206364],"text":"element\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5604,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5608,"endColumn":6,"fix":{"range":[206364,206364],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5604,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5604,"endColumn":27,"fix":{"range":[206390,206390],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5605,"column":46,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5605,"endColumn":51,"fix":{"range":[206440,206445],"text":"'div'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5605,"column":52,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5605,"endColumn":53,"fix":{"range":[206445,206461],"text":")\n element"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5606,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5606,"endColumn":47,"fix":{"range":[206474,206494],"text":"'turbo-progress-bar'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5606,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5606,"endColumn":48,"fix":{"range":[206474,206508],"text":"\"turbo-progress-bar\"\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5607,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5607,"endColumn":22,"fix":{"range":[206509,206523],"text":"element\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5609,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5611,"endColumn":6,"fix":{"range":[206523,206523],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5609,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5609,"endColumn":18,"fix":{"range":[206540,206540],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5610,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5610,"endColumn":40,"fix":{"range":[206573,206584],"text":"'csp-nonce'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5610,"column":41,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5610,"endColumn":42,"fix":{"range":[206584,206592],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5612,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5612,"endColumn":5,"fix":{"range":[206595,206611],"text":"}\n ProgressBar"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5613,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5613,"endColumn":39,"fix":{"range":[206632,206642],"text":"300\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5614,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5661,"endColumn":5,"fix":{"range":[206639,206642],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5615,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5615,"endColumn":17,"fix":{"range":[206698,206698],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5616,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5616,"endColumn":27,"fix":{"range":[206727,206740],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5618,"column":38,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5618,"endColumn":39,"fix":{"range":[206932,206954],"text":"element\n const"}},{"ruleId":"multiline-ternary","severity":2,"message":"Expected newline between test and consequent of ternary expression.","line":5619,"column":25,"nodeType":"BinaryExpression","messageId":"expectedTestCons","endLine":5619,"endColumn":44,"fix":{"range":[206984,206985],"text":"\n"}},{"ruleId":"multiline-ternary","severity":2,"message":"Expected newline between consequent and alternate of ternary expression.","line":5619,"column":47,"nodeType":"MemberExpression","messageId":"expectedConsAlt","endLine":5619,"endColumn":64,"fix":{"range":[207004,207005],"text":"\n"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5623,"column":10,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5623,"endColumn":11,"fix":{"range":[207124,207141],"text":"}\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5624,"column":162,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5624,"endColumn":163,"fix":{"range":[207287,207297],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5625,"column":13,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5625,"endColumn":14,"fix":{"range":[207301,207309],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5627,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5629,"endColumn":6,"fix":{"range":[207309,207309],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5627,"column":32,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5627,"endColumn":33,"fix":{"range":[207341,207341],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5628,"column":122,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5628,"endColumn":124,"fix":{"range":[207467,207469],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5628,"column":125,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5628,"endColumn":126,"fix":{"range":[207469,207477],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5630,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5632,"endColumn":6,"fix":{"range":[207477,207477],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5630,"column":35,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5630,"endColumn":36,"fix":{"range":[207512,207512],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5631,"column":56,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5631,"endColumn":64,"fix":{"range":[207580,207588],"text":"'script'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5631,"column":75,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5631,"endColumn":76,"fix":{"range":[207598,207606],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5633,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5635,"endColumn":6,"fix":{"range":[207606,207606],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5633,"column":39,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5633,"endColumn":40,"fix":{"range":[207645,207645],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5634,"column":56,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5634,"endColumn":68,"fix":{"range":[207713,207725],"text":"'stylesheet'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5634,"column":79,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5634,"endColumn":80,"fix":{"range":[207735,207743],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5636,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5638,"endColumn":6,"fix":{"range":[207743,207743],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5636,"column":41,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5636,"endColumn":42,"fix":{"range":[207784,207784],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5637,"column":199,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5637,"endColumn":201},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5637,"column":256,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5637,"endColumn":257,"fix":{"range":[208064,208072],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5639,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5650,"endColumn":6,"fix":{"range":[208072,208072],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5639,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5639,"endColumn":29,"fix":{"range":[208100,208100],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5641,"column":90,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5641,"endColumn":91,"fix":{"range":[208275,208288],"text":"]\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5643,"column":43,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5643,"endColumn":44,"fix":{"range":[208359,208371],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5645,"column":52,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5645,"endColumn":53,"fix":{"range":[208455,208467],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5647,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5647,"endColumn":25,"fix":{"range":[208492,208509],"text":"result\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5649,"column":13,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5649,"endColumn":14,"fix":{"range":[208521,208529],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5651,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5654,"endColumn":6,"fix":{"range":[208529,208529],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5651,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5651,"endColumn":18,"fix":{"range":[208546,208546],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5652,"column":55,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5652,"endColumn":56,"fix":{"range":[208608,208623],"text":")\n return"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5653,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5653,"endColumn":54,"fix":{"range":[208655,208664],"text":"'content'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5653,"column":62,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5653,"endColumn":63,"fix":{"range":[208668,208679],"text":"null\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5655,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5660,"endColumn":6,"fix":{"range":[208679,208679],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5655,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5655,"endColumn":27,"fix":{"range":[208705,208705],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5657,"column":75,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5657,"endColumn":76,"fix":{"range":[208869,208886],"text":"]\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5658,"column":78,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5658,"endColumn":79,"fix":{"range":[208943,208958],"text":"result\n }"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5659,"column":10,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5659,"endColumn":16},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5659,"column":17,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5659,"endColumn":18,"fix":{"range":[208966,208974],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5661,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5661,"endColumn":5,"fix":{"range":[208977,208990],"text":"}\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5662,"column":23,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":5662,"endColumn":24,"fix":{"range":[209002,209002],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5664,"column":14,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5664,"endColumn":22,"fix":{"range":[209063,209071],"text":"'script'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5664,"column":22,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5664,"endColumn":23,"fix":{"range":[209063,209078],"text":"\"script\"\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5666,"column":14,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5666,"endColumn":26,"fix":{"range":[209133,209145],"text":"'stylesheet'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5666,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5666,"endColumn":27,"fix":{"range":[209133,209152],"text":"\"stylesheet\"\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5669,"column":28,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":5669,"endColumn":29,"fix":{"range":[209184,209184],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5670,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5670,"endColumn":51,"fix":{"range":[209228,209246],"text":"'data-turbo-track'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5670,"column":53,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5670,"endColumn":55},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5670,"column":56,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5670,"endColumn":64,"fix":{"range":[209251,209259],"text":"'reload'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5670,"column":64,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5670,"endColumn":65,"fix":{"range":[209251,209264],"text":"\"reload\"\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5672,"column":27,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":5672,"endColumn":28,"fix":{"range":[209291,209291],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5673,"column":38,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5673,"endColumn":39,"fix":{"range":[209331,209352],"text":"localName\n return"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5674,"column":20,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5674,"endColumn":22},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5674,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5674,"endColumn":31,"fix":{"range":[209364,209372],"text":"'script'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5674,"column":31,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5674,"endColumn":32,"fix":{"range":[209364,209377],"text":"\"script\"\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5676,"column":29,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":5676,"endColumn":30,"fix":{"range":[209406,209406],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5677,"column":38,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5677,"endColumn":39,"fix":{"range":[209446,209467],"text":"localName\n return"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5678,"column":20,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5678,"endColumn":22},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5678,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5678,"endColumn":33,"fix":{"range":[209479,209489],"text":"'noscript'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5678,"column":33,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5678,"endColumn":34,"fix":{"range":[209479,209494],"text":"\"noscript\"\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5680,"column":31,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":5680,"endColumn":32,"fix":{"range":[209525,209525],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5681,"column":38,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5681,"endColumn":39,"fix":{"range":[209565,209586],"text":"localName\n return"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5682,"column":20,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5682,"endColumn":22},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5682,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5682,"endColumn":30,"fix":{"range":[209598,209605],"text":"'style'"}},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":5682,"column":31,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":5682,"endColumn":33},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5682,"column":42,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5682,"endColumn":44},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5682,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5682,"endColumn":51,"fix":{"range":[209620,209626],"text":"'link'"}},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":5682,"column":52,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":5682,"endColumn":54},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5682,"column":76,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5682,"endColumn":81,"fix":{"range":[209651,209656],"text":"'rel'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5682,"column":83,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5682,"endColumn":85},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5682,"column":86,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5682,"endColumn":98,"fix":{"range":[209661,209673],"text":"'stylesheet'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5682,"column":98,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5682,"endColumn":99,"fix":{"range":[209661,209678],"text":"\"stylesheet\"\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5684,"column":40,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":5684,"endColumn":41,"fix":{"range":[209718,209718],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5685,"column":38,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5685,"endColumn":39,"fix":{"range":[209764,209785],"text":"localName\n return"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5686,"column":20,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5686,"endColumn":22},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5686,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5686,"endColumn":29,"fix":{"range":[209797,209803],"text":"'meta'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5686,"column":54,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5686,"endColumn":60,"fix":{"range":[209828,209834],"text":"'name'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5686,"column":62,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5686,"endColumn":64},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5686,"column":69,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5686,"endColumn":70,"fix":{"range":[209839,209848],"text":"name\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5688,"column":31,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":5688,"endColumn":32,"fix":{"range":[209879,209879],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5689,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5689,"endColumn":37,"fix":{"range":[209920,209927],"text":"'nonce'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5690,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5690,"endColumn":35,"fix":{"range":[209959,209966],"text":"'nonce'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5690,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5690,"endColumn":39,"fix":{"range":[209968,209970],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5690,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5690,"endColumn":41,"fix":{"range":[209970,209978],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5692,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5692,"endColumn":20,"fix":{"range":[209990,210002],"text":"element\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5694,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5747,"endColumn":5},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5695,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5695,"endColumn":27,"fix":{"range":[210074,210074],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5695,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5695,"endColumn":36,"fix":{"range":[210082,210084],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5696,"column":56,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5696,"endColumn":57,"fix":{"range":[210142,210150],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5698,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5700,"endColumn":6,"fix":{"range":[210150,210150],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5698,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5698,"endColumn":24,"fix":{"range":[210173,210173],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5699,"column":54,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5699,"endColumn":55,"fix":{"range":[210237,210245],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5701,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5703,"endColumn":6,"fix":{"range":[210245,210245],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5701,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5701,"endColumn":25,"fix":{"range":[210269,210269],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5702,"column":52,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5702,"endColumn":53,"fix":{"range":[210338,210346],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5704,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5707,"endColumn":6,"fix":{"range":[210346,210346],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5704,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5704,"endColumn":17,"fix":{"range":[210362,210362],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5705,"column":21,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5705,"endColumn":22,"fix":{"range":[210407,210420],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5706,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5706,"endColumn":40,"fix":{"range":[210436,210455],"text":"headSnapshot\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5708,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5723,"endColumn":6,"fix":{"range":[210455,210455],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5708,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5708,"endColumn":11,"fix":{"range":[210465,210465],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5709,"column":57,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5709,"endColumn":58,"fix":{"range":[210525,210539],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5710,"column":60,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5710,"endColumn":68,"fix":{"range":[210587,210595],"text":"'select'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5710,"column":69,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5710,"endColumn":70,"fix":{"range":[210595,210609],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5711,"column":67,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5711,"endColumn":75,"fix":{"range":[210664,210672],"text":"'select'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5711,"column":76,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5711,"endColumn":77,"fix":{"range":[210672,210684],"text":")\n for"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5713,"column":50,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5713,"endColumn":51,"fix":{"range":[210787,210801],"text":"]\n for"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'for-of'.","line":5715,"column":11,"nodeType":"ForOfStatement","messageId":"missingCurlyAfter","endLine":5715,"endColumn":35,"fix":{"range":[210852,210876],"text":"{option.selected = false;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5715,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5715,"endColumn":35,"fix":{"range":[210870,210888],"text":"false\n for"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'for-of'.","line":5717,"column":11,"nodeType":"ForOfStatement","messageId":"missingCurlyAfter","endLine":5717,"endColumn":55,"fix":{"range":[210940,210984],"text":"{clone.options[option.index].selected = true;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5717,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5717,"endColumn":55,"fix":{"range":[210979,210992],"text":"true\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5720,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5720,"endColumn":39,"fix":{"range":[211129,211131],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5720,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5720,"endColumn":40,"fix":{"range":[211129,211140],"text":"\"\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5722,"column":64,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5722,"endColumn":65,"fix":{"range":[211203,211211],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5724,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5726,"endColumn":6,"fix":{"range":[211211,211211],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5724,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5724,"endColumn":21,"fix":{"range":[211231,211231],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5725,"column":39,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5725,"endColumn":40,"fix":{"range":[211267,211281],"text":"element\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5727,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5731,"endColumn":6,"fix":{"range":[211281,211281],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5727,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5727,"endColumn":22,"fix":{"range":[211302,211302],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5728,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5728,"endColumn":15,"fix":{"range":[211313,211316],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5728,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5728,"endColumn":15,"fix":{"range":[211317,211333],"text":"_a2\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5729,"column":43,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5729,"endColumn":49,"fix":{"range":[211364,211370],"text":"'root'"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5729,"column":72,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5729,"endColumn":78},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5729,"column":87,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5729,"endColumn":90,"fix":{"range":[211408,211411],"text":"'/'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5729,"column":90,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5729,"endColumn":91,"fix":{"range":[211408,211425],"text":"\"/\"\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5730,"column":29,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5730,"endColumn":30,"fix":{"range":[211440,211448],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5732,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5734,"endColumn":6,"fix":{"range":[211448,211448],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5732,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5732,"endColumn":27,"fix":{"range":[211474,211474],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5733,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5733,"endColumn":45,"fix":{"range":[211508,211523],"text":"'cache-control'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5733,"column":46,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5733,"endColumn":47,"fix":{"range":[211523,211531],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5735,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5737,"endColumn":6,"fix":{"range":[211531,211531],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5735,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5735,"endColumn":23,"fix":{"range":[211553,211553],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":5736,"column":37,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5736,"endColumn":39},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5736,"column":40,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5736,"endColumn":52,"fix":{"range":[211597,211609],"text":"'no-preview'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5736,"column":52,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5736,"endColumn":53,"fix":{"range":[211597,211616],"text":"\"no-preview\"\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5738,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5740,"endColumn":6,"fix":{"range":[211616,211616],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5738,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5738,"endColumn":21,"fix":{"range":[211636,211636],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":5739,"column":37,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5739,"endColumn":39},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5739,"column":40,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5739,"endColumn":50,"fix":{"range":[211680,211690],"text":"'no-cache'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5739,"column":50,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5739,"endColumn":51,"fix":{"range":[211680,211697],"text":"\"no-cache\"\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5741,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5743,"endColumn":6,"fix":{"range":[211697,211697],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5741,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5741,"endColumn":21,"fix":{"range":[211717,211717],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5742,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5742,"endColumn":45,"fix":{"range":[211751,211766],"text":"'visit-control'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":5742,"column":47,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5742,"endColumn":49},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5742,"column":50,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5742,"endColumn":58,"fix":{"range":[211771,211779],"text":"'reload'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5742,"column":58,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5742,"endColumn":59,"fix":{"range":[211771,211786],"text":"\"reload\"\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5744,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5746,"endColumn":6,"fix":{"range":[211786,211786],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5744,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5744,"endColumn":16,"fix":{"range":[211801,211801],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5745,"column":61,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5745,"endColumn":62,"fix":{"range":[211869,211877],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5747,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5747,"endColumn":5,"fix":{"range":[211880,211888],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5748,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5748,"endColumn":20,"fix":{"range":[211885,211888],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5749,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5749,"endColumn":13,"fix":{"range":[211914,211914],"text":" "}},{"ruleId":"dot-notation","severity":2,"message":"[\"visitStart\"] is better written in dot notation.","line":5750,"column":19,"nodeType":"Literal","messageId":"useDot","endLine":5750,"endColumn":31,"fix":{"range":[211949,211963],"text":".visitStart"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5750,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5750,"endColumn":31,"fix":{"range":[211950,211962],"text":"'visitStart'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5750,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5750,"endColumn":47,"fix":{"range":[211966,211978],"text":"'visitStart'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5750,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5750,"endColumn":48,"fix":{"range":[211966,211997],"text":"\"visitStart\"\n TimingMetric2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"requestStart\"] is better written in dot notation.","line":5751,"column":19,"nodeType":"Literal","messageId":"useDot","endLine":5751,"endColumn":33,"fix":{"range":[211997,212013],"text":".requestStart"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5751,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5751,"endColumn":33,"fix":{"range":[211998,212012],"text":"'requestStart'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5751,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5751,"endColumn":51,"fix":{"range":[212016,212030],"text":"'requestStart'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5751,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5751,"endColumn":52,"fix":{"range":[212016,212049],"text":"\"requestStart\"\n TimingMetric2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"requestEnd\"] is better written in dot notation.","line":5752,"column":19,"nodeType":"Literal","messageId":"useDot","endLine":5752,"endColumn":31,"fix":{"range":[212049,212063],"text":".requestEnd"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5752,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5752,"endColumn":31,"fix":{"range":[212050,212062],"text":"'requestEnd'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5752,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5752,"endColumn":47,"fix":{"range":[212066,212078],"text":"'requestEnd'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5752,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5752,"endColumn":48,"fix":{"range":[212066,212097],"text":"\"requestEnd\"\n TimingMetric2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"visitEnd\"] is better written in dot notation.","line":5753,"column":19,"nodeType":"Literal","messageId":"useDot","endLine":5753,"endColumn":29,"fix":{"range":[212097,212109],"text":".visitEnd"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5753,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5753,"endColumn":29,"fix":{"range":[212098,212108],"text":"'visitEnd'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5753,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5753,"endColumn":43,"fix":{"range":[212112,212122],"text":"'visitEnd'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5753,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5753,"endColumn":44,"fix":{"range":[212112,212127],"text":"\"visitEnd\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5754,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5754,"endColumn":43,"fix":{"range":[212164,212172],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5755,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5755,"endColumn":18,"fix":{"range":[212169,212172],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5756,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5756,"endColumn":13,"fix":{"range":[212196,212196],"text":" "}},{"ruleId":"dot-notation","severity":2,"message":"[\"initialized\"] is better written in dot notation.","line":5757,"column":17,"nodeType":"Literal","messageId":"useDot","endLine":5757,"endColumn":30,"fix":{"range":[212227,212242],"text":".initialized"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5757,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5757,"endColumn":30,"fix":{"range":[212228,212241],"text":"'initialized'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5757,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5757,"endColumn":47,"fix":{"range":[212245,212258],"text":"'initialized'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5757,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5757,"endColumn":48,"fix":{"range":[212245,212275],"text":"\"initialized\"\n VisitState2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"started\"] is better written in dot notation.","line":5758,"column":17,"nodeType":"Literal","messageId":"useDot","endLine":5758,"endColumn":26,"fix":{"range":[212275,212286],"text":".started"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5758,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5758,"endColumn":26,"fix":{"range":[212276,212285],"text":"'started'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5758,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5758,"endColumn":39,"fix":{"range":[212289,212298],"text":"'started'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5758,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5758,"endColumn":40,"fix":{"range":[212289,212315],"text":"\"started\"\n VisitState2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"canceled\"] is better written in dot notation.","line":5759,"column":17,"nodeType":"Literal","messageId":"useDot","endLine":5759,"endColumn":27,"fix":{"range":[212315,212327],"text":".canceled"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5759,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5759,"endColumn":27,"fix":{"range":[212316,212326],"text":"'canceled'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5759,"column":31,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5759,"endColumn":41,"fix":{"range":[212330,212340],"text":"'canceled'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5759,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5759,"endColumn":42,"fix":{"range":[212330,212357],"text":"\"canceled\"\n VisitState2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"failed\"] is better written in dot notation.","line":5760,"column":17,"nodeType":"Literal","messageId":"useDot","endLine":5760,"endColumn":25,"fix":{"range":[212357,212367],"text":".failed"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5760,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5760,"endColumn":25,"fix":{"range":[212358,212366],"text":"'failed'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5760,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5760,"endColumn":37,"fix":{"range":[212370,212378],"text":"'failed'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5760,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5760,"endColumn":38,"fix":{"range":[212370,212395],"text":"\"failed\"\n VisitState2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"completed\"] is better written in dot notation.","line":5761,"column":17,"nodeType":"Literal","messageId":"useDot","endLine":5761,"endColumn":28,"fix":{"range":[212395,212408],"text":".completed"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5761,"column":17,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5761,"endColumn":28,"fix":{"range":[212396,212407],"text":"'completed'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5761,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5761,"endColumn":43,"fix":{"range":[212411,212422],"text":"'completed'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5761,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5761,"endColumn":44,"fix":{"range":[212411,212427],"text":"\"completed\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5762,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5762,"endColumn":39,"fix":{"range":[212460,212468],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5763,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5772,"endColumn":5,"fix":{"range":[212465,212468],"text":"let"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5764,"column":13,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5764,"endColumn":22,"fix":{"range":[212500,212509],"text":"'advance'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5772,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5772,"endColumn":5,"fix":{"range":[212691,212699],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5773,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5773,"endColumn":24,"fix":{"range":[212696,212699],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5774,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5774,"endColumn":13,"fix":{"range":[212729,212729],"text":" "}},{"ruleId":"dot-notation","severity":2,"message":"[\"networkFailure\"] is better written in dot notation.","line":5775,"column":41,"nodeType":"Literal","messageId":"useDot","endLine":5775,"endColumn":57,"fix":{"range":[212790,212808],"text":".networkFailure"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5775,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5775,"endColumn":57,"fix":{"range":[212791,212807],"text":"'networkFailure'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5775,"column":66,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5775,"endColumn":82,"fix":{"range":[212816,212832],"text":"'networkFailure'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5775,"column":82,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5775,"endColumn":83,"fix":{"range":[212816,212855],"text":"\"networkFailure\"\n SystemStatusCode2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"timeoutFailure\"] is better written in dot notation.","line":5776,"column":41,"nodeType":"Literal","messageId":"useDot","endLine":5776,"endColumn":57,"fix":{"range":[212873,212891],"text":".timeoutFailure"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5776,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5776,"endColumn":57,"fix":{"range":[212874,212890],"text":"'timeoutFailure'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5776,"column":67,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5776,"endColumn":83,"fix":{"range":[212900,212916],"text":"'timeoutFailure'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5776,"column":83,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5776,"endColumn":84,"fix":{"range":[212900,212939],"text":"\"timeoutFailure\"\n SystemStatusCode2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"contentTypeMismatch\"] is better written in dot notation.","line":5777,"column":41,"nodeType":"Literal","messageId":"useDot","endLine":5777,"endColumn":62,"fix":{"range":[212957,212980],"text":".contentTypeMismatch"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5777,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5777,"endColumn":62,"fix":{"range":[212958,212979],"text":"'contentTypeMismatch'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5777,"column":72,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5777,"endColumn":93,"fix":{"range":[212989,213010],"text":"'contentTypeMismatch'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5777,"column":93,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5777,"endColumn":94,"fix":{"range":[212989,213015],"text":"\"contentTypeMismatch\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5778,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5778,"endColumn":51,"fix":{"range":[213060,213068],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5779,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6098,"endColumn":5,"fix":{"range":[213065,213068],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5780,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5780,"endColumn":17,"fix":{"range":[213100,213100],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5781,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5781,"endColumn":32,"fix":{"range":[213191,213204],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5782,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5782,"endColumn":31,"fix":{"range":[213222,213235],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5783,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5783,"endColumn":37,"fix":{"range":[213255,213272],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5784,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5784,"endColumn":35,"fix":{"range":[213290,213307],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5785,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5785,"endColumn":29,"fix":{"range":[213319,213336],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5786,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5786,"endColumn":39,"fix":{"range":[213359,213375],"text":"true\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5787,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5787,"endColumn":42,"fix":{"range":[213400,213417],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5788,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5788,"endColumn":35,"fix":{"range":[213435,213452],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5789,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5789,"endColumn":43,"fix":{"range":[213472,213495],"text":"initialized\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5790,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5790,"endColumn":32,"fix":{"range":[213507,213527],"text":"delegate\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5791,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5791,"endColumn":33,"fix":{"range":[213539,213560],"text":"location2\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5792,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5792,"endColumn":68,"fix":{"range":[213615,213629],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5793,"column":236,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5793,"endColumn":237,"fix":{"range":[213852,213865],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5794,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5794,"endColumn":28,"fix":{"range":[213875,213893],"text":"action\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5795,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5795,"endColumn":44,"fix":{"range":[213911,213937],"text":"historyChanged\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5796,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5796,"endColumn":32,"fix":{"range":[213949,213969],"text":"referrer\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5797,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5797,"endColumn":32,"fix":{"range":[213981,214001],"text":"snapshot\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5798,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5798,"endColumn":40,"fix":{"range":[214017,214041],"text":"snapshotHTML\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5799,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5799,"endColumn":32,"fix":{"range":[214053,214073],"text":"response\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5800,"column":95,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5800,"endColumn":96,"fix":{"range":[214156,214169],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5801,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5801,"endColumn":54,"fix":{"range":[214192,214223],"text":"visitCachedSnapshot\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5802,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5802,"endColumn":36,"fix":{"range":[214237,214259],"text":"willRender\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5803,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5803,"endColumn":42,"fix":{"range":[214276,214301],"text":"updateHistory\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5804,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5804,"endColumn":35,"fix":{"range":[214314,214336],"text":"willRender\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5805,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5805,"endColumn":54,"fix":{"range":[214359,214390],"text":"shouldCacheSnapshot\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5806,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5806,"endColumn":58,"fix":{"range":[214415,214443],"text":"acceptsStreamResponse\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5808,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5810,"endColumn":6,"fix":{"range":[214443,214443],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5808,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5808,"endColumn":17,"fix":{"range":[214459,214459],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5809,"column":35,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5809,"endColumn":36,"fix":{"range":[214491,214505],"text":"adapter\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5811,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5813,"endColumn":6,"fix":{"range":[214505,214505],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5811,"column":13,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5811,"endColumn":14,"fix":{"range":[214518,214518],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5812,"column":32,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5812,"endColumn":33,"fix":{"range":[214550,214561],"text":"view\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5814,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5816,"endColumn":6,"fix":{"range":[214561,214561],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5814,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5814,"endColumn":17,"fix":{"range":[214577,214577],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5815,"column":35,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5815,"endColumn":36,"fix":{"range":[214609,214623],"text":"history\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5817,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5819,"endColumn":6,"fix":{"range":[214623,214623],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5817,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5817,"endColumn":25,"fix":{"range":[214647,214647],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5818,"column":86,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5818,"endColumn":87,"fix":{"range":[214736,214744],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5820,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5822,"endColumn":6,"fix":{"range":[214744,214744],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5820,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5820,"endColumn":16,"fix":{"range":[214759,214759],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5821,"column":29,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5821,"endColumn":30,"fix":{"range":[214782,214799],"text":"isSamePage\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5823,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5830,"endColumn":6,"fix":{"range":[214799,214799],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5823,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5823,"endColumn":11,"fix":{"range":[214809,214809],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5824,"column":22,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5824,"endColumn":24},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5825,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5825,"endColumn":58,"fix":{"range":[214919,214934],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5826,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5826,"endColumn":41,"fix":{"range":[214954,214975],"text":"started\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5827,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5827,"endColumn":41,"fix":{"range":[215001,215016],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5828,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5828,"endColumn":42,"fix":{"range":[215043,215053],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5831,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5839,"endColumn":6,"fix":{"range":[215059,215059],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5831,"column":11,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5831,"endColumn":12,"fix":{"range":[215070,215070],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5832,"column":22,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5832,"endColumn":24},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5834,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5834,"endColumn":33,"fix":{"range":[215179,215191],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5836,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5836,"endColumn":29,"fix":{"range":[215218,215233],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5837,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5837,"endColumn":42,"fix":{"range":[215253,215270],"text":"canceled\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5840,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5850,"endColumn":6,"fix":{"range":[215276,215276],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5840,"column":13,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5840,"endColumn":14,"fix":{"range":[215289,215289],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5841,"column":22,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5841,"endColumn":24},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5842,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5842,"endColumn":56,"fix":{"range":[215393,215408],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5843,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5843,"endColumn":43,"fix":{"range":[215428,215451],"text":"completed\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5844,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5844,"endColumn":31,"fix":{"range":[215467,215480],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5846,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5846,"endColumn":45,"fix":{"range":[215550,215567],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5847,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5847,"endColumn":46,"fix":{"range":[215596,215608],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5851,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5856,"endColumn":6,"fix":{"range":[215622,215622],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5851,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5851,"endColumn":10,"fix":{"range":[215631,215631],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5852,"column":22,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5852,"endColumn":24},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5853,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5853,"endColumn":40,"fix":{"range":[215714,215734],"text":"failed\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5854,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5854,"endColumn":40,"fix":{"range":[215759,215769],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5857,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5865,"endColumn":6,"fix":{"range":[215775,215775],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5857,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5857,"endColumn":19,"fix":{"range":[215793,215793],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5858,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5858,"endColumn":15,"fix":{"range":[215804,215807],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5858,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5858,"endColumn":15,"fix":{"range":[215808,215821],"text":"_a2\n if"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5860,"column":100,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5860,"endColumn":106},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5860,"column":109,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5860,"endColumn":115},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5860,"column":130,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5860,"endColumn":139,"fix":{"range":[215998,216007],"text":"'replace'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5860,"column":153,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5860,"endColumn":154,"fix":{"range":[216015,216036],"text":"action\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5861,"column":67,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5861,"endColumn":68,"fix":{"range":[216088,216103],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5862,"column":79,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5862,"endColumn":80,"fix":{"range":[216168,216183],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5863,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5863,"endColumn":36,"fix":{"range":[216201,216214],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5866,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5873,"endColumn":6,"fix":{"range":[216220,216220],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5866,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5866,"endColumn":18,"fix":{"range":[216237,216237],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5868,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5868,"endColumn":32,"fix":{"range":[216312,216322],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5870,"column":78,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5870,"endColumn":79,"fix":{"range":[216454,216469],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5871,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5871,"endColumn":32,"fix":{"range":[216486,216496],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5874,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5880,"endColumn":6,"fix":{"range":[216502,216502],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5874,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5874,"endColumn":21,"fix":{"range":[216522,216522],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5876,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5876,"endColumn":29,"fix":{"range":[216580,216595],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5877,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5877,"endColumn":31,"fix":{"range":[216611,216626],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5878,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5878,"endColumn":30,"fix":{"range":[216641,216651],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5881,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5884,"endColumn":6,"fix":{"range":[216657,216657],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5881,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5881,"endColumn":18,"fix":{"range":[216674,216674],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5882,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5882,"endColumn":58,"fix":{"range":[216734,216747],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5883,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5883,"endColumn":46,"fix":{"range":[216780,216788],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5885,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5895,"endColumn":6,"fix":{"range":[216788,216788],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5885,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5885,"endColumn":20,"fix":{"range":[216807,216807],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5886,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5886,"endColumn":32,"fix":{"range":[216858,216876],"text":"response\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5888,"column":40,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5888,"endColumn":41,"fix":{"range":[216921,216941],"text":"response\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5890,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5890,"endColumn":52,"fix":{"range":[217020,217032],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5892,"column":74,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5892,"endColumn":75,"fix":{"range":[217112,217124],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5896,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5899,"endColumn":6,"fix":{"range":[217138,217138],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5896,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5896,"endColumn":19,"fix":{"range":[217156,217156],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5897,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5897,"endColumn":56,"fix":{"range":[217214,217227],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5898,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5898,"endColumn":47,"fix":{"range":[217261,217269],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5900,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5920,"endColumn":6,"fix":{"range":[217269,217269],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5900,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5900,"endColumn":18,"fix":{"range":[217286,217286],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5902,"column":59,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5902,"endColumn":60,"fix":{"range":[217368,217390],"text":"response\n this"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":5905,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":5905,"endColumn":34,"fix":{"range":[217464,217485],"text":"{this.cacheSnapshot();}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5905,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5905,"endColumn":34,"fix":{"range":[217483,217498],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":5907,"column":13,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":5907,"endColumn":43,"fix":{"range":[217537,217567],"text":"{await this.view.renderPromise;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5907,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5907,"endColumn":43,"fix":{"range":[217553,217580],"text":"renderPromise\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5909,"column":112,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5909,"endColumn":113,"fix":{"range":[217744,217763],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5910,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5910,"endColumn":34,"fix":{"range":[217778,217797],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5911,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5911,"endColumn":46,"fix":{"range":[217824,217843],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5912,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5912,"endColumn":29,"fix":{"range":[217853,217867],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5914,"column":89,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5914,"endColumn":90,"fix":{"range":[217962,217981],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5915,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5915,"endColumn":46,"fix":{"range":[218008,218027],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5916,"column":24,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5916,"endColumn":25,"fix":{"range":[218033,218047],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5918,"column":11,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5918,"endColumn":12,"fix":{"range":[218057,218067],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5921,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5928,"endColumn":6,"fix":{"range":[218073,218073],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5921,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5921,"endColumn":23,"fix":{"range":[218095,218095],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5922,"column":108,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5922,"endColumn":109,"fix":{"range":[218206,218217],"text":")\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5924,"column":25,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5924,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5924,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5924,"endColumn":37,"fix":{"range":[218337,218346],"text":"'restore'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5925,"column":26,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5925,"endColumn":27,"fix":{"range":[218393,218412],"text":"snapshot\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5929,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5933,"endColumn":6,"fix":{"range":[218426,218426],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5929,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5929,"endColumn":26,"fix":{"range":[218451,218451],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5931,"column":62,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5931,"endColumn":63,"fix":{"range":[218547,218557],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5934,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5936,"endColumn":6,"fix":{"range":[218563,218563],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5934,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5934,"endColumn":23,"fix":{"range":[218585,218585],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5935,"column":46,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":5935,"endColumn":47,"fix":{"range":[218631,218642],"text":"null\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5937,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5957,"endColumn":6,"fix":{"range":[218642,218642],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5937,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5937,"endColumn":24,"fix":{"range":[218665,218665],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5938,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5938,"endColumn":49,"fix":{"range":[218716,218727],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5940,"column":52,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5940,"endColumn":53,"fix":{"range":[218791,218806],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5942,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5942,"endColumn":32,"fix":{"range":[218857,218872],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5944,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5944,"endColumn":46,"fix":{"range":[218936,218950],"text":")\n }"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":5947,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":5947,"endColumn":45,"fix":{"range":[219013,219043],"text":"{await this.view.renderPromise;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5947,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5947,"endColumn":45,"fix":{"range":[219029,219061],"text":"renderPromise\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5948,"column":83,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5948,"endColumn":84,"fix":{"range":[219125,219144],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5949,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5949,"endColumn":34,"fix":{"range":[219159,219178],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5950,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5950,"endColumn":46,"fix":{"range":[219205,219222],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5952,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5952,"endColumn":31,"fix":{"range":[219266,219282],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5955,"column":11,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5955,"endColumn":12,"fix":{"range":[219304,219314],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5958,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5969,"endColumn":6,"fix":{"range":[219320,219320],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5958,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5958,"endColumn":20,"fix":{"range":[219339,219339],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":5959,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":5959,"endColumn":15,"fix":{"range":[219350,219353],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5959,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5959,"endColumn":15,"fix":{"range":[219354,219367],"text":"_a2\n if"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5960,"column":109,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5960,"endColumn":115},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5960,"column":118,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5960,"endColumn":124},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":5962,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":5962,"endColumn":28,"fix":{"range":[219596,219605],"text":"'replace'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5966,"column":11,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5966,"endColumn":12,"fix":{"range":[219717,219732],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5967,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5967,"endColumn":38,"fix":{"range":[219752,219765],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5970,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5979,"endColumn":6,"fix":{"range":[219771,219771],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5970,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5970,"endColumn":24,"fix":{"range":[219794,219794],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5973,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5973,"endColumn":32,"fix":{"range":[219891,219908],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5974,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5974,"endColumn":32,"fix":{"range":[219923,219940],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5975,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5975,"endColumn":32,"fix":{"range":[219955,219972],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5976,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5976,"endColumn":44,"fix":{"range":[219999,220011],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5977,"column":11,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5977,"endColumn":12,"fix":{"range":[220011,220021],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5980,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5984,"endColumn":6,"fix":{"range":[220027,220027],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5980,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5980,"endColumn":20,"fix":{"range":[220046,220046],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5982,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5982,"endColumn":63,"fix":{"range":[220158,220168],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5985,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5987,"endColumn":6,"fix":{"range":[220174,220174],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5985,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5985,"endColumn":20,"fix":{"range":[220193,220193],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5986,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5986,"endColumn":27,"fix":{"range":[220222,220230],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5988,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":5989,"endColumn":6,"fix":{"range":[220230,220230],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5988,"column":37,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5988,"endColumn":38,"fix":{"range":[220267,220267],"text":" "}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":5990,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6002,"endColumn":6,"fix":{"range":[220296,220296],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":5990,"column":39,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":5990,"endColumn":40,"fix":{"range":[220335,220335],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5991,"column":55,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5991,"endColumn":56,"fix":{"range":[220399,220424],"text":"responseHTML\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5992,"column":50,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":5992,"endColumn":51,"fix":{"range":[220454,220472],"text":"response\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5993,"column":24,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5993,"endColumn":26},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5993,"column":27,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5993,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5997,"column":11,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5997,"endColumn":12,"fix":{"range":[220620,220630],"text":")\n }"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":5999,"column":79,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":5999,"endColumn":85},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":5999,"column":85,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":5999,"endColumn":86,"fix":{"range":[220721,220736],"text":"0\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6000,"column":70,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6000,"endColumn":71,"fix":{"range":[220792,220802],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6003,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6014,"endColumn":6,"fix":{"range":[220808,220808],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6003,"column":36,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6003,"endColumn":37,"fix":{"range":[220844,220844],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6004,"column":55,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6004,"endColumn":56,"fix":{"range":[220908,220933],"text":"responseHTML\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6005,"column":50,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6005,"endColumn":51,"fix":{"range":[220963,220981],"text":"response\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":6006,"column":24,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6006,"endColumn":26},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6006,"column":27,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6006,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6010,"column":11,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6010,"endColumn":12,"fix":{"range":[221129,221139],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6012,"column":70,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6012,"endColumn":71,"fix":{"range":[221215,221225],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6015,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6020,"endColumn":6,"fix":{"range":[221231,221231],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6015,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6015,"endColumn":20,"fix":{"range":[221250,221250],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6019,"column":9,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6019,"endColumn":10,"fix":{"range":[221385,221393],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6021,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6023,"endColumn":6,"fix":{"range":[221393,221393],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6021,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6021,"endColumn":21,"fix":{"range":[221413,221413],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6022,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6022,"endColumn":28,"fix":{"range":[221443,221451],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6024,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6036,"endColumn":6,"fix":{"range":[221451,221451],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6024,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6024,"endColumn":19,"fix":{"range":[221469,221469],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":6026,"column":25,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6026,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6026,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6026,"endColumn":37,"fix":{"range":[221557,221566],"text":"'restore'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6027,"column":94,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6027,"endColumn":95,"fix":{"range":[221662,221674],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6029,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6029,"endColumn":60,"fix":{"range":[221739,221751],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6032,"column":103,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6032,"endColumn":104,"fix":{"range":[221884,221896],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6034,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6034,"endColumn":30,"fix":{"range":[221921,221934],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6037,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6043,"endColumn":6,"fix":{"range":[221940,221940],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6037,"column":29,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6037,"endColumn":30,"fix":{"range":[221969,221969],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6038,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6038,"endColumn":55,"fix":{"range":[222012,222037],"text":"restorationData\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6040,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6040,"endColumn":52,"fix":{"range":[222106,222123],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6041,"column":20,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6041,"endColumn":21,"fix":{"range":[222124,222137],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6044,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6050,"endColumn":6,"fix":{"range":[222143,222143],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6044,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6044,"endColumn":20,"fix":{"range":[222162,222162],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6045,"column":46,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6045,"endColumn":47,"fix":{"range":[222211,222222],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6047,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6047,"endColumn":42,"fix":{"range":[222281,222298],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6048,"column":20,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6048,"endColumn":21,"fix":{"range":[222299,222312],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6051,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6053,"endColumn":6,"fix":{"range":[222318,222318],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6051,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6051,"endColumn":24,"fix":{"range":[222341,222341],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6052,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6052,"endColumn":57,"fix":{"range":[222406,222414],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6054,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6056,"endColumn":6,"fix":{"range":[222414,222414],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6054,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6054,"endColumn":22,"fix":{"range":[222435,222435],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6055,"column":51,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6055,"endColumn":52,"fix":{"range":[222489,222497],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6057,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6065,"endColumn":6,"fix":{"range":[222497,222497],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6057,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6057,"endColumn":31,"fix":{"range":[222527,222527],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6059,"column":14,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6059,"endColumn":23,"fix":{"range":[222575,222584],"text":"'replace'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6060,"column":38,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6060,"endColumn":39,"fix":{"range":[222611,222637],"text":"replaceState\n case"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6061,"column":14,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6061,"endColumn":23,"fix":{"range":[222638,222647],"text":"'advance'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6062,"column":14,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6062,"endColumn":23,"fix":{"range":[222662,222671],"text":"'restore'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6063,"column":35,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6063,"endColumn":36,"fix":{"range":[222698,222716],"text":"pushState\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6066,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6068,"endColumn":6,"fix":{"range":[222722,222722],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6066,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6066,"endColumn":26,"fix":{"range":[222747,222747],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":6067,"column":35,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6067,"endColumn":37,"fix":{"range":[222786,222788],"text":"==="}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6067,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6067,"endColumn":46,"fix":{"range":[222789,222797],"text":"'object'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6067,"column":46,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6067,"endColumn":47,"fix":{"range":[222789,222804],"text":"\"object\"\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6069,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6077,"endColumn":6,"fix":{"range":[222804,222804],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6069,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6069,"endColumn":24,"fix":{"range":[222827,222827],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6071,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6071,"endColumn":22,"fix":{"range":[222876,222890],"text":"false\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":6072,"column":30,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6072,"endColumn":32},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6072,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6072,"endColumn":42,"fix":{"range":[222915,222924],"text":"'restore'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6073,"column":41,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6073,"endColumn":42,"fix":{"range":[222967,222977],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6075,"column":31,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6075,"endColumn":32,"fix":{"range":[223005,223024],"text":"willRender\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6078,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6083,"endColumn":6,"fix":{"range":[223030,223030],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6078,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6078,"endColumn":19,"fix":{"range":[223048,223048],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6080,"column":114,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6080,"endColumn":115,"fix":{"range":[223199,223214],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6081,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6081,"endColumn":36,"fix":{"range":[223232,223245],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6084,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6091,"endColumn":6,"fix":{"range":[223251,223251],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6084,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6084,"endColumn":18,"fix":{"range":[223268,223268],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6085,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6085,"endColumn":27,"fix":{"range":[223305,223319],"text":")\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6087,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6087,"endColumn":61,"fix":{"range":[223405,223415],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6088,"column":9,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6088,"endColumn":10,"fix":{"range":[223415,223429],"text":")\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6089,"column":23,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6089,"endColumn":24,"fix":{"range":[223439,223454],"text":")\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6090,"column":24,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6090,"endColumn":25,"fix":{"range":[223460,223472],"text":"frame\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6092,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6097,"endColumn":6,"fix":{"range":[223472,223472],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6092,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6092,"endColumn":18,"fix":{"range":[223489,223489],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6094,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6094,"endColumn":42,"fix":{"range":[223557,223574],"text":")\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6095,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6095,"endColumn":27,"fix":{"range":[223580,223594],"text":"frame\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6098,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6098,"endColumn":5,"fix":{"range":[223603,223616],"text":"}\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6099,"column":24,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":6099,"endColumn":25,"fix":{"range":[223629,223629],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6100,"column":49,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6100,"endColumn":50,"fix":{"range":[223689,223697],"text":"300\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6102,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6196,"endColumn":5,"fix":{"range":[223700,223703],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6103,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6103,"endColumn":17,"fix":{"range":[223744,223744],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6104,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6104,"endColumn":44,"fix":{"range":[223798,223811],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6106,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6106,"endColumn":33,"fix":{"range":[223868,223878],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6107,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6107,"endColumn":9,"fix":{"range":[223877,223890],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6108,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6108,"endColumn":31,"fix":{"range":[223901,223916],"text":"session2\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6110,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6112,"endColumn":6,"fix":{"range":[223916,223916],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6110,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6110,"endColumn":29,"fix":{"range":[223944,223944],"text":" "}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6111,"column":79,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6111,"endColumn":85},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6111,"column":88,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6111,"endColumn":94},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6111,"column":149,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6111,"endColumn":150,"fix":{"range":[224115,224123],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6113,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6118,"endColumn":6,"fix":{"range":[224123,224123],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6113,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6113,"endColumn":18,"fix":{"range":[224140,224140],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6114,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6114,"endColumn":39,"fix":{"range":[224180,224202],"text":"location\n visit2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6115,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6115,"endColumn":35,"fix":{"range":[224222,224237],"text":")\n visit2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6116,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6116,"endColumn":29,"fix":{"range":[224251,224266],"text":")\n visit2"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6117,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6117,"endColumn":35,"fix":{"range":[224286,224294],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6119,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6126,"endColumn":6,"fix":{"range":[224294,224294],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6119,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6119,"endColumn":25,"fix":{"range":[224318,224318],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6120,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6120,"endColumn":36,"fix":{"range":[224362,224373],"text":")\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":6121,"column":55,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6121,"endColumn":57},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6121,"column":58,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6121,"endColumn":67,"fix":{"range":[224422,224431],"text":"'restore'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6122,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6122,"endColumn":47,"fix":{"range":[224479,224489],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6124,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6124,"endColumn":32,"fix":{"range":[224526,224536],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6127,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6129,"endColumn":6,"fix":{"range":[224542,224542],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6127,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6127,"endColumn":27,"fix":{"range":[224568,224568],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6128,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6128,"endColumn":29,"fix":{"range":[224605,224613],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6130,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6144,"endColumn":6,"fix":{"range":[224613,224613],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6130,"column":37,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6130,"endColumn":38,"fix":{"range":[224650,224650],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6136,"column":21,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6136,"endColumn":37,"fix":{"range":[224895,224911],"text":"'request_failed'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6140,"column":13,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6140,"endColumn":14,"fix":{"range":[224986,225004],"text":")\n default"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6142,"column":39,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6142,"endColumn":40,"fix":{"range":[225043,225053],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6145,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6148,"endColumn":6,"fix":{"range":[225059,225059],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6145,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6145,"endColumn":26,"fix":{"range":[225084,225084],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6146,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6146,"endColumn":36,"fix":{"range":[225128,225141],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6147,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6147,"endColumn":35,"fix":{"range":[225163,225171],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6149,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6150,"endColumn":6,"fix":{"range":[225171,225171],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6149,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6149,"endColumn":20,"fix":{"range":[225190,225190],"text":" "}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6151,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6153,"endColumn":6,"fix":{"range":[225206,225206],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6151,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6151,"endColumn":21,"fix":{"range":[225226,225226],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6152,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6152,"endColumn":27,"fix":{"range":[225261,225269],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6154,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6155,"endColumn":6,"fix":{"range":[225269,225269],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6154,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6154,"endColumn":17,"fix":{"range":[225285,225285],"text":" "}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6156,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6157,"endColumn":6,"fix":{"range":[225301,225301],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6156,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6156,"endColumn":19,"fix":{"range":[225319,225319],"text":" "}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6158,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6161,"endColumn":6,"fix":{"range":[225335,225335],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6158,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6158,"endColumn":27,"fix":{"range":[225361,225361],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6159,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6159,"endColumn":36,"fix":{"range":[225414,225427],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6160,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6160,"endColumn":44,"fix":{"range":[225458,225466],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6162,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6165,"endColumn":6,"fix":{"range":[225466,225466],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6162,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6162,"endColumn":28,"fix":{"range":[225493,225493],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6163,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6163,"endColumn":36,"fix":{"range":[225546,225559],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6164,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6164,"endColumn":34,"fix":{"range":[225580,225588],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6166,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6168,"endColumn":6,"fix":{"range":[225588,225588],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6166,"column":35,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6166,"endColumn":36,"fix":{"range":[225623,225623],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6167,"column":108,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6167,"endColumn":109,"fix":{"range":[225734,225742],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6169,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6175,"endColumn":6,"fix":{"range":[225742,225742],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6169,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6169,"endColumn":26,"fix":{"range":[225767,225767],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6170,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6170,"endColumn":31,"fix":{"range":[225800,225811],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6172,"column":58,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6172,"endColumn":59,"fix":{"range":[225909,225926],"text":")\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6173,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6173,"endColumn":45,"fix":{"range":[225932,225964],"text":"visitProgressBarTimeout\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6176,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6180,"endColumn":6,"fix":{"range":[225970,225970],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6176,"column":34,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6176,"endColumn":35,"fix":{"range":[226004,226004],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6178,"column":109,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6178,"endColumn":110,"fix":{"range":[226165,226175],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6181,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6187,"endColumn":6,"fix":{"range":[226181,226181],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6181,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6181,"endColumn":25,"fix":{"range":[226205,226205],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6182,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6182,"endColumn":31,"fix":{"range":[226238,226249],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6184,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6184,"endColumn":58,"fix":{"range":[226345,226362],"text":")\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6185,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6185,"endColumn":44,"fix":{"range":[226368,226399],"text":"formProgressBarTimeout\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6188,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6192,"endColumn":6,"fix":{"range":[226405,226405],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6188,"column":11,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6188,"endColumn":12,"fix":{"range":[226416,226416],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6189,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6189,"endColumn":15,"fix":{"range":[226433,226436],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6189,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6189,"endColumn":15,"fix":{"range":[226437,226456],"text":"_a2\n dispatch"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6190,"column":16,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6190,"endColumn":30,"fix":{"range":[226457,226471],"text":"'turbo:reload'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6190,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6190,"endColumn":52,"fix":{"range":[226491,226506],"text":")\n window"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6191,"column":73,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6191,"endColumn":79},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6191,"column":82,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6191,"endColumn":88},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6191,"column":130,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6191,"endColumn":131,"fix":{"range":[226619,226630],"text":"href\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6193,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6195,"endColumn":6,"fix":{"range":[226630,226630],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6193,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6193,"endColumn":19,"fix":{"range":[226648,226648],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6194,"column":36,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6194,"endColumn":37,"fix":{"range":[226679,226695],"text":"navigator\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6196,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6196,"endColumn":5,"fix":{"range":[226698,226706],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6197,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6230,"endColumn":5,"fix":{"range":[226703,226706],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6198,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6198,"endColumn":17,"fix":{"range":[226746,226746],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6199,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6199,"endColumn":47,"fix":{"range":[226773,226797],"text":"'[data-turbo-temporary]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6199,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6199,"endColumn":48,"fix":{"range":[226773,226809],"text":"\"[data-turbo-temporary]\"\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6200,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6200,"endColumn":59,"fix":{"range":[226831,226857],"text":"'[data-turbo-cache=false]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6200,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6200,"endColumn":60,"fix":{"range":[226831,226869],"text":"\"[data-turbo-cache=false]\"\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6201,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6201,"endColumn":28,"fix":{"range":[226880,226897],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6204,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6204,"endColumn":28,"fix":{"range":[227019,227031],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6206,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6206,"endColumn":9,"fix":{"range":[227038,227046],"text":"}\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6208,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6213,"endColumn":6,"fix":{"range":[227046,227046],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6208,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6208,"endColumn":11,"fix":{"range":[227056,227056],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6210,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6210,"endColumn":29,"fix":{"range":[227111,227141],"text":"true\n addEventListener"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6211,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6211,"endColumn":46,"fix":{"range":[227142,227162],"text":"'turbo:before-cache'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6211,"column":84,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6211,"endColumn":85,"fix":{"range":[227199,227209],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6214,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6219,"endColumn":6,"fix":{"range":[227215,227215],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6214,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6214,"endColumn":10,"fix":{"range":[227224,227224],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6216,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6216,"endColumn":30,"fix":{"range":[227278,227312],"text":"false\n removeEventListener"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6217,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6217,"endColumn":49,"fix":{"range":[227313,227333],"text":"'turbo:before-cache'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6217,"column":87,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6217,"endColumn":88,"fix":{"range":[227370,227380],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6220,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6222,"endColumn":6,"fix":{"range":[227386,227386],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6220,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6220,"endColumn":27,"fix":{"range":[227412,227412],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6221,"column":101,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6221,"endColumn":102,"fix":{"range":[227516,227524],"text":"]\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6223,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6229,"endColumn":6,"fix":{"range":[227524,227524],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6223,"column":41,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6223,"endColumn":42,"fix":{"range":[227565,227565],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6224,"column":75,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6224,"endColumn":76,"fix":{"range":[227643,227654],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6226,"column":149,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6226,"endColumn":150,"fix":{"range":[227823,227833],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6228,"column":28,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6228,"endColumn":29,"fix":{"range":[227860,227868],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6230,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6230,"endColumn":5,"fix":{"range":[227871,227879],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6231,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6289,"endColumn":5,"fix":{"range":[227876,227879],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6232,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6232,"endColumn":17,"fix":{"range":[227921,227921],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6233,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6233,"endColumn":31,"fix":{"range":[227964,227984],"text":"session2\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6234,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6234,"endColumn":30,"fix":{"range":[227995,228014],"text":"element\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6235,"column":64,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6235,"endColumn":65,"fix":{"range":[228066,228079],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6236,"column":70,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6236,"endColumn":71,"fix":{"range":[228137,228145],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6238,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6241,"endColumn":6,"fix":{"range":[228145,228145],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6238,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6238,"endColumn":11,"fix":{"range":[228155,228155],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6239,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6239,"endColumn":36,"fix":{"range":[228193,228206],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6240,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6240,"endColumn":39,"fix":{"range":[228232,228240],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6242,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6245,"endColumn":6,"fix":{"range":[228240,228240],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6242,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6242,"endColumn":10,"fix":{"range":[228249,228249],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6243,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6243,"endColumn":35,"fix":{"range":[228286,228299],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6244,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6244,"endColumn":38,"fix":{"range":[228324,228332],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6246,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6248,"endColumn":6,"fix":{"range":[228332,228332],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6246,"column":29,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6246,"endColumn":30,"fix":{"range":[228361,228361],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6247,"column":42,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6247,"endColumn":43,"fix":{"range":[228432,228440],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6249,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6254,"endColumn":6,"fix":{"range":[228440,228440],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6249,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6249,"endColumn":26,"fix":{"range":[228465,228465],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6250,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6250,"endColumn":52,"fix":{"range":[228538,228549],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6252,"column":65,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6252,"endColumn":66,"fix":{"range":[228623,228633],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6255,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6257,"endColumn":6,"fix":{"range":[228639,228639],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6255,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6255,"endColumn":20,"fix":{"range":[228658,228658],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6256,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6256,"endColumn":43,"fix":{"range":[228710,228723],"text":"'turbo-frame'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6256,"column":136,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6256,"endColumn":137,"fix":{"range":[228815,228823],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6258,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6263,"endColumn":6,"fix":{"range":[228823,228823],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6258,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6258,"endColumn":19,"fix":{"range":[228841,228841],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6259,"column":62,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6259,"endColumn":63,"fix":{"range":[228924,228935],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6261,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6261,"endColumn":58,"fix":{"range":[229001,229011],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6264,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6270,"endColumn":6,"fix":{"range":[229017,229017],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6264,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6264,"endColumn":18,"fix":{"range":[229034,229034],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6265,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6265,"endColumn":15,"fix":{"range":[229060,229063],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6265,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6265,"endColumn":15,"fix":{"range":[229064,229080],"text":"_a2\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6266,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6266,"endColumn":49,"fix":{"range":[229115,229129],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6267,"column":61,"nodeType":"TemplateLiteral","messageId":"wrongQuotes","endLine":6267,"endColumn":86,"fix":{"range":[229178,229203],"text":"'meta[name=\"turbo-root\"]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6267,"column":87,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6267,"endColumn":88,"fix":{"range":[229203,229217],"text":")\n const"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6268,"column":71,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6268,"endColumn":77},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6268,"column":80,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6268,"endColumn":86},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6268,"column":123,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6268,"endColumn":129},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6268,"column":138,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6268,"endColumn":141,"fix":{"range":[229343,229346],"text":"'/'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6268,"column":142,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6268,"endColumn":143,"fix":{"range":[229346,229361],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6269,"column":95,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6269,"endColumn":96,"fix":{"range":[229442,229450],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6271,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6279,"endColumn":6,"fix":{"range":[229450,229450],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6271,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6271,"endColumn":20,"fix":{"range":[229469,229469],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6272,"column":167,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6272,"endColumn":168,"fix":{"range":[229657,229668],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6274,"column":64,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6274,"endColumn":65,"fix":{"range":[229749,229766],"text":")\n return"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":6275,"column":30,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6275,"endColumn":32},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6275,"column":49,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6275,"endColumn":62,"fix":{"range":[229800,229813],"text":"'turbo-frame'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6275,"column":71,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6275,"endColumn":72,"fix":{"range":[229817,229831],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6277,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6277,"endColumn":22,"fix":{"range":[229854,229868],"text":"false\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6280,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6288,"endColumn":6,"fix":{"range":[229874,229874],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6280,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6280,"endColumn":22,"fix":{"range":[229895,229895],"text":" "}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6281,"column":56,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6281,"endColumn":62},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6281,"column":65,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6281,"endColumn":71},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6281,"column":97,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6281,"endColumn":115,"fix":{"range":[230014,230032],"text":"'data-turbo-frame'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6281,"column":142,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6281,"endColumn":160,"fix":{"range":[230059,230077],"text":"'data-turbo-frame'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6281,"column":161,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6281,"endColumn":162,"fix":{"range":[230077,230088],"text":")\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":6282,"column":22,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6282,"endColumn":24},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6282,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6282,"endColumn":31,"fix":{"range":[230104,230110],"text":"'_top'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6283,"column":76,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6283,"endColumn":77,"fix":{"range":[230188,230201],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6285,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6285,"endColumn":24,"fix":{"range":[230253,230269],"text":"frame\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6289,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6289,"endColumn":5,"fix":{"range":[230286,230294],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6290,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6367,"endColumn":5,"fix":{"range":[230291,230294],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6291,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6291,"endColumn":17,"fix":{"range":[230329,230329],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6292,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6292,"endColumn":43,"fix":{"range":[230382,230395],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6293,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6293,"endColumn":33,"fix":{"range":[230415,230428],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6294,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6294,"endColumn":28,"fix":{"range":[230439,230456],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6295,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6295,"endColumn":31,"fix":{"range":[230470,230487],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6298,"column":46,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6298,"endColumn":47,"fix":{"range":[230601,230616],"text":"}\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6300,"column":58,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6300,"endColumn":59,"fix":{"range":[230683,230703],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6301,"column":52,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6301,"endColumn":53,"fix":{"range":[230732,230755],"text":"turbo\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6302,"column":63,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6302,"endColumn":64,"fix":{"range":[230780,230819],"text":"restorationIdentifier\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6303,"column":113,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6303,"endColumn":114,"fix":{"range":[230914,230928],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6306,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6306,"endColumn":9,"fix":{"range":[230945,230958],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6308,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6308,"endColumn":31,"fix":{"range":[231020,231035],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6309,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6309,"endColumn":32,"fix":{"range":[231049,231062],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6310,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6310,"endColumn":9,"fix":{"range":[231061,231074],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6311,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6311,"endColumn":32,"fix":{"range":[231086,231101],"text":"delegate\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6313,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6320,"endColumn":6,"fix":{"range":[231101,231101],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6313,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6313,"endColumn":11,"fix":{"range":[231111,231111],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6315,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6315,"endColumn":36,"fix":{"range":[231168,231178],"text":"'popstate'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6315,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6315,"endColumn":62,"fix":{"range":[231202,231229],"text":")\n addEventListener"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6316,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6316,"endColumn":32,"fix":{"range":[231230,231236],"text":"'load'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6316,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6316,"endColumn":58,"fix":{"range":[231260,231275],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6317,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6317,"endColumn":29,"fix":{"range":[231286,231304],"text":"true\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6318,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6318,"endColumn":53,"fix":{"range":[231342,231352],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6321,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6327,"endColumn":6,"fix":{"range":[231358,231358],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6321,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6321,"endColumn":10,"fix":{"range":[231367,231367],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6323,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6323,"endColumn":39,"fix":{"range":[231426,231436],"text":"'popstate'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6323,"column":64,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6323,"endColumn":65,"fix":{"range":[231460,231490],"text":")\n removeEventListener"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6324,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6324,"endColumn":35,"fix":{"range":[231491,231497],"text":"'load'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6324,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6324,"endColumn":61,"fix":{"range":[231521,231536],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6325,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6325,"endColumn":30,"fix":{"range":[231547,231561],"text":"false\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6328,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6330,"endColumn":6,"fix":{"range":[231567,231567],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6328,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6328,"endColumn":10,"fix":{"range":[231576,231576],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6329,"column":71,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6329,"endColumn":72,"fix":{"range":[231682,231690],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6331,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6333,"endColumn":6,"fix":{"range":[231690,231690],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6331,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6331,"endColumn":13,"fix":{"range":[231702,231702],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6332,"column":74,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6332,"endColumn":75,"fix":{"range":[231811,231819],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6334,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6339,"endColumn":6,"fix":{"range":[231819,231819],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6334,"column":11,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6334,"endColumn":12,"fix":{"range":[231830,231830],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6335,"column":57,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6335,"endColumn":58,"fix":{"range":[231939,231954],"text":"}\n method"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6336,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6336,"endColumn":37,"fix":{"range":[231976,231978],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6336,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6336,"endColumn":55,"fix":{"range":[231994,232007],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6337,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6337,"endColumn":33,"fix":{"range":[232019,232040],"text":"location2\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6338,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6338,"endColumn":58,"fix":{"range":[232065,232093],"text":"restorationIdentifier\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6340,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6342,"endColumn":6,"fix":{"range":[232093,232093],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6340,"column":36,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6340,"endColumn":37,"fix":{"range":[232129,232129],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6341,"column":63,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6341,"endColumn":64,"fix":{"range":[232216,232224],"text":"}\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6343,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6347,"endColumn":6,"fix":{"range":[232224,232224],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6343,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6343,"endColumn":27,"fix":{"range":[232250,232250],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6344,"column":45,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6344,"endColumn":46,"fix":{"range":[232309,232326],"text":"this\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6345,"column":74,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6345,"endColumn":75,"fix":{"range":[232387,232400],"text":"]\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6346,"column":118,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6346,"endColumn":119,"fix":{"range":[232506,232514],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6348,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6354,"endColumn":6,"fix":{"range":[232514,232514],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6348,"column":37,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6348,"endColumn":38,"fix":{"range":[232551,232551],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6349,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6349,"endColumn":15,"fix":{"range":[232562,232565],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6349,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6349,"endColumn":15,"fix":{"range":[232566,232579],"text":"_a2\n if"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6351,"column":96,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6351,"endColumn":102},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6351,"column":111,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6351,"endColumn":117,"fix":{"range":[232726,232732],"text":"'auto'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6351,"column":117,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6351,"endColumn":118,"fix":{"range":[232726,232749],"text":"\"auto\"\n history"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6352,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6352,"endColumn":45,"fix":{"range":[232770,232778],"text":"'manual'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6352,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6352,"endColumn":46,"fix":{"range":[232770,232787],"text":"\"manual\"\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6355,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6360,"endColumn":6,"fix":{"range":[232793,232793],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6355,"column":41,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6355,"endColumn":42,"fix":{"range":[232834,232834],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6357,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6357,"endColumn":68,"fix":{"range":[232924,232965],"text":"previousScrollRestoration\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6358,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6358,"endColumn":47,"fix":{"range":[232971,233005],"text":"previousScrollRestoration\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6361,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6363,"endColumn":6,"fix":{"range":[233011,233011],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6361,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6361,"endColumn":26,"fix":{"range":[233036,233036],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6362,"column":33,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6362,"endColumn":34,"fix":{"range":[233072,233080],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6364,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6366,"endColumn":6,"fix":{"range":[233080,233080],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6364,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6364,"endColumn":18,"fix":{"range":[233097,233097],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":6365,"column":53,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6365,"endColumn":55},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6365,"column":56,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6365,"endColumn":66,"fix":{"range":[233157,233167],"text":"'complete'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6365,"column":66,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6365,"endColumn":67,"fix":{"range":[233157,233174],"text":"\"complete\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6367,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6367,"endColumn":5,"fix":{"range":[233177,233185],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6368,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6479,"endColumn":5,"fix":{"range":[233182,233185],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6369,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6369,"endColumn":17,"fix":{"range":[233221,233221],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6370,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6370,"endColumn":32,"fix":{"range":[233256,233271],"text":"delegate\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6372,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6380,"endColumn":6,"fix":{"range":[233271,233271],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6372,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6372,"endColumn":18,"fix":{"range":[233288,233288],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6375,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6375,"endColumn":70,"fix":{"range":[233551,233563],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6377,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6377,"endColumn":55,"fix":{"range":[233623,233635],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6381,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6385,"endColumn":6,"fix":{"range":[233649,233649],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6381,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6381,"endColumn":16,"fix":{"range":[233664,233664],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6382,"column":18,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6382,"endColumn":19,"fix":{"range":[233732,233745],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6383,"column":141,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6383,"endColumn":142,"fix":{"range":[233874,233887],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6384,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6384,"endColumn":33,"fix":{"range":[233907,233915],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6386,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6390,"endColumn":6,"fix":{"range":[233915,233915],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6386,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6386,"endColumn":16,"fix":{"range":[233930,233930],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6387,"column":18,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6387,"endColumn":19,"fix":{"range":[233966,233979],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6388,"column":76,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6388,"endColumn":77,"fix":{"range":[234043,234056],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6389,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6389,"endColumn":35,"fix":{"range":[234078,234086],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6391,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6400,"endColumn":6,"fix":{"range":[234086,234086],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6391,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6391,"endColumn":10,"fix":{"range":[234095,234095],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6393,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6393,"endColumn":36,"fix":{"range":[234166,234183],"text":")\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6394,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6394,"endColumn":36,"fix":{"range":[234189,234212],"text":"formSubmission\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6397,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6397,"endColumn":36,"fix":{"range":[234277,234294],"text":")\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6398,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6398,"endColumn":34,"fix":{"range":[234300,234321],"text":"currentVisit\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6401,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6403,"endColumn":6,"fix":{"range":[234327,234327],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6401,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6401,"endColumn":17,"fix":{"range":[234343,234343],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6402,"column":35,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6402,"endColumn":36,"fix":{"range":[234375,234389],"text":"adapter\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6404,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6406,"endColumn":6,"fix":{"range":[234389,234389],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6404,"column":13,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6404,"endColumn":14,"fix":{"range":[234402,234402],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6405,"column":32,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6405,"endColumn":33,"fix":{"range":[234434,234445],"text":"view\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6407,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6409,"endColumn":6,"fix":{"range":[234445,234445],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6407,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6407,"endColumn":17,"fix":{"range":[234461,234461],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6408,"column":35,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6408,"endColumn":36,"fix":{"range":[234493,234507],"text":"history\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6410,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6414,"endColumn":6,"fix":{"range":[234507,234507],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6410,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6410,"endColumn":27,"fix":{"range":[234533,234533],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6411,"column":57,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6411,"endColumn":67,"fix":{"range":[234608,234618],"text":"'function'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6412,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6412,"endColumn":60,"fix":{"range":[234679,234689],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6415,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6433,"endColumn":6,"fix":{"range":[234695,234695],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6415,"column":46,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6415,"endColumn":47,"fix":{"range":[234741,234741],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":6416,"column":26,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6416,"endColumn":28},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6417,"column":62,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6417,"endColumn":63,"fix":{"range":[234875,234899],"text":"responseHTML\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6419,"column":60,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6419,"endColumn":61,"fix":{"range":[234970,234990],"text":"isSafe\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6421,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6421,"endColumn":44,"fix":{"range":[235057,235071],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6423,"column":59,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6423,"endColumn":60,"fix":{"range":[235117,235147],"text":"fetchResponse\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6424,"column":73,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6424,"endColumn":74,"fix":{"range":[235203,235221],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6429,"column":12,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6429,"endColumn":13,"fix":{"range":[235365,235382],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6430,"column":66,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6430,"endColumn":67,"fix":{"range":[235432,235444],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6434,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6446,"endColumn":6,"fix":{"range":[235458,235458],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6434,"column":43,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6434,"endColumn":44,"fix":{"range":[235501,235501],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6435,"column":60,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6435,"endColumn":61,"fix":{"range":[235582,235604],"text":"responseHTML\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6437,"column":67,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6437,"endColumn":68,"fix":{"range":[235687,235700],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6439,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6439,"endColumn":68,"fix":{"range":[235796,235808],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6441,"column":79,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6441,"endColumn":80,"fix":{"range":[235893,235905],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6443,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6443,"endColumn":33,"fix":{"range":[235936,235951],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6444,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6444,"endColumn":40,"fix":{"range":[235976,235986],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6447,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6449,"endColumn":6,"fix":{"range":[235992,235992],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6447,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6447,"endColumn":27,"fix":{"range":[236018,236018],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6448,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6448,"endColumn":29,"fix":{"range":[236071,236079],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6450,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6454,"endColumn":6,"fix":{"range":[236079,236079],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6450,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6450,"endColumn":28,"fix":{"range":[236106,236106],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6451,"column":58,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6451,"endColumn":68,"fix":{"range":[236182,236192],"text":"'function'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6452,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6452,"endColumn":61,"fix":{"range":[236254,236264],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6455,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6457,"endColumn":6,"fix":{"range":[236270,236270],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6455,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6455,"endColumn":18,"fix":{"range":[236287,236287],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6456,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6456,"endColumn":42,"fix":{"range":[236337,236345],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6458,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6460,"endColumn":6,"fix":{"range":[236345,236345],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6458,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6458,"endColumn":20,"fix":{"range":[236364,236364],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6459,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6459,"endColumn":44,"fix":{"range":[236416,236424],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6461,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6466,"endColumn":6,"fix":{"range":[236424,236424],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6461,"column":33,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6461,"endColumn":34,"fix":{"range":[236457,236457],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6462,"column":42,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6462,"endColumn":43,"fix":{"range":[236519,236533],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6463,"column":70,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6463,"endColumn":71,"fix":{"range":[236590,236604],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6464,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6464,"endColumn":54,"fix":{"range":[236637,236646],"text":"'restore'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6464,"column":76,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6464,"endColumn":87,"fix":{"range":[236668,236679],"text":"'undefined'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6464,"column":87,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6464,"endColumn":88,"fix":{"range":[236668,236693],"text":"\"undefined\"\n return"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6465,"column":25,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6465,"endColumn":34,"fix":{"range":[236705,236714],"text":"'replace'"}},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":6465,"column":136,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":6465,"endColumn":138},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":6465,"column":154,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":6465,"endColumn":156},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6465,"column":182,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6465,"endColumn":183,"fix":{"range":[236861,236869],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6467,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6469,"endColumn":6,"fix":{"range":[236869,236869],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6467,"column":36,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6467,"endColumn":37,"fix":{"range":[236905,236905],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6468,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6468,"endColumn":69,"fix":{"range":[236990,236998],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6470,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6472,"endColumn":6,"fix":{"range":[236998,236998],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6470,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6470,"endColumn":18,"fix":{"range":[237015,237015],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6471,"column":35,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6471,"endColumn":36,"fix":{"range":[237046,237061],"text":"location\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6473,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6475,"endColumn":6,"fix":{"range":[237061,237061],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6473,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6473,"endColumn":31,"fix":{"range":[237091,237091],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6474,"column":48,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6474,"endColumn":49,"fix":{"range":[237122,237150],"text":"restorationIdentifier\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6476,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6478,"endColumn":6,"fix":{"range":[237150,237150],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6476,"column":31,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6476,"endColumn":32,"fix":{"range":[237181,237181],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6477,"column":56,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6477,"endColumn":65,"fix":{"range":[237267,237276],"text":"'advance'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6477,"column":65,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6477,"endColumn":66,"fix":{"range":[237267,237283],"text":"\"advance\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6479,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6479,"endColumn":5,"fix":{"range":[237286,237294],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6480,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6480,"endColumn":17,"fix":{"range":[237291,237294],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6481,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6481,"endColumn":13,"fix":{"range":[237317,237317],"text":" "}},{"ruleId":"dot-notation","severity":2,"message":"[\"initial\"] is better written in dot notation.","line":6482,"column":27,"nodeType":"Literal","messageId":"useDot","endLine":6482,"endColumn":36,"fix":{"range":[237357,237368],"text":".initial"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6482,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6482,"endColumn":36,"fix":{"range":[237358,237367],"text":"'initial'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6482,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6482,"endColumn":54,"fix":{"range":[237376,237385],"text":"'initial'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6482,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6482,"endColumn":55,"fix":{"range":[237376,237401],"text":"\"initial\"\n PageStage2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"loading\"] is better written in dot notation.","line":6483,"column":27,"nodeType":"Literal","messageId":"useDot","endLine":6483,"endColumn":36,"fix":{"range":[237412,237423],"text":".loading"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6483,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6483,"endColumn":36,"fix":{"range":[237413,237422],"text":"'loading'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6483,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6483,"endColumn":54,"fix":{"range":[237431,237440],"text":"'loading'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6483,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6483,"endColumn":55,"fix":{"range":[237431,237456],"text":"\"loading\"\n PageStage2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"interactive\"] is better written in dot notation.","line":6484,"column":27,"nodeType":"Literal","messageId":"useDot","endLine":6484,"endColumn":40,"fix":{"range":[237467,237482],"text":".interactive"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6484,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6484,"endColumn":40,"fix":{"range":[237468,237481],"text":"'interactive'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6484,"column":49,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6484,"endColumn":62,"fix":{"range":[237490,237503],"text":"'interactive'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6484,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6484,"endColumn":63,"fix":{"range":[237490,237519],"text":"\"interactive\"\n PageStage2"}},{"ruleId":"dot-notation","severity":2,"message":"[\"complete\"] is better written in dot notation.","line":6485,"column":27,"nodeType":"Literal","messageId":"useDot","endLine":6485,"endColumn":37,"fix":{"range":[237530,237542],"text":".complete"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6485,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6485,"endColumn":37,"fix":{"range":[237531,237541],"text":"'complete'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6485,"column":46,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6485,"endColumn":56,"fix":{"range":[237550,237560],"text":"'complete'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6485,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6485,"endColumn":57,"fix":{"range":[237550,237565],"text":"\"complete\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6486,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6486,"endColumn":37,"fix":{"range":[237596,237604],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6487,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6537,"endColumn":5,"fix":{"range":[237601,237604],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6488,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6488,"endColumn":17,"fix":{"range":[237643,237643],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6489,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6489,"endColumn":38,"fix":{"range":[237685,237704],"text":"initial\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6490,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6490,"endColumn":28,"fix":{"range":[237715,237732],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6492,"column":36,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6492,"endColumn":37,"fix":{"range":[237794,237810],"text":"this\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":6493,"column":24,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6493,"endColumn":26},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6493,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6493,"endColumn":40,"fix":{"range":[237826,237839],"text":"'interactive'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6494,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6494,"endColumn":36,"fix":{"range":[237876,237888],"text":")\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":6495,"column":31,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6495,"endColumn":33},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6495,"column":34,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6495,"endColumn":44,"fix":{"range":[237912,237922],"text":"'complete'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6496,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6496,"endColumn":33,"fix":{"range":[237956,237968],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6498,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6498,"endColumn":9,"fix":{"range":[237975,237988],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6500,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6500,"endColumn":40,"fix":{"range":[238051,238061],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6501,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6501,"endColumn":9,"fix":{"range":[238060,238073],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6502,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6502,"endColumn":32,"fix":{"range":[238085,238100],"text":"delegate\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6504,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6513,"endColumn":6,"fix":{"range":[238100,238100],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6504,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6504,"endColumn":11,"fix":{"range":[238110,238110],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":6506,"column":24,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6506,"endColumn":26},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6507,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6507,"endColumn":42,"fix":{"range":[238222,238240],"text":"loading\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6509,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6509,"endColumn":53,"fix":{"range":[238275,238293],"text":"'readystatechange'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6509,"column":87,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6509,"endColumn":88,"fix":{"range":[238326,238353],"text":")\n addEventListener"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6510,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6510,"endColumn":36,"fix":{"range":[238354,238364],"text":"'pagehide'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6510,"column":65,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6510,"endColumn":66,"fix":{"range":[238392,238407],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6511,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6511,"endColumn":29,"fix":{"range":[238418,238431],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6514,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6520,"endColumn":6,"fix":{"range":[238437,238437],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6514,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6514,"endColumn":10,"fix":{"range":[238446,238446],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6516,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6516,"endColumn":56,"fix":{"range":[238514,238532],"text":"'readystatechange'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6516,"column":90,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6516,"endColumn":91,"fix":{"range":[238565,238595],"text":")\n removeEventListener"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6517,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6517,"endColumn":39,"fix":{"range":[238596,238606],"text":"'pagehide'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6517,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6517,"endColumn":69,"fix":{"range":[238634,238649],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6518,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6518,"endColumn":30,"fix":{"range":[238660,238674],"text":"false\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6521,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6526,"endColumn":6,"fix":{"range":[238680,238680],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6521,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6521,"endColumn":23,"fix":{"range":[238702,238702],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":6522,"column":22,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6522,"endColumn":24},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6523,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6523,"endColumn":44,"fix":{"range":[238783,238808],"text":"interactive\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6524,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6524,"endColumn":47,"fix":{"range":[238840,238850],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6527,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6533,"endColumn":6,"fix":{"range":[238856,238856],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6527,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6527,"endColumn":20,"fix":{"range":[238875,238875],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6528,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6528,"endColumn":32,"fix":{"range":[238909,238920],"text":")\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":6529,"column":22,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6529,"endColumn":24},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6530,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6530,"endColumn":41,"fix":{"range":[238992,239014],"text":"complete\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6531,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6531,"endColumn":36,"fix":{"range":[239035,239045],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6534,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6536,"endColumn":6,"fix":{"range":[239051,239051],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6534,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6534,"endColumn":20,"fix":{"range":[239070,239070],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6535,"column":33,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6535,"endColumn":34,"fix":{"range":[239097,239114],"text":"readyState\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6537,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6537,"endColumn":5,"fix":{"range":[239117,239125],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6538,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6562,"endColumn":5,"fix":{"range":[239122,239125],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6539,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6539,"endColumn":17,"fix":{"range":[239166,239166],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6540,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6540,"endColumn":28,"fix":{"range":[239200,239217],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6542,"column":78,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6542,"endColumn":79,"fix":{"range":[239313,239323],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6543,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6543,"endColumn":9,"fix":{"range":[239322,239335],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6544,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6544,"endColumn":32,"fix":{"range":[239347,239362],"text":"delegate\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6546,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6552,"endColumn":6,"fix":{"range":[239362,239362],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6546,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6546,"endColumn":11,"fix":{"range":[239372,239372],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6548,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6548,"endColumn":34,"fix":{"range":[239429,239437],"text":"'scroll'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6548,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6548,"endColumn":58,"fix":{"range":[239459,239474],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6549,"column":24,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6549,"endColumn":25,"fix":{"range":[239484,239499],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6550,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6550,"endColumn":29,"fix":{"range":[239510,239523],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6553,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6558,"endColumn":6,"fix":{"range":[239529,239529],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6553,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6553,"endColumn":10,"fix":{"range":[239538,239538],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6555,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6555,"endColumn":37,"fix":{"range":[239597,239605],"text":"'scroll'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6555,"column":60,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6555,"endColumn":61,"fix":{"range":[239627,239642],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6556,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6556,"endColumn":30,"fix":{"range":[239653,239667],"text":"false\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6559,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6561,"endColumn":6,"fix":{"range":[239673,239673],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6559,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6559,"endColumn":20,"fix":{"range":[239692,239692],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6560,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6560,"endColumn":53,"fix":{"range":[239755,239763],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6562,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6562,"endColumn":5,"fix":{"range":[239766,239774],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6563,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6572,"endColumn":5,"fix":{"range":[239771,239774],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6564,"column":11,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6564,"endColumn":12,"fix":{"range":[239817,239817],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6565,"column":145,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6565,"endColumn":146,"fix":{"range":[239977,239985],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6567,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6569,"endColumn":6,"fix":{"range":[239985,239985],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6567,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6567,"endColumn":19,"fix":{"range":[240003,240003],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6568,"column":79,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6568,"endColumn":80,"fix":{"range":[240129,240137],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6570,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6571,"endColumn":6,"fix":{"range":[240137,240137],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6570,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6570,"endColumn":18,"fix":{"range":[240154,240154],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6572,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6572,"endColumn":5,"fix":{"range":[240167,240180],"text":"}\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6573,"column":45,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":6573,"endColumn":46,"fix":{"range":[240214,240214],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6574,"column":92,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6574,"endColumn":93,"fix":{"range":[240317,240329],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6575,"column":35,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6575,"endColumn":36,"fix":{"range":[240353,240363],"text":"}\n for"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6577,"column":53,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6577,"endColumn":54,"fix":{"range":[240458,240495],"text":"permanentElementInDocument\n for"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6578,"column":61,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6578,"endColumn":75,"fix":{"range":[240546,240560],"text":"'turbo-stream'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6579,"column":100,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6579,"endColumn":101,"fix":{"range":[240663,240676],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6581,"column":83,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6581,"endColumn":84,"fix":{"range":[240778,240790],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6585,"column":31,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6585,"endColumn":32,"fix":{"range":[240816,240840],"text":"permanentElementMap\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6587,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6641,"endColumn":5,"fix":{"range":[240843,240846],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6588,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6588,"endColumn":17,"fix":{"range":[240887,240887],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6589,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6589,"endColumn":48,"fix":{"range":[240945,240958],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6590,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6590,"endColumn":28,"fix":{"range":[240969,240986],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6592,"column":55,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6592,"endColumn":56,"fix":{"range":[241076,241089],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6594,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6594,"endColumn":34,"fix":{"range":[241169,241186],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6595,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6595,"endColumn":49,"fix":{"range":[241218,241230],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6597,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6597,"endColumn":9,"fix":{"range":[241237,241250],"text":"}\n this"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":6599,"column":47,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6599,"endColumn":49,"fix":{"range":[241332,241334],"text":"==="}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6599,"column":50,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6599,"endColumn":58,"fix":{"range":[241335,241343],"text":"'string'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6600,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6600,"endColumn":47,"fix":{"range":[241391,241403],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6602,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6602,"endColumn":9,"fix":{"range":[241410,241423],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6603,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6603,"endColumn":32,"fix":{"range":[241435,241450],"text":"delegate\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6605,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6610,"endColumn":6,"fix":{"range":[241450,241450],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6605,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6605,"endColumn":11,"fix":{"range":[241460,241460],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6607,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6607,"endColumn":29,"fix":{"range":[241515,241545],"text":"true\n addEventListener"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6608,"column":26,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6608,"endColumn":55,"fix":{"range":[241546,241575],"text":"'turbo:before-fetch-response'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6608,"column":90,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6608,"endColumn":91,"fix":{"range":[241609,241619],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6611,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6616,"endColumn":6,"fix":{"range":[241625,241625],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6611,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6611,"endColumn":10,"fix":{"range":[241634,241634],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6613,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6613,"endColumn":30,"fix":{"range":[241688,241722],"text":"false\n removeEventListener"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6614,"column":29,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6614,"endColumn":58,"fix":{"range":[241723,241752],"text":"'turbo:before-fetch-response'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6614,"column":93,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6614,"endColumn":94,"fix":{"range":[241786,241796],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6617,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6622,"endColumn":6,"fix":{"range":[241802,241802],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6617,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6617,"endColumn":25,"fix":{"range":[241826,241826],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6619,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6619,"endColumn":34,"fix":{"range":[241919,241936],"text":")\n source"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6620,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6620,"endColumn":42,"fix":{"range":[241954,241963],"text":"'message'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6620,"column":76,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6620,"endColumn":77,"fix":{"range":[241996,242006],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6623,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6628,"endColumn":6,"fix":{"range":[242012,242012],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6623,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6623,"endColumn":28,"fix":{"range":[242039,242039],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6625,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6625,"endColumn":37,"fix":{"range":[242134,242151],"text":")\n source"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6626,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6626,"endColumn":45,"fix":{"range":[242172,242181],"text":"'message'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6626,"column":79,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6626,"endColumn":80,"fix":{"range":[242214,242224],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6629,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6631,"endColumn":6,"fix":{"range":[242230,242230],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6629,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6629,"endColumn":29,"fix":{"range":[242258,242258],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6630,"column":38,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6630,"endColumn":39,"fix":{"range":[242305,242313],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6632,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6637,"endColumn":6,"fix":{"range":[242313,242313],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6632,"column":33,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6632,"endColumn":34,"fix":{"range":[242346,242346],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6633,"column":47,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6633,"endColumn":48,"fix":{"range":[242393,242415],"text":"responseHTML\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6635,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6635,"endColumn":39,"fix":{"range":[242461,242471],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6638,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6640,"endColumn":6,"fix":{"range":[242477,242477],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6638,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6638,"endColumn":24,"fix":{"range":[242500,242500],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6639,"column":72,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6639,"endColumn":73,"fix":{"range":[242579,242587],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6641,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6641,"endColumn":5,"fix":{"range":[242590,242603],"text":"}\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6642,"column":34,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":6642,"endColumn":35,"fix":{"range":[242626,242626],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6643,"column":5,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6643,"endColumn":13,"fix":{"range":[242640,242643],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6643,"column":12,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6643,"endColumn":13,"fix":{"range":[242644,242658],"text":"_a2\n const"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6644,"column":68,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6644,"endColumn":74},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6644,"column":77,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6644,"endColumn":83},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6644,"column":103,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6644,"endColumn":104,"fix":{"range":[242738,242759],"text":"fetchResponse\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6646,"column":27,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6646,"endColumn":28,"fix":{"range":[242816,242836],"text":"fetchResponse\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6649,"column":33,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":6649,"endColumn":34,"fix":{"range":[242873,242873],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6650,"column":5,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6650,"endColumn":13,"fix":{"range":[242890,242893],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6650,"column":12,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6650,"endColumn":13,"fix":{"range":[242894,242908],"text":"_a2\n const"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6651,"column":74,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6651,"endColumn":80},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6651,"column":89,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6651,"endColumn":91,"fix":{"range":[242987,242989],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6651,"column":91,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6651,"endColumn":92,"fix":{"range":[242987,243001],"text":"\"\"\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6652,"column":61,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6652,"endColumn":62,"fix":{"range":[243050,243056],"text":")\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6654,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6683,"endColumn":5,"fix":{"range":[243059,243062],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6655,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6655,"endColumn":26,"fix":{"range":[243128,243128],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6656,"column":49,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6656,"endColumn":50,"fix":{"range":[243199,243230],"text":"document\n documentElement"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6657,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6657,"endColumn":54,"fix":{"range":[243260,243268],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6659,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6662,"endColumn":6,"fix":{"range":[243268,243268],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6659,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6659,"endColumn":18,"fix":{"range":[243285,243285],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6660,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6660,"endColumn":33,"fix":{"range":[243320,243333],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6661,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6661,"endColumn":37,"fix":{"range":[243357,243365],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6663,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6667,"endColumn":6,"fix":{"range":[243365,243365],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6663,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6663,"endColumn":24,"fix":{"range":[243388,243388],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6664,"column":49,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6664,"endColumn":50,"fix":{"range":[243433,243464],"text":"document\n documentElement"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6665,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6665,"endColumn":56,"fix":{"range":[243496,243509],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6666,"column":63,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6666,"endColumn":64,"fix":{"range":[243560,243568],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6668,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6676,"endColumn":6,"fix":{"range":[243568,243568],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6668,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6668,"endColumn":28,"fix":{"range":[243595,243595],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6670,"column":57,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6670,"endColumn":58,"fix":{"range":[243708,243730],"text":"parentNode\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6672,"column":68,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6672,"endColumn":69,"fix":{"range":[243812,243835],"text":")\n parentNode"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6673,"column":63,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6673,"endColumn":64,"fix":{"range":[243876,243888],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6677,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6679,"endColumn":6,"fix":{"range":[243902,243902],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6677,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6677,"endColumn":17,"fix":{"range":[243918,243918],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6678,"column":51,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6678,"endColumn":52,"fix":{"range":[243966,243980],"text":"element\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6680,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6682,"endColumn":6,"fix":{"range":[243980,243980],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6680,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6680,"endColumn":24,"fix":{"range":[244003,244003],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6681,"column":56,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6681,"endColumn":64,"fix":{"range":[244063,244071],"text":"'script'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6681,"column":65,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6681,"endColumn":66,"fix":{"range":[244071,244079],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6683,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6683,"endColumn":5,"fix":{"range":[244082,244090],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6684,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6826,"endColumn":5},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6685,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6685,"endColumn":26,"fix":{"range":[244155,244155],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6687,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6687,"endColumn":47,"fix":{"range":[244298,244308],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6689,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6689,"endColumn":58,"fix":{"range":[244371,244381],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6692,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6694,"endColumn":6,"fix":{"range":[244387,244387],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6692,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6692,"endColumn":22,"fix":{"range":[244408,244408],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6693,"column":78,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6693,"endColumn":79,"fix":{"range":[244463,244497],"text":"trackedElementsAreIdentical\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6695,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6706,"endColumn":6,"fix":{"range":[244497,244497],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6695,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6695,"endColumn":22,"fix":{"range":[244518,244518],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6698,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6698,"endColumn":50,"fix":{"range":[244601,244632],"text":"'turbo_visit_control_is_reload'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6699,"column":10,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6699,"endColumn":11,"fix":{"range":[244641,244651],"text":"}\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6703,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6703,"endColumn":45,"fix":{"range":[244734,244760],"text":"'tracked_element_mismatch'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6704,"column":10,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6704,"endColumn":11,"fix":{"range":[244769,244779],"text":"}\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6707,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6709,"endColumn":6,"fix":{"range":[244785,244785],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6707,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6707,"endColumn":27,"fix":{"range":[244811,244811],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6708,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6708,"endColumn":30,"fix":{"range":[244843,244851],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6710,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6714,"endColumn":6,"fix":{"range":[244851,244851],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6710,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6710,"endColumn":18,"fix":{"range":[244868,244868],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6712,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6712,"endColumn":34,"fix":{"range":[244933,244943],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6715,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6720,"endColumn":6,"fix":{"range":[244949,244949],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6715,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6715,"endColumn":21,"fix":{"range":[244969,244969],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6716,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6716,"endColumn":31,"fix":{"range":[245002,245013],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6718,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6718,"endColumn":47,"fix":{"range":[245078,245088],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6721,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6723,"endColumn":6,"fix":{"range":[245094,245094],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6721,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6721,"endColumn":29,"fix":{"range":[245122,245122],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6722,"column":47,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6722,"endColumn":48,"fix":{"range":[245161,245180],"text":"headSnapshot\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6724,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6726,"endColumn":6,"fix":{"range":[245180,245180],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6724,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6724,"endColumn":25,"fix":{"range":[245204,245204],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6725,"column":43,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6725,"endColumn":44,"fix":{"range":[245239,245258],"text":"headSnapshot\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6727,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6729,"endColumn":6,"fix":{"range":[245258,245258],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6727,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6727,"endColumn":20,"fix":{"range":[245277,245277],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6728,"column":38,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6728,"endColumn":39,"fix":{"range":[245312,245326],"text":"element\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6730,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6736,"endColumn":6,"fix":{"range":[245326,245326],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6730,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6730,"endColumn":21,"fix":{"range":[245346,245346],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6731,"column":65,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6731,"endColumn":66,"fix":{"range":[245414,245428],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6732,"column":73,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6732,"endColumn":74,"fix":{"range":[245488,245501],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6733,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6733,"endColumn":40,"fix":{"range":[245528,245542],"text":")\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6734,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6734,"endColumn":32,"fix":{"range":[245543,245574],"text":"mergedHeadElements\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6735,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6735,"endColumn":35,"fix":{"range":[245575,245603],"text":"newStylesheetElements\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6737,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6742,"endColumn":6,"fix":{"range":[245603,245603],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6737,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6737,"endColumn":23,"fix":{"range":[245625,245625],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6739,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6739,"endColumn":32,"fix":{"range":[245718,245734],"text":")\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6740,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6740,"endColumn":36,"fix":{"range":[245754,245764],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6741,"column":9,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6741,"endColumn":10,"fix":{"range":[245764,245772],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6743,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6745,"endColumn":6,"fix":{"range":[245772,245772],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6743,"column":36,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6743,"endColumn":37,"fix":{"range":[245808,245808],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":6744,"column":63,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6744,"endColumn":65},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6744,"column":110,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6744,"endColumn":111,"fix":{"range":[245899,245929],"text":"trackedElementSignature\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6746,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6753,"endColumn":6,"fix":{"range":[245929,245929],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6746,"column":40,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6746,"endColumn":41,"fix":{"range":[245969,245969],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6747,"column":33,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6747,"endColumn":34,"fix":{"range":[246005,246017],"text":"]\n for"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6749,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6749,"endColumn":52,"fix":{"range":[246119,246138],"text":")\n document"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6750,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6750,"endColumn":44,"fix":{"range":[246163,246173],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6752,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6752,"endColumn":42,"fix":{"range":[246213,246221],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6754,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6758,"endColumn":6,"fix":{"range":[246221,246221],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6754,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6754,"endColumn":31,"fix":{"range":[246251,246251],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6756,"column":66,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6756,"endColumn":67,"fix":{"range":[246378,246388],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6759,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6769,"endColumn":6,"fix":{"range":[246394,246394],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6759,"column":35,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6759,"endColumn":36,"fix":{"range":[246429,246429],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6760,"column":67,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6760,"endColumn":68,"fix":{"range":[246499,246511],"text":"]\n for"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6763,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6763,"endColumn":46,"fix":{"range":[246689,246701],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6767,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6767,"endColumn":44,"fix":{"range":[246798,246808],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6770,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6787,"endColumn":6,"fix":{"range":[246814,246814],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6770,"column":34,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6770,"endColumn":35,"fix":{"range":[246848,246848],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":6772,"column":29,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6772,"endColumn":31},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6772,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6772,"endColumn":39,"fix":{"range":[246969,246976],"text":"'TITLE'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":6773,"column":34,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6773,"endColumn":36},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6773,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6773,"endColumn":44,"fix":{"range":[247016,247023],"text":"'TITLE'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6774,"column":21,"nodeType":"ContinueStatement","messageId":"extraSemi","endLine":6774,"endColumn":22,"fix":{"range":[247039,247060],"text":"continue\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":6776,"column":33,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6776,"endColumn":35},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6777,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6777,"endColumn":42,"fix":{"range":[247159,247180],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6778,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6778,"endColumn":25,"fix":{"range":[247181,247198],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6782,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6782,"endColumn":40,"fix":{"range":[247293,247312],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6783,"column":22,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6783,"endColumn":23,"fix":{"range":[247313,247328],"text":"true\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6786,"column":19,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6786,"endColumn":20,"fix":{"range":[247350,247362],"text":"false\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6788,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6792,"endColumn":6,"fix":{"range":[247362,247362],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6788,"column":41,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6788,"endColumn":42,"fix":{"range":[247403,247403],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6790,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6790,"endColumn":44,"fix":{"range":[247516,247526],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6793,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6797,"endColumn":6,"fix":{"range":[247532,247532],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6793,"column":35,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6793,"endColumn":36,"fix":{"range":[247567,247567],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6795,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6795,"endColumn":44,"fix":{"range":[247676,247686],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6798,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6801,"endColumn":6,"fix":{"range":[247692,247692],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6798,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6798,"endColumn":21,"fix":{"range":[247712,247712],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6799,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6799,"endColumn":43,"fix":{"range":[247757,247770],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6800,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6800,"endColumn":44,"fix":{"range":[247801,247809],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6802,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6807,"endColumn":6,"fix":{"range":[247809,247809],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6802,"column":34,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6802,"endColumn":35,"fix":{"range":[247843,247843],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6804,"column":81,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6804,"endColumn":82,"fix":{"range":[247996,248025],"text":")\n inertScriptElement"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6805,"column":63,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6805,"endColumn":64,"fix":{"range":[248060,248070],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6808,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6810,"endColumn":6,"fix":{"range":[248076,248076],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6808,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6808,"endColumn":25,"fix":{"range":[248100,248100],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6809,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6809,"endColumn":70,"fix":{"range":[248172,248180],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6811,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6813,"endColumn":6,"fix":{"range":[248180,248180],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6811,"column":34,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6811,"endColumn":35,"fix":{"range":[248214,248214],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6812,"column":95,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6812,"endColumn":96,"fix":{"range":[248312,248320],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6814,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6816,"endColumn":6,"fix":{"range":[248320,248320],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6814,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6814,"endColumn":31,"fix":{"range":[248350,248350],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6815,"column":91,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6815,"endColumn":92,"fix":{"range":[248444,248452],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6817,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6819,"endColumn":6,"fix":{"range":[248452,248452],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6817,"column":39,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6817,"endColumn":40,"fix":{"range":[248491,248491],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6818,"column":58,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6818,"endColumn":59,"fix":{"range":[248534,248560],"text":"provisionalElements\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6820,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6822,"endColumn":6,"fix":{"range":[248560,248560],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6820,"column":35,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6820,"endColumn":36,"fix":{"range":[248595,248595],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6821,"column":54,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6821,"endColumn":55,"fix":{"range":[248634,248660],"text":"provisionalElements\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6823,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6825,"endColumn":6,"fix":{"range":[248660,248660],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6823,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6823,"endColumn":31,"fix":{"range":[248690,248690],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6824,"column":47,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6824,"endColumn":55,"fix":{"range":[248741,248749],"text":"'script'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6824,"column":56,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6824,"endColumn":57,"fix":{"range":[248749,248757],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6826,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6826,"endColumn":5,"fix":{"range":[248760,248768],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6827,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6870,"endColumn":5,"fix":{"range":[248765,248768],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6828,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6828,"endColumn":17,"fix":{"range":[248808,248808],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6829,"column":21,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6829,"endColumn":22,"fix":{"range":[248836,248849],"text":"]\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6830,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6830,"endColumn":27,"fix":{"range":[248863,248876],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6831,"column":23,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6831,"endColumn":24,"fix":{"range":[248884,248895],"text":"size\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6833,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6835,"endColumn":6,"fix":{"range":[248895,248895],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6833,"column":8,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6833,"endColumn":9,"fix":{"range":[248903,248903],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6834,"column":53,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6834,"endColumn":54,"fix":{"range":[248960,248976],"text":"snapshots\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6836,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6842,"endColumn":6,"fix":{"range":[248976,248976],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6836,"column":8,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6836,"endColumn":9,"fix":{"range":[248984,248984],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6838,"column":46,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6838,"endColumn":47,"fix":{"range":[249075,249090],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6839,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6839,"endColumn":31,"fix":{"range":[249106,249123],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6840,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6840,"endColumn":25,"fix":{"range":[249124,249141],"text":"snapshot\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6843,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6847,"endColumn":6,"fix":{"range":[249147,249147],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6843,"column":8,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6843,"endColumn":9,"fix":{"range":[249155,249155],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6844,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6844,"endColumn":39,"fix":{"range":[249215,249228],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6845,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6845,"endColumn":29,"fix":{"range":[249244,249259],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6846,"column":22,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6846,"endColumn":23,"fix":{"range":[249260,249275],"text":"snapshot\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6848,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6850,"endColumn":6,"fix":{"range":[249275,249275],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6848,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6848,"endColumn":11,"fix":{"range":[249285,249285],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6849,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6849,"endColumn":27,"fix":{"range":[249314,249322],"text":"}\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6851,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6853,"endColumn":6,"fix":{"range":[249322,249322],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6851,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6851,"endColumn":10,"fix":{"range":[249331,249331],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6852,"column":51,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6852,"endColumn":52,"fix":{"range":[249394,249402],"text":"]\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6854,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6856,"endColumn":6,"fix":{"range":[249402,249402],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6854,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6854,"endColumn":11,"fix":{"range":[249412,249412],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6855,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6855,"endColumn":56,"fix":{"range":[249482,249497],"text":"snapshot\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6857,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6864,"endColumn":6,"fix":{"range":[249497,249497],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6857,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6857,"endColumn":11,"fix":{"range":[249507,249507],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6858,"column":40,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6858,"endColumn":41,"fix":{"range":[249559,249573],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6859,"column":43,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6859,"endColumn":44,"fix":{"range":[249603,249614],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":6861,"column":9,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":6861,"endColumn":36,"fix":{"range":[249636,249663],"text":"{this.keys.splice(index, 1);}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6861,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6861,"endColumn":36,"fix":{"range":[249661,249674],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6862,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6862,"endColumn":30,"fix":{"range":[249691,249704],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6863,"column":18,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6863,"endColumn":19,"fix":{"range":[249710,249718],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6865,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6869,"endColumn":6,"fix":{"range":[249718,249718],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6865,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6865,"endColumn":10,"fix":{"range":[249727,249727],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6867,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6867,"endColumn":36,"fix":{"range":[249820,249830],"text":"]\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6870,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6870,"endColumn":5,"fix":{"range":[249839,249847],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6871,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6911,"endColumn":5,"fix":{"range":[249844,249847],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6872,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6872,"endColumn":17,"fix":{"range":[249895,249895],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6873,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6873,"endColumn":27,"fix":{"range":[249924,249937],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6874,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6874,"endColumn":50,"fix":{"range":[249974,249987],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6875,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6875,"endColumn":58,"fix":{"range":[250032,250045],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6876,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6876,"endColumn":34,"fix":{"range":[250062,250074],"text":"false\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6878,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6886,"endColumn":6,"fix":{"range":[250074,250074],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6878,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6878,"endColumn":16,"fix":{"range":[250089,250089],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6879,"column":116,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6879,"endColumn":117,"fix":{"range":[250262,250273],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6881,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6881,"endColumn":35,"fix":{"range":[250330,250343],"text":"true\n }"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6883,"column":39,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6883,"endColumn":45},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6883,"column":48,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6883,"endColumn":54},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6883,"column":79,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6883,"endColumn":80,"fix":{"range":[250428,250438],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6885,"column":35,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6885,"endColumn":36,"fix":{"range":[250472,250480],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6887,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6891,"endColumn":6,"fix":{"range":[250480,250480],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6887,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6887,"endColumn":17,"fix":{"range":[250496,250496],"text":" "}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6888,"column":37,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6888,"endColumn":43},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":6888,"column":46,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":6888,"endColumn":52},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6888,"column":77,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6888,"endColumn":78,"fix":{"range":[250592,250606],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6889,"column":102,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6889,"endColumn":103,"fix":{"range":[250695,250710],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6890,"column":35,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6890,"endColumn":36,"fix":{"range":[250731,250739],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6892,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6894,"endColumn":6,"fix":{"range":[250739,250739],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6892,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6892,"endColumn":24,"fix":{"range":[250762,250762],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6893,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6893,"endColumn":34,"fix":{"range":[250798,250806],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6895,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6904,"endColumn":6,"fix":{"range":[250806,250806],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6895,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6895,"endColumn":25,"fix":{"range":[250830,250830],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6897,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6897,"endColumn":47,"fix":{"range":[250937,250953],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6898,"column":57,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6898,"endColumn":58,"fix":{"range":[250992,251011],"text":"this\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6899,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6899,"endColumn":35,"fix":{"range":[251030,251046],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6900,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6900,"endColumn":49,"fix":{"range":[251079,251094],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6901,"column":58,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6901,"endColumn":59,"fix":{"range":[251138,251155],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6902,"column":30,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6902,"endColumn":31,"fix":{"range":[251156,251179],"text":"cachedSnapshot\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6905,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6907,"endColumn":6,"fix":{"range":[251185,251185],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6905,"column":33,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6905,"endColumn":34,"fix":{"range":[251218,251218],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6906,"column":47,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6906,"endColumn":48,"fix":{"range":[251277,251285],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6908,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6910,"endColumn":6,"fix":{"range":[251285,251285],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6908,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6908,"endColumn":18,"fix":{"range":[251302,251302],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6909,"column":52,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6909,"endColumn":53,"fix":{"range":[251357,251365],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6911,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6911,"endColumn":5,"fix":{"range":[251368,251376],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6912,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":6947,"endColumn":5,"fix":{"range":[251373,251376],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6913,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6913,"endColumn":17,"fix":{"range":[251412,251412],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6914,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6914,"endColumn":46,"fix":{"range":[251447,251470],"text":"'a[data-turbo-preload]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6914,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6914,"endColumn":47,"fix":{"range":[251447,251482],"text":"\"a[data-turbo-preload]\"\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6915,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6915,"endColumn":32,"fix":{"range":[251494,251509],"text":"delegate\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6917,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6919,"endColumn":6,"fix":{"range":[251509,251509],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6917,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6917,"endColumn":23,"fix":{"range":[251531,251531],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6918,"column":56,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6918,"endColumn":57,"fix":{"range":[251578,251598],"text":"snapshotCache\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6920,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6928,"endColumn":6,"fix":{"range":[251598,251598],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6920,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6920,"endColumn":11,"fix":{"range":[251608,251608],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6921,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6921,"endColumn":44,"fix":{"range":[251647,251656],"text":"'loading'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6922,"column":42,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6922,"endColumn":60,"fix":{"range":[251701,251719],"text":"'DOMContentLoaded'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6923,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6923,"endColumn":57,"fix":{"range":[251783,251795],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6924,"column":11,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6924,"endColumn":12,"fix":{"range":[251795,251805],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6926,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6926,"endColumn":55,"fix":{"range":[251865,251875],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6929,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6933,"endColumn":6,"fix":{"range":[251881,251881],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6929,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6929,"endColumn":31,"fix":{"range":[251911,251911],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6931,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6931,"endColumn":31,"fix":{"range":[252019,252029],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6934,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6946,"endColumn":6,"fix":{"range":[252035,252035],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6934,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6934,"endColumn":22,"fix":{"range":[252056,252056],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6935,"column":43,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6935,"endColumn":44,"fix":{"range":[252106,252117],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6937,"column":15,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":6937,"endColumn":16,"fix":{"range":[252164,252179],"text":"return\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6940,"column":73,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6940,"endColumn":87,"fix":{"range":[252264,252278],"text":"'VND.PREFETCH'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6940,"column":89,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6940,"endColumn":95,"fix":{"range":[252280,252286],"text":"'true'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6940,"column":105,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6940,"endColumn":116,"fix":{"range":[252296,252307],"text":"'text/html'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6940,"column":121,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6940,"endColumn":122,"fix":{"range":[252311,252327],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6941,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6941,"endColumn":52,"fix":{"range":[252363,252379],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6942,"column":67,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6942,"endColumn":68,"fix":{"range":[252431,252446],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6943,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6943,"endColumn":53,"fix":{"range":[252484,252494],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6947,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":6947,"endColumn":5,"fix":{"range":[252524,252532],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":6948,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7235,"endColumn":5,"fix":{"range":[252529,252532],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6949,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6949,"endColumn":17,"fix":{"range":[252566,252566],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6950,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6950,"endColumn":44,"fix":{"range":[252612,252625],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6951,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6951,"endColumn":41,"fix":{"range":[252653,252666],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6952,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6952,"endColumn":44,"fix":{"range":[252697,252710],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6953,"column":63,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6953,"endColumn":64,"fix":{"range":[252761,252774],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6954,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6954,"endColumn":47,"fix":{"range":[252808,252821],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6955,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6955,"endColumn":50,"fix":{"range":[252858,252871],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6956,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6956,"endColumn":48,"fix":{"range":[252906,252919],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6957,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6957,"endColumn":68,"fix":{"range":[252974,252987],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6958,"column":71,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6958,"endColumn":72,"fix":{"range":[253046,253059],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6959,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6959,"endColumn":54,"fix":{"range":[253100,253113],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6960,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6960,"endColumn":54,"fix":{"range":[253154,253167],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6961,"column":93,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6961,"endColumn":94,"fix":{"range":[253248,253261],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6962,"column":81,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6962,"endColumn":82,"fix":{"range":[253330,253343],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6963,"column":63,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6963,"endColumn":64,"fix":{"range":[253394,253407],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6964,"column":24,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6964,"endColumn":25,"fix":{"range":[253416,253432],"text":"true\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6965,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6965,"endColumn":27,"fix":{"range":[253443,253459],"text":"true\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6966,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6966,"endColumn":35,"fix":{"range":[253479,253494],"text":"500\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6967,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6967,"endColumn":28,"fix":{"range":[253505,253522],"text":"false\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":6968,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":6968,"endColumn":27,"fix":{"range":[253534,253538],"text":"'on'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6968,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6968,"endColumn":28,"fix":{"range":[253534,253545],"text":"\"on\"\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6970,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6985,"endColumn":6,"fix":{"range":[253545,253545],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6970,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6970,"endColumn":11,"fix":{"range":[253555,253555],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6972,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6972,"endColumn":35,"fix":{"range":[253619,253634],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6973,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6973,"endColumn":36,"fix":{"range":[253655,253670],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6974,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6974,"endColumn":44,"fix":{"range":[253699,253714],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6975,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6975,"endColumn":40,"fix":{"range":[253739,253754],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6976,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6976,"endColumn":41,"fix":{"range":[253780,253795],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6977,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6977,"endColumn":37,"fix":{"range":[253817,253832],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6978,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6978,"endColumn":37,"fix":{"range":[253854,253869],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6979,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6979,"endColumn":38,"fix":{"range":[253892,253907],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6980,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6980,"endColumn":30,"fix":{"range":[253922,253937],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6981,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6981,"endColumn":32,"fix":{"range":[253954,253969],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6982,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6982,"endColumn":29,"fix":{"range":[253980,253998],"text":"true\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6983,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6983,"endColumn":29,"fix":{"range":[254009,254022],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6986,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":6988,"endColumn":6,"fix":{"range":[254028,254028],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6986,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6986,"endColumn":13,"fix":{"range":[254040,254040],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6987,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6987,"endColumn":28,"fix":{"range":[254066,254078],"text":"false\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":6989,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7002,"endColumn":6,"fix":{"range":[254078,254078],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":6989,"column":9,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":6989,"endColumn":10,"fix":{"range":[254087,254087],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6991,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6991,"endColumn":34,"fix":{"range":[254149,254164],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6992,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6992,"endColumn":35,"fix":{"range":[254184,254199],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6993,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6993,"endColumn":43,"fix":{"range":[254227,254242],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6994,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6994,"endColumn":39,"fix":{"range":[254266,254281],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6995,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6995,"endColumn":40,"fix":{"range":[254306,254321],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6996,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6996,"endColumn":36,"fix":{"range":[254342,254357],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6997,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6997,"endColumn":36,"fix":{"range":[254378,254393],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6998,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6998,"endColumn":37,"fix":{"range":[254415,254430],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":6999,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":6999,"endColumn":29,"fix":{"range":[254444,254459],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7000,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7000,"endColumn":30,"fix":{"range":[254470,254484],"text":"false\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7003,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7005,"endColumn":6,"fix":{"range":[254490,254490],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7003,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7003,"endColumn":21,"fix":{"range":[254510,254510],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7004,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7004,"endColumn":30,"fix":{"range":[254543,254557],"text":"adapter\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7006,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7014,"endColumn":6,"fix":{"range":[254557,254557],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7006,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7006,"endColumn":11,"fix":{"range":[254567,254567],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7007,"column":91,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7007,"endColumn":92,"fix":{"range":[254682,254696],"text":"null\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7009,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7009,"endColumn":49,"fix":{"range":[254784,254807],"text":")\n frameElement"}},{"ruleId":"no-unused-expressions","severity":2,"message":"Expected an assignment or function call and instead saw an expression.","line":7010,"column":9,"nodeType":"ExpressionStatement","messageId":"unusedExpression","endLine":7010,"endColumn":29},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7010,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7010,"endColumn":29,"fix":{"range":[254808,254823],"text":"loaded\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7012,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7012,"endColumn":69,"fix":{"range":[254897,254907],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7015,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7017,"endColumn":6,"fix":{"range":[254913,254913],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7015,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7015,"endColumn":25,"fix":{"range":[254937,254937],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7016,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7016,"endColumn":55,"fix":{"range":[255000,255008],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7018,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7020,"endColumn":6,"fix":{"range":[255008,255008],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7018,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7018,"endColumn":28,"fix":{"range":[255035,255035],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7019,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7019,"endColumn":58,"fix":{"range":[255101,255109],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7021,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7023,"endColumn":6,"fix":{"range":[255109,255109],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7021,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7021,"endColumn":25,"fix":{"range":[255133,255133],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7022,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7022,"endColumn":70,"fix":{"range":[255212,255220],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7024,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7026,"endColumn":6,"fix":{"range":[255220,255220],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7024,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7024,"endColumn":16,"fix":{"range":[255235,255235],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7025,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7025,"endColumn":38,"fix":{"range":[255275,255283],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7027,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7029,"endColumn":6,"fix":{"range":[255283,255283],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7027,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7027,"endColumn":25,"fix":{"range":[255307,255307],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7028,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7028,"endColumn":37,"fix":{"range":[255347,255359],"text":"delay\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7030,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7032,"endColumn":6,"fix":{"range":[255359,255359],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7030,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7030,"endColumn":17,"fix":{"range":[255375,255375],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7031,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7031,"endColumn":28,"fix":{"range":[255406,255417],"text":"mode\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7033,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7035,"endColumn":6,"fix":{"range":[255417,255417],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7033,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7033,"endColumn":18,"fix":{"range":[255434,255434],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7034,"column":35,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7034,"endColumn":36,"fix":{"range":[255465,255480],"text":"location\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7036,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7038,"endColumn":6,"fix":{"range":[255480,255480],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7036,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7036,"endColumn":31,"fix":{"range":[255510,255510],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7037,"column":48,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7037,"endColumn":49,"fix":{"range":[255541,255569],"text":"restorationIdentifier\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7039,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7050,"endColumn":6,"fix":{"range":[255569,255569],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7039,"column":53,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7039,"endColumn":54,"fix":{"range":[255622,255622],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7042,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7042,"endColumn":28,"fix":{"range":[255773,255782],"text":"'restore'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7044,"column":11,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7044,"endColumn":12,"fix":{"range":[255824,255834],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7047,"column":19,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7047,"endColumn":35,"fix":{"range":[255899,255915],"text":"'turbo_disabled'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7048,"column":11,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7048,"endColumn":12,"fix":{"range":[255925,255935],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7051,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7053,"endColumn":6,"fix":{"range":[255941,255941],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7051,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7051,"endColumn":27,"fix":{"range":[255967,255967],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7052,"column":71,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7052,"endColumn":72,"fix":{"range":[256049,256057],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7054,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7056,"endColumn":6,"fix":{"range":[256057,256057],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7054,"column":33,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7054,"endColumn":34,"fix":{"range":[256090,256090],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7055,"column":107,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7055,"endColumn":108,"fix":{"range":[256215,256223],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7057,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7058,"endColumn":6,"fix":{"range":[256223,256223],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7057,"column":32,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7057,"endColumn":33,"fix":{"range":[256255,256255],"text":" "}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7059,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7061,"endColumn":6,"fix":{"range":[256265,256265],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7059,"column":29,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7059,"endColumn":30,"fix":{"range":[256294,256294],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7060,"column":180,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7060,"endColumn":181,"fix":{"range":[256499,256507],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7062,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7066,"endColumn":6,"fix":{"range":[256507,256507],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7062,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7062,"endColumn":28,"fix":{"range":[256534,256534],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7063,"column":49,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7063,"endColumn":50,"fix":{"range":[256601,256615],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7064,"column":55,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7064,"endColumn":74,"fix":{"range":[256658,256677],"text":"'data-turbo-stream'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7064,"column":75,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7064,"endColumn":76,"fix":{"range":[256677,256690],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7065,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7065,"endColumn":69,"fix":{"range":[256746,256754],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7067,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7069,"endColumn":6,"fix":{"range":[256754,256754],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7067,"column":37,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7067,"endColumn":38,"fix":{"range":[256791,256791],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7068,"column":119,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7068,"endColumn":120,"fix":{"range":[256930,256938],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7070,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7073,"endColumn":6,"fix":{"range":[256938,256938],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7070,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7070,"endColumn":29,"fix":{"range":[256966,256966],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7071,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7071,"endColumn":52,"fix":{"range":[257039,257052],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7072,"column":64,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7072,"endColumn":65,"fix":{"range":[257104,257112],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7074,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7082,"endColumn":6,"fix":{"range":[257112,257112],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7074,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7074,"endColumn":18,"fix":{"range":[257129,257129],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7076,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7076,"endColumn":46,"fix":{"range":[257226,257236],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7078,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7078,"endColumn":58,"fix":{"range":[257292,257303],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7080,"column":84,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7080,"endColumn":85,"fix":{"range":[257405,257415],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7083,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7086,"endColumn":6,"fix":{"range":[257421,257421],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7083,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7083,"endColumn":20,"fix":{"range":[257440,257440],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7084,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7084,"endColumn":48,"fix":{"range":[257496,257509],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7085,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7085,"endColumn":70,"fix":{"range":[257566,257574],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7087,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7089,"endColumn":6,"fix":{"range":[257574,257574],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7087,"column":33,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7087,"endColumn":34,"fix":{"range":[257607,257607],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7088,"column":76,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7088,"endColumn":77,"fix":{"range":[257703,257711],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7090,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7092,"endColumn":6,"fix":{"range":[257711,257711],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7090,"column":36,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7090,"endColumn":37,"fix":{"range":[257747,257747],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7091,"column":74,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7091,"endColumn":75,"fix":{"range":[257838,257846],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7093,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7096,"endColumn":6,"fix":{"range":[257846,257846],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7093,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7093,"endColumn":20,"fix":{"range":[257865,257865],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7094,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7094,"endColumn":49,"fix":{"range":[257931,257946],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7095,"column":129,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7095,"endColumn":130,"fix":{"range":[258061,258069],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7097,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7099,"endColumn":6,"fix":{"range":[258069,258069],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7097,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7097,"endColumn":19,"fix":{"range":[258087,258087],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7098,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7098,"endColumn":50,"fix":{"range":[258154,258162],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7100,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7103,"endColumn":6,"fix":{"range":[258162,258162],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7100,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7100,"endColumn":27,"fix":{"range":[258188,258188],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7101,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7101,"endColumn":54,"fix":{"range":[258237,258257],"text":"location\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7102,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7102,"endColumn":45,"fix":{"range":[258289,258297],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7104,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7106,"endColumn":6,"fix":{"range":[258297,258297],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7104,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7104,"endColumn":16,"fix":{"range":[258312,258312],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7105,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7105,"endColumn":55,"fix":{"range":[258369,258377],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7107,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7109,"endColumn":6,"fix":{"range":[258377,258377],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7107,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7107,"endColumn":20,"fix":{"range":[258396,258396],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7108,"column":58,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7108,"endColumn":59,"fix":{"range":[258457,258465],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7110,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7112,"endColumn":6,"fix":{"range":[258465,258465],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7110,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7110,"endColumn":31,"fix":{"range":[258495,258495],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7111,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7111,"endColumn":41,"fix":{"range":[258545,258553],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7113,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7118,"endColumn":6,"fix":{"range":[258553,258553],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7113,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7113,"endColumn":27,"fix":{"range":[258579,258579],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7114,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7114,"endColumn":15,"fix":{"range":[258590,258593],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7114,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7114,"endColumn":15,"fix":{"range":[258594,258607],"text":"_a2\n if"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7115,"column":69,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7115,"endColumn":75},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7115,"column":78,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7115,"endColumn":84},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7116,"column":54,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7116,"endColumn":55,"fix":{"range":[258752,258762],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7119,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7126,"endColumn":6,"fix":{"range":[258768,258768],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7119,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7119,"endColumn":27,"fix":{"range":[258794,258794],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7120,"column":74,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7120,"endColumn":75,"fix":{"range":[258892,258906],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7121,"column":70,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7121,"endColumn":71,"fix":{"range":[258959,258974],"text":"event\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7123,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7123,"endColumn":52,"fix":{"range":[259052,259068],"text":"render2\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7125,"column":31,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7125,"endColumn":32,"fix":{"range":[259083,259106],"text":"defaultPrevented\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7127,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7130,"endColumn":6,"fix":{"range":[259106,259106],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7127,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7127,"endColumn":26,"fix":{"range":[259131,259131],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7128,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7128,"endColumn":62,"fix":{"range":[259209,259229],"text":"location\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7129,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7129,"endColumn":43,"fix":{"range":[259259,259267],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7131,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7133,"endColumn":6,"fix":{"range":[259267,259267],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7131,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7131,"endColumn":31,"fix":{"range":[259297,259297],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7132,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7132,"endColumn":57,"fix":{"range":[259363,259371],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7134,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7136,"endColumn":6,"fix":{"range":[259371,259371],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7134,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7134,"endColumn":21,"fix":{"range":[259391,259391],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7135,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7135,"endColumn":44,"fix":{"range":[259443,259451],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7137,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7139,"endColumn":6,"fix":{"range":[259451,259451],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7137,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7137,"endColumn":17,"fix":{"range":[259467,259467],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7138,"column":50,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7138,"endColumn":51,"fix":{"range":[259525,259533],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7140,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7142,"endColumn":6,"fix":{"range":[259533,259533],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7140,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7140,"endColumn":19,"fix":{"range":[259551,259551],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7141,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7141,"endColumn":68,"fix":{"range":[259641,259649],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7143,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7146,"endColumn":6,"fix":{"range":[259649,259649],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7143,"column":45,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7143,"endColumn":46,"fix":{"range":[259694,259694],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7144,"column":92,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7144,"endColumn":93,"fix":{"range":[259809,259824],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7145,"column":37,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7145,"endColumn":38,"fix":{"range":[259832,259855],"text":"defaultPrevented\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7147,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7150,"endColumn":6,"fix":{"range":[259855,259855],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7147,"column":38,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7147,"endColumn":39,"fix":{"range":[259893,259893],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7148,"column":76,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7148,"endColumn":77,"fix":{"range":[259981,259996],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7149,"column":37,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7149,"endColumn":38,"fix":{"range":[260004,260027],"text":"defaultPrevented\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7151,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7157,"endColumn":6,"fix":{"range":[260027,260027],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7151,"column":49,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7151,"endColumn":50,"fix":{"range":[260076,260076],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7152,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7152,"endColumn":36,"fix":{"range":[260125,260138],"text":"'turbo:click'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7156,"column":9,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7156,"endColumn":10,"fix":{"range":[260259,260267],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7158,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7163,"endColumn":6,"fix":{"range":[260267,260267],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7158,"column":44,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7158,"endColumn":45,"fix":{"range":[260311,260311],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7159,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7159,"endColumn":43,"fix":{"range":[260347,260367],"text":"'turbo:before-visit'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7162,"column":9,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7162,"endColumn":10,"fix":{"range":[260444,260452],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7164,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7166,"endColumn":6,"fix":{"range":[260452,260452],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7164,"column":43,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7164,"endColumn":44,"fix":{"range":[260495,260495],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7165,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7165,"endColumn":36,"fix":{"range":[260539,260552],"text":"'turbo:visit'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7165,"column":82,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7165,"endColumn":83,"fix":{"range":[260597,260605],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7167,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7169,"endColumn":6,"fix":{"range":[260605,260605],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7167,"column":43,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7167,"endColumn":44,"fix":{"range":[260648,260648],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7168,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7168,"endColumn":43,"fix":{"range":[260675,260695],"text":"'turbo:before-cache'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7168,"column":44,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7168,"endColumn":45,"fix":{"range":[260695,260703],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7170,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7175,"endColumn":6,"fix":{"range":[260703,260703],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7170,"column":34,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7170,"endColumn":35,"fix":{"range":[260737,260737],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7171,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7171,"endColumn":44,"fix":{"range":[260781,260802],"text":"'turbo:before-render'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7174,"column":9,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7174,"endColumn":10,"fix":{"range":[260892,260900],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7176,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7178,"endColumn":6,"fix":{"range":[260900,260900],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7176,"column":33,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7176,"endColumn":34,"fix":{"range":[260933,260933],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7177,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7177,"endColumn":37,"fix":{"range":[260960,260974],"text":"'turbo:render'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7177,"column":38,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7177,"endColumn":39,"fix":{"range":[260974,260982],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7179,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7183,"endColumn":6,"fix":{"range":[260982,260982],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7179,"column":35,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7179,"endColumn":36,"fix":{"range":[261017,261017],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7180,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7180,"endColumn":35,"fix":{"range":[261055,261067],"text":"'turbo:load'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7182,"column":9,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7182,"endColumn":10,"fix":{"range":[261130,261138],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7184,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7189,"endColumn":6,"fix":{"range":[261138,261138],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7184,"column":51,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7184,"endColumn":52,"fix":{"range":[261189,261189],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7185,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7185,"endColumn":53,"fix":{"range":[261248,261260],"text":"'hashchange'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7188,"column":10,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7188,"endColumn":11,"fix":{"range":[261341,261349],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7190,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7192,"endColumn":6,"fix":{"range":[261349,261349],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7190,"column":36,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7190,"endColumn":37,"fix":{"range":[261385,261385],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7191,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7191,"endColumn":41,"fix":{"range":[261417,261435],"text":"'turbo:frame-load'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7191,"column":61,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7191,"endColumn":62,"fix":{"range":[261454,261462],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7193,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7199,"endColumn":6,"fix":{"range":[261462,261462],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7193,"column":38,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7193,"endColumn":39,"fix":{"range":[261500,261500],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7194,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7194,"endColumn":43,"fix":{"range":[261547,261567],"text":"'turbo:frame-render'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7198,"column":9,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7198,"endColumn":10,"fix":{"range":[261661,261669],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7200,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7211,"endColumn":6,"fix":{"range":[261669,261669],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7200,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7200,"endColumn":29,"fix":{"range":[261697,261697],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":7201,"column":25,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":7201,"endColumn":27},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7201,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7201,"endColumn":33,"fix":{"range":[261744,261749],"text":"'off'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7202,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7202,"endColumn":22,"fix":{"range":[261768,261782],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7204,"column":95,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7204,"endColumn":96,"fix":{"range":[261880,261896],"text":"true\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":7205,"column":27,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":7205,"endColumn":29},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7205,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7205,"endColumn":37,"fix":{"range":[261915,261922],"text":"'optin'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7206,"column":87,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7206,"endColumn":88,"fix":{"range":[262008,262023],"text":"null\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7208,"column":75,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7208,"endColumn":76,"fix":{"range":[262104,262116],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7212,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7228,"endColumn":6,"fix":{"range":[262130,262130],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7212,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7212,"endColumn":26,"fix":{"range":[262155,262155],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7213,"column":57,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7213,"endColumn":71,"fix":{"range":[262223,262237],"text":"'[data-turbo]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7213,"column":72,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7213,"endColumn":73,"fix":{"range":[262237,262251],"text":")\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7214,"column":59,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7214,"endColumn":72,"fix":{"range":[262298,262311],"text":"'turbo-frame'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7214,"column":73,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7214,"endColumn":74,"fix":{"range":[262311,262322],"text":")\n if"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7217,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7217,"endColumn":53,"fix":{"range":[262418,262430],"text":"'data-turbo'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":7217,"column":55,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":7217,"endColumn":57},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7217,"column":58,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7217,"endColumn":65,"fix":{"range":[262435,262442],"text":"'false'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7217,"column":65,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7217,"endColumn":66,"fix":{"range":[262435,262453],"text":"\"false\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7219,"column":22,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7219,"endColumn":23,"fix":{"range":[262478,262493],"text":"true\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7223,"column":41,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7223,"endColumn":53,"fix":{"range":[262574,262586],"text":"'data-turbo'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":7223,"column":55,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":7223,"endColumn":57},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7223,"column":58,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7223,"endColumn":64,"fix":{"range":[262591,262597],"text":"'true'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7223,"column":64,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7223,"endColumn":65,"fix":{"range":[262591,262608],"text":"\"true\"\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7225,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7225,"endColumn":24,"fix":{"range":[262633,262649],"text":"false\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7229,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7231,"endColumn":6,"fix":{"range":[262663,262663],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7229,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7229,"endColumn":22,"fix":{"range":[262684,262684],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7230,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7230,"endColumn":47,"fix":{"range":[262730,262739],"text":"'advance'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7230,"column":47,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7230,"endColumn":48,"fix":{"range":[262730,262746],"text":"\"advance\"\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7232,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7234,"endColumn":6,"fix":{"range":[262746,262746],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7232,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7232,"endColumn":18,"fix":{"range":[262763,262763],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7233,"column":32,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7233,"endColumn":33,"fix":{"range":[262791,262806],"text":"snapshot\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7235,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7235,"endColumn":5,"fix":{"range":[262809,262822],"text":"}\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7236,"column":45,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":7236,"endColumn":46,"fix":{"range":[262856,262856],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7237,"column":72,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7237,"endColumn":73,"fix":{"range":[262934,262940],"text":")\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7239,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7245,"endColumn":5},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7241,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7241,"endColumn":11,"fix":{"range":[263017,263017],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7242,"column":31,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7242,"endColumn":32,"fix":{"range":[263051,263061],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7245,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7245,"endColumn":5,"fix":{"range":[263070,263078],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7246,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7265,"endColumn":5,"fix":{"range":[263075,263078],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7247,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7247,"endColumn":17,"fix":{"range":[263110,263110],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7248,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7248,"endColumn":31,"fix":{"range":[263144,263159],"text":"session2\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7250,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7252,"endColumn":6,"fix":{"range":[263159,263159],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7250,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7250,"endColumn":11,"fix":{"range":[263169,263169],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7251,"column":32,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7251,"endColumn":33,"fix":{"range":[263204,263212],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7253,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7255,"endColumn":6,"fix":{"range":[263212,263212],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7253,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7253,"endColumn":23,"fix":{"range":[263234,263234],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7254,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7254,"endColumn":30,"fix":{"range":[263266,263268],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7254,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7254,"endColumn":32,"fix":{"range":[263268,263276],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7256,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7258,"endColumn":6,"fix":{"range":[263276,263276],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7256,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7256,"endColumn":25,"fix":{"range":[263300,263300],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7257,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7257,"endColumn":38,"fix":{"range":[263332,263342],"text":"'no-cache'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7257,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7257,"endColumn":40,"fix":{"range":[263342,263350],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7259,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7261,"endColumn":6,"fix":{"range":[263350,263350],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7259,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7259,"endColumn":27,"fix":{"range":[263376,263376],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7260,"column":28,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7260,"endColumn":40,"fix":{"range":[263408,263420],"text":"'no-preview'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7260,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7260,"endColumn":42,"fix":{"range":[263420,263428],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7262,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7264,"endColumn":6,"fix":{"range":[263428,263428],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7262,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7262,"endColumn":21,"fix":{"range":[263448,263448],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7263,"column":22,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7263,"endColumn":43,"fix":{"range":[263479,263500],"text":"'turbo-cache-control'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7263,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7263,"endColumn":52,"fix":{"range":[263507,263515],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7265,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7265,"endColumn":5,"fix":{"range":[263518,263526],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7266,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7299,"endColumn":5},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7267,"column":10,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7267,"endColumn":11,"fix":{"range":[263554,263554],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7269,"column":9,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7269,"endColumn":17,"fix":{"range":[263611,263614],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7269,"column":16,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7269,"endColumn":17,"fix":{"range":[263615,263634],"text":"_a2\n return"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7270,"column":61,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7270,"endColumn":67},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7270,"column":70,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7270,"endColumn":76},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7270,"column":133,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7270,"endColumn":134,"fix":{"range":[263751,263761],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7271,"column":9,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7271,"endColumn":10,"fix":{"range":[263761,263769],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7273,"column":11,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7273,"endColumn":12,"fix":{"range":[263781,263781],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7274,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7274,"endColumn":44,"fix":{"range":[263827,263840],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7275,"column":75,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7275,"endColumn":76,"fix":{"range":[263903,263911],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7277,"column":11,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7277,"endColumn":12,"fix":{"range":[263923,263923],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7279,"column":9,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7279,"endColumn":17,"fix":{"range":[263980,263983],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7279,"column":16,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7279,"endColumn":17,"fix":{"range":[263984,264003],"text":"_a2\n return"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7280,"column":61,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7280,"endColumn":67},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7280,"column":70,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7280,"endColumn":76},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7280,"column":121,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7280,"endColumn":122,"fix":{"range":[264108,264118],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7281,"column":9,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7281,"endColumn":10,"fix":{"range":[264118,264126],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7283,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7283,"endColumn":13,"fix":{"range":[264139,264139],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7284,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7284,"endColumn":44,"fix":{"range":[264185,264198],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7285,"column":76,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7285,"endColumn":77,"fix":{"range":[264262,264270],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7287,"column":11,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7287,"endColumn":12,"fix":{"range":[264282,264282],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7288,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7288,"endColumn":56,"fix":{"range":[264340,264348],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7290,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7290,"endColumn":13,"fix":{"range":[264361,264361],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7291,"column":80,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7291,"endColumn":81,"fix":{"range":[264444,264452],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7293,"column":11,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7293,"endColumn":12,"fix":{"range":[264464,264464],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7295,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7295,"endColumn":37,"fix":{"range":[264558,264560],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7295,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7295,"endColumn":38,"fix":{"range":[264558,264583],"text":"\"\"\n targetElement"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7296,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7296,"endColumn":52,"fix":{"range":[264611,264621],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7297,"column":9,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7297,"endColumn":10,"fix":{"range":[264621,264629],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7299,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7299,"endColumn":5,"fix":{"range":[264632,264640],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7300,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7300,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7300,"column":30,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7300,"endColumn":31,"fix":{"range":[264663,264671],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7301,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7301,"endColumn":34},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7301,"column":33,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7301,"endColumn":34,"fix":{"range":[264697,264705],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7302,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7302,"endColumn":44},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7302,"column":43,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7302,"endColumn":44,"fix":{"range":[264735,264754],"text":"session\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7303,"column":17,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":7303,"endColumn":18,"fix":{"range":[264760,264760],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7304,"column":20,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7304,"endColumn":21,"fix":{"range":[264783,264789],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7306,"column":27,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":7306,"endColumn":28,"fix":{"range":[264816,264816],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7307,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7307,"endColumn":38,"fix":{"range":[264863,264869],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7309,"column":17,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":7309,"endColumn":18,"fix":{"range":[264886,264886],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7310,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7310,"endColumn":40,"fix":{"range":[264947,264953],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7312,"column":31,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":7312,"endColumn":32,"fix":{"range":[264984,264984],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7313,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7313,"endColumn":41,"fix":{"range":[265033,265039],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7315,"column":34,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":7315,"endColumn":35,"fix":{"range":[265073,265073],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7316,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7316,"endColumn":44,"fix":{"range":[265125,265131],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7318,"column":31,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":7318,"endColumn":32,"fix":{"range":[265162,265162],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7319,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7319,"endColumn":42,"fix":{"range":[265213,265219],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7321,"column":22,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":7321,"endColumn":23,"fix":{"range":[265241,265241],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7322,"column":18,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7322,"endColumn":171,"fix":{"range":[265263,265416],"text":"'Please replace `Turbo.clearCache()` with `Turbo.cache.clear()`. The top-level function is deprecated and will be removed in a future version of Turbo.`'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7322,"column":172,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7322,"endColumn":173,"fix":{"range":[265416,265430],"text":")\n session"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7323,"column":25,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7323,"endColumn":26,"fix":{"range":[265442,265448],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7325,"column":31,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":7325,"endColumn":32,"fix":{"range":[265479,265479],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7326,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7326,"endColumn":40,"fix":{"range":[265526,265532],"text":")\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7328,"column":28,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":7328,"endColumn":29,"fix":{"range":[265560,265560],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7329,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7329,"endColumn":50,"fix":{"range":[265613,265631],"text":"confirmMethod\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7331,"column":23,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":7331,"endColumn":24,"fix":{"range":[265654,265654],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7332,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7332,"endColumn":31,"fix":{"range":[265691,265697],"text":")\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7334,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7353,"endColumn":6,"fix":{"range":[265700,265703],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7353,"column":5,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7353,"endColumn":6,"fix":{"range":[266094,266102],"text":")\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7354,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7355,"endColumn":5,"fix":{"range":[266099,266102],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7355,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7355,"endColumn":5,"fix":{"range":[266152,266160],"text":"}\n var"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7356,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7781,"endColumn":5,"fix":{"range":[266157,266160],"text":"let"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7357,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7357,"endColumn":17,"fix":{"range":[266202,266202],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7359,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7359,"endColumn":9,"fix":{"range":[266275,266288],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7360,"column":38,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7360,"endColumn":39,"fix":{"range":[266311,266327],"text":"null\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7362,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7362,"endColumn":9,"fix":{"range":[266364,266377],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7363,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7363,"endColumn":30,"fix":{"range":[266390,266407],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7364,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7364,"endColumn":34,"fix":{"range":[266424,266441],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7365,"column":57,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7365,"endColumn":58,"fix":{"range":[266486,266499],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7366,"column":25,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7366,"endColumn":26,"fix":{"range":[266509,266525],"text":"null\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7368,"column":46,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7368,"endColumn":49,"fix":{"range":[266622,266625],"text":"'#'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7368,"column":68,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7368,"endColumn":69,"fix":{"range":[266643,266656],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7370,"column":71,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7370,"endColumn":72,"fix":{"range":[266765,266777],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7372,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7372,"endColumn":42,"fix":{"range":[266798,266827],"text":"previousFrameElement\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7373,"column":8,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7373,"endColumn":9,"fix":{"range":[266826,266839],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7374,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7374,"endColumn":30,"fix":{"range":[266850,266869],"text":"element\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7375,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7375,"endColumn":53,"fix":{"range":[266909,266922],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7376,"column":75,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7376,"endColumn":76,"fix":{"range":[266985,266998],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7377,"column":81,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7377,"endColumn":82,"fix":{"range":[267067,267080],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7378,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7378,"endColumn":70,"fix":{"range":[267137,267150],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7379,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7379,"endColumn":43,"fix":{"range":[267180,267193],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7380,"column":75,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7380,"endColumn":76,"fix":{"range":[267256,267264],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7382,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7394,"endColumn":6,"fix":{"range":[267264,267264],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7382,"column":12,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7382,"endColumn":13,"fix":{"range":[267276,267276],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7384,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7384,"endColumn":31,"fix":{"range":[267335,267351],"text":"true\n if"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":7385,"column":31,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":7385,"endColumn":33},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7386,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7386,"endColumn":43,"fix":{"range":[267440,267452],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7388,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7388,"endColumn":32,"fix":{"range":[267489,267501],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7390,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7390,"endColumn":44,"fix":{"range":[267543,267558],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7391,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7391,"endColumn":38,"fix":{"range":[267581,267596],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7392,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7392,"endColumn":41,"fix":{"range":[267622,267632],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7395,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7403,"endColumn":6,"fix":{"range":[267638,267638],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7395,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7395,"endColumn":16,"fix":{"range":[267653,267653],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7397,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7397,"endColumn":32,"fix":{"range":[267711,267730],"text":"false\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7398,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7398,"endColumn":40,"fix":{"range":[267755,267770],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7399,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7399,"endColumn":43,"fix":{"range":[267798,267813],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7400,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7400,"endColumn":37,"fix":{"range":[267835,267850],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7401,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7401,"endColumn":40,"fix":{"range":[267875,267885],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7404,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7408,"endColumn":6,"fix":{"range":[267891,267891],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7404,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7404,"endColumn":21,"fix":{"range":[267911,267911],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":7405,"column":29,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":7405,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7406,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7406,"endColumn":30,"fix":{"range":[268001,268011],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7409,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7418,"endColumn":6,"fix":{"range":[268017,268017],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7409,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7409,"endColumn":22,"fix":{"range":[268038,268038],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7410,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7410,"endColumn":41,"fix":{"range":[268078,268083],"text":"'src'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":7411,"column":9,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":7411,"endColumn":16,"fix":{"range":[268094,268101],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7411,"column":15,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7411,"endColumn":16,"fix":{"range":[268094,268110],"text":"return\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7413,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7413,"endColumn":31,"fix":{"range":[268164,268178],"text":"false\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":7415,"column":29,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":7415,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7416,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7416,"endColumn":30,"fix":{"range":[268286,268296],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7419,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7427,"endColumn":6,"fix":{"range":[268302,268302],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7419,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7419,"endColumn":23,"fix":{"range":[268324,268324],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7420,"column":35,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7420,"endColumn":36,"fix":{"range":[268356,268375],"text":"element\n this"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7421,"column":39,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7421,"endColumn":49,"fix":{"range":[268403,268413],"text":"'complete'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7422,"column":38,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7422,"endColumn":48,"fix":{"range":[268460,268470],"text":"'complete'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7422,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7422,"endColumn":50,"fix":{"range":[268470,268480],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7423,"column":9,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7423,"endColumn":10,"fix":{"range":[268480,268493],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7424,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7424,"endColumn":31,"fix":{"range":[268508,268524],"text":"null\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7425,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7425,"endColumn":30,"fix":{"range":[268539,268556],"text":"src\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7426,"column":33,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7426,"endColumn":34,"fix":{"range":[268570,268583],"text":"loaded\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7428,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7432,"endColumn":6,"fix":{"range":[268583,268583],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7428,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7428,"endColumn":21,"fix":{"range":[268603,268603],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7429,"column":36,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7429,"endColumn":46,"fix":{"range":[268643,268653],"text":"'complete'"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":7430,"column":9,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":7430,"endColumn":16,"fix":{"range":[268664,268671],"text":"{return;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7430,"column":15,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7430,"endColumn":16,"fix":{"range":[268664,268682],"text":"return\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7431,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7431,"endColumn":28,"fix":{"range":[268697,268705],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7433,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7440,"endColumn":6,"fix":{"range":[268705,268705],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7433,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7433,"endColumn":25,"fix":{"range":[268729,268729],"text":" "}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":7434,"column":29,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":7434,"endColumn":31},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7435,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7435,"endColumn":41,"fix":{"range":[268829,268839],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7437,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7437,"endColumn":40,"fix":{"range":[268884,268899],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7438,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7438,"endColumn":30,"fix":{"range":[268914,268924],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7441,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7448,"endColumn":6,"fix":{"range":[268930,268930],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7441,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7441,"endColumn":25,"fix":{"range":[268954,268954],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7443,"column":68,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7443,"endColumn":69,"fix":{"range":[269104,269119],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7444,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7444,"endColumn":40,"fix":{"range":[269144,269160],"text":")\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7445,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7445,"endColumn":35,"fix":{"range":[269174,269194],"text":"loaded\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7446,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7446,"endColumn":35,"fix":{"range":[269211,269224],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7449,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7468,"endColumn":6,"fix":{"range":[269230,269230],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7449,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7449,"endColumn":24,"fix":{"range":[269253,269253],"text":" "}},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":7450,"column":36,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":7450,"endColumn":38},{"ruleId":"no-mixed-operators","severity":2,"message":"Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations.","line":7450,"column":63,"nodeType":"LogicalExpression","messageId":"unexpectedMixedOperator","endLine":7450,"endColumn":65},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7451,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7451,"endColumn":53,"fix":{"range":[269408,269420],"text":"url\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7454,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7454,"endColumn":55,"fix":{"range":[269474,269498],"text":"responseHTML\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7456,"column":52,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7456,"endColumn":53,"fix":{"range":[269558,269576],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7457,"column":68,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7457,"endColumn":69,"fix":{"range":[269627,269642],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7459,"column":67,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7459,"endColumn":68,"fix":{"range":[269737,269751],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7461,"column":69,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7461,"endColumn":70,"fix":{"range":[269826,269840],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7466,"column":10,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7466,"endColumn":11,"fix":{"range":[269920,269930],"text":"}\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7469,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7472,"endColumn":6,"fix":{"range":[269936,269936],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7469,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7469,"endColumn":31,"fix":{"range":[269966,269966],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7470,"column":63,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7470,"endColumn":64,"fix":{"range":[270039,270052],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7471,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7471,"endColumn":28,"fix":{"range":[270067,270075],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7473,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7475,"endColumn":6,"fix":{"range":[270075,270075],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7473,"column":33,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7473,"endColumn":34,"fix":{"range":[270108,270108],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7474,"column":50,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7474,"endColumn":51,"fix":{"range":[270165,270173],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7476,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7480,"endColumn":6,"fix":{"range":[270173,270173],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7476,"column":32,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7476,"endColumn":33,"fix":{"range":[270205,270205],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7477,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7477,"endColumn":49,"fix":{"range":[270277,270288],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":7479,"column":9,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":7479,"endColumn":57,"fix":{"range":[270305,270353],"text":"{form.setAttribute(\"data-turbo-frame\", frame.id);}"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7479,"column":27,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7479,"endColumn":45,"fix":{"range":[270323,270341],"text":"'data-turbo-frame'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7479,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7479,"endColumn":57,"fix":{"range":[270351,270359],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7481,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7483,"endColumn":6,"fix":{"range":[270359,270359],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7481,"column":29,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7481,"endColumn":30,"fix":{"range":[270388,270388],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7482,"column":53,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7482,"endColumn":54,"fix":{"range":[270470,270478],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7484,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7486,"endColumn":6,"fix":{"range":[270478,270478],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7484,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7484,"endColumn":26,"fix":{"range":[270503,270503],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7485,"column":45,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7485,"endColumn":46,"fix":{"range":[270569,270577],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7487,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7489,"endColumn":6,"fix":{"range":[270577,270577],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7487,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7487,"endColumn":20,"fix":{"range":[270596,270596],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7488,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7488,"endColumn":43,"fix":{"range":[270648,270661],"text":"'turbo-frame'"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":7488,"column":45,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":7488,"endColumn":47},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7488,"column":114,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7488,"endColumn":115,"fix":{"range":[270731,270739],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7490,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7498,"endColumn":6,"fix":{"range":[270739,270739],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7490,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7490,"endColumn":19,"fix":{"range":[270757,270757],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7492,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7492,"endColumn":36,"fix":{"range":[270846,270856],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7494,"column":73,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7494,"endColumn":74,"fix":{"range":[270928,270942],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7495,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7495,"endColumn":52,"fix":{"range":[270967,270993],"text":"formSubmission\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7496,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7496,"endColumn":41,"fix":{"range":[271021,271034],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7497,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7497,"endColumn":35,"fix":{"range":[271056,271064],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7499,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7505,"endColumn":6,"fix":{"range":[271064,271064],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7499,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7499,"endColumn":20,"fix":{"range":[271083,271083],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7500,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7500,"endColumn":15,"fix":{"range":[271101,271104],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7500,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7500,"endColumn":15,"fix":{"range":[271105,271123],"text":"_a2\n request"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7501,"column":23,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7501,"endColumn":36,"fix":{"range":[271132,271145],"text":"'Turbo-Frame'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7501,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7501,"endColumn":48,"fix":{"range":[271154,271166],"text":"id\n if"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7502,"column":69,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7502,"endColumn":75},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7502,"column":78,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7502,"endColumn":84},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7502,"column":104,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7502,"endColumn":123,"fix":{"range":[271261,271280],"text":"'data-turbo-stream'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7503,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7503,"endColumn":63,"fix":{"range":[271345,271355],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7506,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7508,"endColumn":6,"fix":{"range":[271361,271361],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7506,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7506,"endColumn":20,"fix":{"range":[271380,271380],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7507,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7507,"endColumn":32,"fix":{"range":[271422,271430],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7509,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7511,"endColumn":6,"fix":{"range":[271430,271430],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7509,"column":37,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7509,"endColumn":38,"fix":{"range":[271467,271467],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7510,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7510,"endColumn":34,"fix":{"range":[271522,271530],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7512,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7515,"endColumn":6,"fix":{"range":[271530,271530],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7512,"column":39,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7512,"endColumn":40,"fix":{"range":[271569,271569],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7513,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7513,"endColumn":41,"fix":{"range":[271629,271642],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7514,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7514,"endColumn":34,"fix":{"range":[271663,271671],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7516,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7519,"endColumn":6,"fix":{"range":[271671,271671],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7516,"column":36,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7516,"endColumn":37,"fix":{"range":[271707,271707],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7517,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7517,"endColumn":41,"fix":{"range":[271767,271780],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7518,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7518,"endColumn":34,"fix":{"range":[271801,271809],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7520,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7523,"endColumn":6,"fix":{"range":[271809,271809],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7520,"column":19,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7520,"endColumn":20,"fix":{"range":[271828,271828],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7521,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7521,"endColumn":29,"fix":{"range":[271874,271887],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7522,"column":33,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7522,"endColumn":34,"fix":{"range":[271908,271916],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7524,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7526,"endColumn":6,"fix":{"range":[271916,271916],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7524,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7524,"endColumn":21,"fix":{"range":[271936,271936],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7525,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7525,"endColumn":36,"fix":{"range":[271982,271990],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7527,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7529,"endColumn":6,"fix":{"range":[271990,271990],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7527,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7527,"endColumn":27,"fix":{"range":[272016,272016],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7528,"column":66,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7528,"endColumn":67,"fix":{"range":[272100,272108],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7530,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7537,"endColumn":6,"fix":{"range":[272108,272108],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7530,"column":40,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7530,"endColumn":41,"fix":{"range":[272148,272148],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7531,"column":96,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7531,"endColumn":97,"fix":{"range":[272271,272285],"text":")\n frame"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7532,"column":116,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7532,"endColumn":117,"fix":{"range":[272388,272402],"text":")\n frame"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7533,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7533,"endColumn":45,"fix":{"range":[272433,272444],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7535,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7535,"endColumn":30,"fix":{"range":[272499,272509],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7538,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7541,"endColumn":6,"fix":{"range":[272515,272515],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7538,"column":37,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7538,"endColumn":38,"fix":{"range":[272552,272552],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7539,"column":56,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7539,"endColumn":57,"fix":{"range":[272640,272656],"text":")\n session"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7540,"column":27,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7540,"endColumn":28,"fix":{"range":[272668,272676],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7542,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7544,"endColumn":6,"fix":{"range":[272676,272676],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7542,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7542,"endColumn":27,"fix":{"range":[272702,272702],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7543,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7543,"endColumn":29,"fix":{"range":[272755,272763],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7545,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7547,"endColumn":6,"fix":{"range":[272763,272763],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7545,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7545,"endColumn":28,"fix":{"range":[272790,272790],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7546,"column":70,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7546,"endColumn":71,"fix":{"range":[272878,272886],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7548,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7559,"endColumn":6,"fix":{"range":[272886,272886],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7548,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7548,"endColumn":27,"fix":{"range":[272912,272912],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7549,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7549,"endColumn":57,"fix":{"range":[272977,273004],"text":"'turbo:before-frame-render'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7553,"column":9,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7553,"endColumn":10,"fix":{"range":[273125,273139],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7554,"column":70,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7554,"endColumn":71,"fix":{"range":[273192,273207],"text":"event\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7556,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7556,"endColumn":52,"fix":{"range":[273285,273301],"text":"render2\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7558,"column":31,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7558,"endColumn":32,"fix":{"range":[273316,273339],"text":"defaultPrevented\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7560,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7561,"endColumn":6,"fix":{"range":[273339,273339],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7560,"column":25,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7560,"endColumn":26,"fix":{"range":[273364,273364],"text":" "}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7562,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7564,"endColumn":6,"fix":{"range":[273395,273395],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7562,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7562,"endColumn":31,"fix":{"range":[273425,273425],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7563,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7563,"endColumn":50,"fix":{"range":[273484,273492],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7565,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7566,"endColumn":6,"fix":{"range":[273492,273492],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7565,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7565,"endColumn":21,"fix":{"range":[273512,273512],"text":" "}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7567,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7569,"endColumn":6,"fix":{"range":[273522,273522],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7567,"column":20,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7567,"endColumn":21,"fix":{"range":[273542,273542],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7568,"column":65,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7568,"endColumn":66,"fix":{"range":[273637,273645],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7570,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7586,"endColumn":6,"fix":{"range":[273645,273645],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7570,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7570,"endColumn":29,"fix":{"range":[273673,273673],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7571,"column":84,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7571,"endColumn":85,"fix":{"range":[273784,273795],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7573,"column":55,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7573,"endColumn":56,"fix":{"range":[273869,273885],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7574,"column":122,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7574,"endColumn":123,"fix":{"range":[273992,274005],"text":")\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":7576,"column":11,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":7576,"endColumn":41,"fix":{"range":[274042,274072],"text":"{await this.view.renderPromise;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7576,"column":40,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7576,"endColumn":41,"fix":{"range":[274058,274085],"text":"renderPromise\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7577,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7577,"endColumn":30,"fix":{"range":[274100,274116],"text":")\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7578,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7578,"endColumn":42,"fix":{"range":[274142,274157],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7579,"column":29,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7579,"endColumn":30,"fix":{"range":[274169,274190],"text":"true\n session"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7580,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7580,"endColumn":60,"fix":{"range":[274232,274250],"text":")\n session"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7581,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7581,"endColumn":43,"fix":{"range":[274275,274290],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7582,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7582,"endColumn":49,"fix":{"range":[274324,274334],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7584,"column":59,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7584,"endColumn":60,"fix":{"range":[274459,274469],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7587,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7601,"endColumn":6,"fix":{"range":[274475,274475],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7587,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7587,"endColumn":17,"fix":{"range":[274491,274491],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7588,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7588,"endColumn":15,"fix":{"range":[274505,274508],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7588,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7588,"endColumn":15,"fix":{"range":[274509,274525],"text":"_a2\n const"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7590,"column":60,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7590,"endColumn":66},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7590,"column":69,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7590,"endColumn":75},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7590,"column":90,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7590,"endColumn":91,"fix":{"range":[274707,274720],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7591,"column":41,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7591,"endColumn":42,"fix":{"range":[274743,274764],"text":"request\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7595,"column":12,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7595,"endColumn":13,"fix":{"range":[274890,274907],"text":"}\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7596,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7596,"endColumn":43,"fix":{"range":[274930,274953],"text":"null\n resolve"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7597,"column":20,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7597,"endColumn":21,"fix":{"range":[274954,274966],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7598,"column":10,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7598,"endColumn":11,"fix":{"range":[274965,274983],"text":"}\n request"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7599,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7599,"endColumn":27,"fix":{"range":[274992,275002],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7600,"column":9,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7600,"endColumn":10,"fix":{"range":[275002,275010],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7602,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7608,"endColumn":6,"fix":{"range":[275010,275010],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7602,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7602,"endColumn":19,"fix":{"range":[275028,275028],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7603,"column":62,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7603,"endColumn":63,"fix":{"range":[275116,275130],"text":")\n frame"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7604,"column":82,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7604,"endColumn":83,"fix":{"range":[275199,275212],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7606,"column":24,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7606,"endColumn":25,"fix":{"range":[275279,275291],"text":"url\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7607,"column":9,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7607,"endColumn":10,"fix":{"range":[275291,275299],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7609,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7633,"endColumn":6,"fix":{"range":[275299,275299],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7609,"column":38,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7609,"endColumn":39,"fix":{"range":[275337,275337],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7610,"column":62,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7610,"endColumn":63,"fix":{"range":[275427,275438],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7612,"column":69,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7612,"endColumn":70,"fix":{"range":[275522,275538],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7613,"column":55,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7613,"endColumn":56,"fix":{"range":[275571,275594],"text":"delegate\n frame"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7616,"column":61,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7616,"endColumn":62,"fix":{"range":[275721,275753],"text":"fetchResponse\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7617,"column":79,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7617,"endColumn":80,"fix":{"range":[275805,275833],"text":"outerHTML\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7618,"column":70,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7618,"endColumn":71,"fix":{"range":[275884,275904],"text":"}\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7626,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7626,"endColumn":15,"fix":{"range":[276160,276177],"text":"}\n if"}},{"ruleId":"curly","severity":2,"message":"Expected { after 'if' condition.","line":7628,"column":15,"nodeType":"IfStatement","messageId":"missingCurlyAfterCondition","endLine":7628,"endColumn":45,"fix":{"range":[276206,276236],"text":"{options2.action = this.action;}"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7628,"column":44,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7628,"endColumn":45,"fix":{"range":[276229,276256],"text":"action\n session"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7629,"column":47,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7629,"endColumn":48,"fix":{"range":[276282,276296],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7631,"column":10,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7631,"endColumn":11,"fix":{"range":[276305,276315],"text":"}\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7634,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7639,"endColumn":6,"fix":{"range":[276321,276321],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7634,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7634,"endColumn":19,"fix":{"range":[276339,276339],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7636,"column":62,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7636,"endColumn":63,"fix":{"range":[276429,276447],"text":")\n session"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7637,"column":70,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7637,"endColumn":72,"fix":{"range":[276501,276503],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7637,"column":102,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7637,"endColumn":103,"fix":{"range":[276532,276542],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7640,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7643,"endColumn":6,"fix":{"range":[276548,276548],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7640,"column":41,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7640,"endColumn":42,"fix":{"range":[276589,276589],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7641,"column":168,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7641,"endColumn":169,"fix":{"range":[276773,276787],"text":")\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7642,"column":55,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7642,"endColumn":56,"fix":{"range":[276829,276837],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7644,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7660,"endColumn":6,"fix":{"range":[276837,276837],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7644,"column":39,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7644,"endColumn":40,"fix":{"range":[276876,276876],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7645,"column":33,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7645,"endColumn":43,"fix":{"range":[276926,276936],"text":"'complete'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7645,"column":45,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7645,"endColumn":47,"fix":{"range":[276938,276940],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7645,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7645,"endColumn":49,"fix":{"range":[276940,276954],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7646,"column":46,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7646,"endColumn":47,"fix":{"range":[276980,277001],"text":"response\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7649,"column":34,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7649,"endColumn":35,"fix":{"range":[277114,277126],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7651,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7651,"endColumn":40,"fix":{"range":[277171,277183],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7653,"column":8,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7653,"endColumn":9,"fix":{"range":[277190,277204],"text":"}\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7654,"column":30,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7654,"endColumn":51,"fix":{"range":[277222,277243],"text":"'turbo:frame-missing'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7658,"column":9,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7658,"endColumn":10,"fix":{"range":[277354,277369],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7659,"column":37,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7659,"endColumn":38,"fix":{"range":[277377,277400],"text":"defaultPrevented\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7661,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7664,"endColumn":6,"fix":{"range":[277400,277400],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7661,"column":35,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7661,"endColumn":36,"fix":{"range":[277435,277435],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7662,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7662,"endColumn":27,"fix":{"range":[277477,277490],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7663,"column":49,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7663,"endColumn":50,"fix":{"range":[277527,277535],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7665,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7668,"endColumn":6,"fix":{"range":[277535,277535],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7665,"column":27,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7665,"endColumn":28,"fix":{"range":[277562,277562],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7666,"column":228,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7666,"endColumn":229,"fix":{"range":[277709,277820],"text":"}\"> and will be ignored. To perform a full page visit instead, set turbo-visit-control to reload.`\n throw"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7667,"column":48,"nodeType":"ThrowStatement","messageId":"extraSemi","endLine":7667,"endColumn":49,"fix":{"range":[277855,277863],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7669,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7674,"endColumn":6,"fix":{"range":[277863,277863],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7669,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7669,"endColumn":25,"fix":{"range":[277887,277887],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7670,"column":50,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7670,"endColumn":51,"fix":{"range":[277948,277962],"text":")\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7671,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7671,"endColumn":55,"fix":{"range":[277992,278017],"text":"responseHTML\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7672,"column":70,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7672,"endColumn":71,"fix":{"range":[278068,278089],"text":"wrapped\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7673,"column":94,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7673,"endColumn":95,"fix":{"range":[278169,278177],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7675,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7679,"endColumn":6,"fix":{"range":[278177,278177],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7675,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7675,"endColumn":22,"fix":{"range":[278198,278198],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7676,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7676,"endColumn":15,"fix":{"range":[278227,278230],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7676,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7676,"endColumn":15,"fix":{"range":[278231,278247],"text":"_a2\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7677,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7677,"endColumn":50,"fix":{"range":[278267,278285],"text":"'data-turbo-frame'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7677,"column":101,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7677,"endColumn":109,"fix":{"range":[278336,278344],"text":"'target'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7677,"column":110,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7677,"endColumn":111,"fix":{"range":[278344,278359],"text":")\n return"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7678,"column":67,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7678,"endColumn":73},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7678,"column":94,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7678,"endColumn":95,"fix":{"range":[278433,278447],"text":"element\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7680,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7698,"endColumn":6,"fix":{"range":[278447,278447],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7680,"column":37,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7680,"endColumn":38,"fix":{"range":[278484,278484],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7681,"column":18,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7681,"endColumn":19,"fix":{"range":[278508,278528],"text":"element\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7682,"column":38,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7682,"endColumn":39,"fix":{"range":[278553,278565],"text":")\n try"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7684,"column":97,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7684,"endColumn":98,"fix":{"range":[278663,278676],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7686,"column":25,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7686,"endColumn":26,"fix":{"range":[278706,278724],"text":"element\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7688,"column":112,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7688,"endColumn":113,"fix":{"range":[278835,278848],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7690,"column":31,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7690,"endColumn":32,"fix":{"range":[278885,278909],"text":"loaded\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7691,"column":64,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7691,"endColumn":65,"fix":{"range":[278955,278967],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7694,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7694,"endColumn":31,"fix":{"range":[279021,279038],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7695,"column":34,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7695,"endColumn":35,"fix":{"range":[279056,279066],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7697,"column":18,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7697,"endColumn":19,"fix":{"range":[279080,279091],"text":"null\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7699,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7702,"endColumn":6,"fix":{"range":[279091,279091],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7699,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7699,"endColumn":27,"fix":{"range":[279117,279117],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7700,"column":48,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7700,"endColumn":49,"fix":{"range":[279183,279198],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7701,"column":71,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7701,"endColumn":72,"fix":{"range":[279255,279263],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7703,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7724,"endColumn":6,"fix":{"range":[279263,279263],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7703,"column":30,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7703,"endColumn":31,"fix":{"range":[279293,279293],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7704,"column":32,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7704,"endColumn":50,"fix":{"range":[279347,279365],"text":"'data-turbo-frame'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7704,"column":101,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7704,"endColumn":109,"fix":{"range":[279416,279424],"text":"'target'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7704,"column":110,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7704,"endColumn":111,"fix":{"range":[279424,279435],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7706,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7706,"endColumn":22,"fix":{"range":[279541,279555],"text":"false\n }"}},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":7708,"column":32,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":7708,"endColumn":34},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7708,"column":35,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7708,"endColumn":41,"fix":{"range":[279590,279596],"text":"'_top'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7709,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7709,"endColumn":22,"fix":{"range":[279615,279629],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7712,"column":54,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7712,"endColumn":55,"fix":{"range":[279699,279712],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7714,"column":40,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7714,"endColumn":41,"fix":{"range":[279761,279780],"text":"disabled\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7718,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7718,"endColumn":22,"fix":{"range":[279856,279870],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7721,"column":21,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7721,"endColumn":22,"fix":{"range":[279953,279967],"text":"false\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7723,"column":18,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7723,"endColumn":19,"fix":{"range":[279981,279992],"text":"true\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7725,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7727,"endColumn":6,"fix":{"range":[279992,279992],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7725,"column":11,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7725,"endColumn":12,"fix":{"range":[280003,280003],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7726,"column":29,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7726,"endColumn":30,"fix":{"range":[280034,280043],"text":"id\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7728,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7730,"endColumn":6,"fix":{"range":[280043,280043],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7728,"column":16,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7728,"endColumn":17,"fix":{"range":[280059,280059],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7729,"column":36,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7729,"endColumn":37,"fix":{"range":[280091,280106],"text":"disabled\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7731,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7735,"endColumn":6,"fix":{"range":[280106,280106],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7731,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7731,"endColumn":19,"fix":{"range":[280124,280124],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7733,"column":32,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7733,"endColumn":33,"fix":{"range":[280187,280199],"text":"src\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7736,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7740,"endColumn":6,"fix":{"range":[280205,280205],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7736,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7736,"endColumn":19,"fix":{"range":[280223,280223],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7737,"column":39,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7737,"endColumn":44,"fix":{"range":[280275,280280],"text":"'src'"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7738,"column":64,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7738,"endColumn":70},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7738,"column":89,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7738,"endColumn":90,"fix":{"range":[280374,280387],"text":"null\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7739,"column":9,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7739,"endColumn":10,"fix":{"range":[280387,280395],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7741,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7743,"endColumn":6,"fix":{"range":[280395,280395],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7741,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7741,"endColumn":22,"fix":{"range":[280416,280416],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7742,"column":34,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7742,"endColumn":35,"fix":{"range":[280447,280461],"text":"loading\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7744,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7746,"endColumn":6,"fix":{"range":[280461,280461],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7744,"column":18,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7744,"endColumn":19,"fix":{"range":[280479,280479],"text":" "}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7745,"column":38,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7745,"endColumn":44},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7745,"column":79,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7745,"endColumn":85},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7745,"column":85,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7745,"endColumn":86,"fix":{"range":[280567,280575],"text":"0\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7747,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7749,"endColumn":6,"fix":{"range":[280575,280575],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7747,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7747,"endColumn":18,"fix":{"range":[280592,280592],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7748,"column":40,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7748,"endColumn":50,"fix":{"range":[280636,280646],"text":"'complete'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7748,"column":51,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7748,"endColumn":52,"fix":{"range":[280646,280654],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7750,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7758,"endColumn":6,"fix":{"range":[280654,280654],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7750,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7750,"endColumn":18,"fix":{"range":[280671,280671],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7751,"column":39,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7751,"endColumn":49,"fix":{"range":[280719,280729],"text":"'complete'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7753,"column":37,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7753,"endColumn":47,"fix":{"range":[280796,280806],"text":"'complete'"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7753,"column":49,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7753,"endColumn":51,"fix":{"range":[280808,280810],"text":"''"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7753,"column":52,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7753,"endColumn":53,"fix":{"range":[280810,280822],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7755,"column":40,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7755,"endColumn":50,"fix":{"range":[280869,280879],"text":"'complete'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7755,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7755,"endColumn":52,"fix":{"range":[280879,280891],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7757,"column":9,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7757,"endColumn":10,"fix":{"range":[280899,280907],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7759,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7761,"endColumn":6,"fix":{"range":[280907,280907],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7759,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7759,"endColumn":18,"fix":{"range":[280924,280924],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7760,"column":53,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7760,"endColumn":54,"fix":{"range":[280972,280988],"text":"connected\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7762,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7767,"endColumn":6,"fix":{"range":[280988,280988],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7762,"column":21,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7762,"endColumn":22,"fix":{"range":[281009,281009],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7763,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7763,"endColumn":15,"fix":{"range":[281020,281023],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7763,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7763,"endColumn":15,"fix":{"range":[281024,281040],"text":"_a2\n const"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7764,"column":61,"nodeType":"TemplateLiteral","messageId":"wrongQuotes","endLine":7764,"endColumn":86,"fix":{"range":[281089,281114],"text":"'meta[name=\"turbo-root\"]'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7764,"column":87,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7764,"endColumn":88,"fix":{"range":[281114,281128],"text":")\n const"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7765,"column":53,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7765,"endColumn":59},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7765,"column":62,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7765,"endColumn":68},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7765,"column":105,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7765,"endColumn":111},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7765,"column":120,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7765,"endColumn":123,"fix":{"range":[281236,281239],"text":"'/'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7765,"column":123,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7765,"endColumn":124,"fix":{"range":[281236,281253],"text":"\"/\"\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7766,"column":29,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7766,"endColumn":30,"fix":{"range":[281268,281276],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7768,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7770,"endColumn":6,"fix":{"range":[281276,281276],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7768,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7768,"endColumn":25,"fix":{"range":[281300,281300],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7769,"column":55,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7769,"endColumn":56,"fix":{"range":[281371,281379],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7771,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7775,"endColumn":6,"fix":{"range":[281379,281379],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7771,"column":31,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7771,"endColumn":32,"fix":{"range":[281410,281410],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7772,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7772,"endColumn":49,"fix":{"range":[281484,281501],"text":")\n callback"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7773,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7773,"endColumn":18,"fix":{"range":[281502,281515],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7774,"column":51,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7774,"endColumn":52,"fix":{"range":[281554,281562],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7776,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7780,"endColumn":6,"fix":{"range":[281562,281562],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7776,"column":33,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7776,"endColumn":34,"fix":{"range":[281595,281595],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7777,"column":46,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7777,"endColumn":47,"fix":{"range":[281655,281678],"text":"element\n callback"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7778,"column":17,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7778,"endColumn":18,"fix":{"range":[281679,281694],"text":")\n delete"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7779,"column":43,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7779,"endColumn":44,"fix":{"range":[281700,281731],"text":"currentNavigationElement\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7781,"column":4,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7781,"endColumn":5,"fix":{"range":[281734,281747],"text":"}\n function"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7782,"column":31,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":7782,"endColumn":32,"fix":{"range":[281767,281767],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7784,"column":51,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7784,"endColumn":52,"fix":{"range":[281847,281858],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7786,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7786,"endColumn":24,"fix":{"range":[281910,281926],"text":"element\n }"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7790,"column":27,"nodeType":"FunctionDeclaration","messageId":"missingSpace","endLine":7790,"endColumn":28,"fix":{"range":[281963,281963],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7792,"column":40,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7792,"endColumn":45,"fix":{"range":[282045,282050],"text":"'src'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7792,"column":46,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7792,"endColumn":47,"fix":{"range":[282050,282061],"text":")\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7794,"column":118,"nodeType":"ThrowStatement","messageId":"extraSemi","endLine":7794,"endColumn":119,"fix":{"range":[282249,282259],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7797,"column":53,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7797,"endColumn":54,"fix":{"range":[282359,282369],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7800,"column":36,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7800,"endColumn":37,"fix":{"range":[282449,282467],"text":")\n element"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7801,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7801,"endColumn":40,"fix":{"range":[282489,282506],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7802,"column":23,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7802,"endColumn":24,"fix":{"range":[282507,282523],"text":"element\n }"}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7806,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7917,"endColumn":5},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7807,"column":31,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7807,"endColumn":32,"fix":{"range":[282614,282614],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7808,"column":39,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7808,"endColumn":40,"fix":{"range":[282666,282674],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7810,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7818,"endColumn":6,"fix":{"range":[282674,282674],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7810,"column":28,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7810,"endColumn":29,"fix":{"range":[282702,282702],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7812,"column":28,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7812,"endColumn":29,"fix":{"range":[282745,282755],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7814,"column":30,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7814,"endColumn":31,"fix":{"range":[282801,282811],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7816,"column":26,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7816,"endColumn":27,"fix":{"range":[282846,282856],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7819,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7828,"endColumn":6,"fix":{"range":[282862,282862],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7819,"column":17,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7819,"endColumn":18,"fix":{"range":[282879,282879],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7820,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7820,"endColumn":15,"fix":{"range":[282890,282893],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7820,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7820,"endColumn":15,"fix":{"range":[282894,282911],"text":"_a2\n return"}},{"ruleId":"no-return-assign","severity":2,"message":"Return statement should not contain assignment.","line":7821,"column":7,"nodeType":"ReturnStatement","messageId":"returnAssignment","endLine":7827,"endColumn":12},{"ruleId":"multiline-ternary","severity":2,"message":"Expected newline between test and consequent of ternary expression.","line":7821,"column":14,"nodeType":"LogicalExpression","messageId":"expectedTestCons","endLine":7821,"endColumn":67,"fix":{"range":[282965,282966],"text":"\n"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7821,"column":61,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7821,"endColumn":67},{"ruleId":"multiline-ternary","severity":2,"message":"Expected newline between consequent and alternate of ternary expression.","line":7821,"column":70,"nodeType":"Identifier","messageId":"expectedConsAlt","endLine":7821,"endColumn":73,"fix":{"range":[282971,282972],"text":"\n"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7822,"column":45,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7822,"endColumn":46,"fix":{"range":[283037,283066],"text":"beforeRenderEvent\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7824,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7824,"endColumn":38,"fix":{"range":[283132,283150],"text":")\n await"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7825,"column":42,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7825,"endColumn":43,"fix":{"range":[283175,283187],"text":")\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7827,"column":11,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7827,"endColumn":12,"fix":{"range":[283197,283205],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7829,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7834,"endColumn":6,"fix":{"range":[283205,283205],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7829,"column":15,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7829,"endColumn":16,"fix":{"range":[283220,283220],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7831,"column":22,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7831,"endColumn":23,"fix":{"range":[283257,283267],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7835,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7837,"endColumn":6,"fix":{"range":[283295,283295],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7835,"column":34,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7835,"endColumn":35,"fix":{"range":[283329,283329],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7836,"column":58,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7836,"endColumn":59,"fix":{"range":[283390,283398],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7838,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7843,"endColumn":6,"fix":{"range":[283398,283398],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7838,"column":26,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7838,"endColumn":27,"fix":{"range":[283424,283424],"text":" "}},{"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":7839,"column":7,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":7839,"endColumn":15,"fix":{"range":[283435,283438],"text":"let"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7839,"column":14,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7839,"endColumn":15,"fix":{"range":[283439,283455],"text":"_a2\n const"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7840,"column":109,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7840,"endColumn":110,"fix":{"range":[283551,283565],"text":")\n const"}},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7841,"column":84,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7841,"endColumn":90},{"ruleId":"no-void","severity":2,"message":"Expected 'undefined' and instead saw 'void'.","line":7841,"column":93,"nodeType":"UnaryExpression","messageId":"noVoid","endLine":7841,"endColumn":99},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7841,"column":165,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7841,"endColumn":166,"fix":{"range":[283717,283732],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7842,"column":77,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7842,"endColumn":78,"fix":{"range":[283795,283803],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7844,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7853,"endColumn":6,"fix":{"range":[283803,283803],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7844,"column":22,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7844,"endColumn":23,"fix":{"range":[283825,283825],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7846,"column":58,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7846,"endColumn":59,"fix":{"range":[283911,283924],"text":"]\n if"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7848,"column":32,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7848,"endColumn":33,"fix":{"range":[283961,283986],"text":"actionFunction\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7850,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7850,"endColumn":36,"fix":{"range":[284006,284022],"text":"'unknown action'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7850,"column":37,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7850,"endColumn":38,"fix":{"range":[284022,284032],"text":")\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7852,"column":18,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7852,"endColumn":47,"fix":{"range":[284050,284079],"text":"'action attribute is missing'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7852,"column":48,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7852,"endColumn":49,"fix":{"range":[284079,284087],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7854,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7862,"endColumn":6,"fix":{"range":[284087,284087],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7854,"column":23,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7854,"endColumn":24,"fix":{"range":[284110,284110],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7856,"column":39,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7856,"endColumn":40,"fix":{"range":[284160,284187],"text":"targetElementsById\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7858,"column":42,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7858,"endColumn":43,"fix":{"range":[284233,284263],"text":"targetElementsByQuery\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7860,"column":20,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7860,"endColumn":60,"fix":{"range":[284290,284330],"text":"'target or targets attribute is missing'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7860,"column":61,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7860,"endColumn":62,"fix":{"range":[284330,284340],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7863,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7865,"endColumn":6,"fix":{"range":[284346,284346],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7863,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7863,"endColumn":25,"fix":{"range":[284370,284370],"text":" "}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7864,"column":58,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7864,"endColumn":59,"fix":{"range":[284431,284439],"text":")\n }"}},{"ruleId":"lines-between-class-members","severity":2,"message":"Expected blank line between class members.","line":7866,"column":5,"nodeType":"MethodDefinition","messageId":"always","endLine":7875,"endColumn":6,"fix":{"range":[284439,284439],"text":"\n"}},{"ruleId":"space-before-function-paren","severity":2,"message":"Missing space before function parentheses.","line":7866,"column":24,"nodeType":"FunctionExpression","messageId":"missingSpace","endLine":7866,"endColumn":25,"fix":{"range":[284463,284463],"text":" "}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7868,"column":59,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7868,"endColumn":69,"fix":{"range":[284571,284581],"text":"'template'"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7868,"column":70,"nodeType":"VariableDeclaration","messageId":"extraSemi","endLine":7868,"endColumn":71,"fix":{"range":[284581,284596],"text":")\n this"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7869,"column":35,"nodeType":"ExpressionStatement","messageId":"extraSemi","endLine":7869,"endColumn":36,"fix":{"range":[284617,284634],"text":")\n return"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7870,"column":24,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7870,"endColumn":25,"fix":{"range":[284635,284652],"text":"template\n }"}},{"ruleId":"semi","severity":2,"message":"Extra semicolon.","line":7872,"column":38,"nodeType":"ReturnStatement","messageId":"extraSemi","endLine":7872,"endColumn":39,"fix":{"range":[284739,284765],"text":"firstElementChild\n }"}},{"ruleId":"quotes","severity":2,"message":"Strings must use singlequote.","line":7874,"column":18,"nodeType":"Literal","messageId":"wrongQuotes","endLine":7874,"endColumn":68,"fix":{"range":[284783,284833],"text":"'first child element must be a