Browse Source

Wifi UI update

Sebastien 4 years ago
parent
commit
7c13c130b8
81 changed files with 5017 additions and 4675 deletions
  1. 1 2501
      .gitignore
  2. 1 1
      components/driver_bt/bt_app_sink.c
  3. 3 3
      components/driver_bt/bt_app_source.c
  4. 0 2
      components/platform_console/cmd_config.c
  5. 1 0
      components/services/messaging.c
  6. 0 1
      components/wifi-manager/.gitignore
  7. 6 4
      components/wifi-manager/CMakeLists.txt
  8. 0 2
      components/wifi-manager/compress.bat
  9. 0 2
      components/wifi-manager/connect
  10. 35 56
      components/wifi-manager/http_server_handlers.c
  11. 0 410
      components/wifi-manager/index.development.html
  12. 0 0
      components/wifi-manager/index.html
  13. 0 11
      components/wifi-manager/res/bootstrap.css
  14. BIN
      components/wifi-manager/res/bootstrap.css.gz
  15. 0 0
      components/wifi-manager/res/bootstrap.css.map
  16. 0 5
      components/wifi-manager/res/bootstrap.js
  17. BIN
      components/wifi-manager/res/bootstrap.js.gz
  18. 0 0
      components/wifi-manager/res/bootstrap.map
  19. BIN
      components/wifi-manager/res/bootstrap.map.gz
  20. 0 1372
      components/wifi-manager/res/code.js
  21. BIN
      components/wifi-manager/res/code.js.gz
  22. BIN
      components/wifi-manager/res/favicon.ico.gz
  23. 0 1
      components/wifi-manager/res/jquery.js
  24. BIN
      components/wifi-manager/res/jquery.js.gz
  25. BIN
      components/wifi-manager/res/style.css.gz
  26. 19 0
      components/wifi-manager/webapp/.babelrc
  27. 1 0
      components/wifi-manager/webapp/.eslintcache
  28. 27 0
      components/wifi-manager/webapp/.eslintrc
  29. 18 0
      components/wifi-manager/webapp/.eslintrc.json.back
  30. 5 0
      components/wifi-manager/webapp/.gitignore
  31. 12 0
      components/wifi-manager/webapp/.vscode/launch.json
  32. 42 0
      components/wifi-manager/webapp/.vscode/tasks.json
  33. 21 0
      components/wifi-manager/webapp/LICENSE
  34. 204 0
      components/wifi-manager/webapp/README.md
  35. 24 0
      components/wifi-manager/webapp/config/.stylelintrc
  36. 3 0
      components/wifi-manager/webapp/debug.log
  37. 2 1
      components/wifi-manager/webapp/mock/ap.json
  38. 179 212
      components/wifi-manager/webapp/mock/commands.json
  39. 0 0
      components/wifi-manager/webapp/mock/config.json
  40. 22 0
      components/wifi-manager/webapp/mock/messages.json
  41. 0 0
      components/wifi-manager/webapp/mock/messages_testing.json
  42. 0 0
      components/wifi-manager/webapp/mock/scan.json
  43. 0 0
      components/wifi-manager/webapp/mock/status-messages.json
  44. 4 2
      components/wifi-manager/webapp/mock/status.json
  45. 24 0
      components/wifi-manager/webapp/mock/statusdefinition.json
  46. 133 0
      components/wifi-manager/webapp/package.json
  47. 3 0
      components/wifi-manager/webapp/postcss.config.js
  48. 37 0
      components/wifi-manager/webapp/src/.htaccess
  49. BIN
      components/wifi-manager/webapp/src/assets/images/200px-ControllerAppIcon.png
  50. BIN
      components/wifi-manager/webapp/src/assets/images/favicon-32x32.png
  51. 0 0
      components/wifi-manager/webapp/src/assets/images/favicon.ico
  52. 439 0
      components/wifi-manager/webapp/src/index.ejs
  53. 24 0
      components/wifi-manager/webapp/src/index.ts
  54. 1702 0
      components/wifi-manager/webapp/src/js/custom.js
  55. 135 0
      components/wifi-manager/webapp/src/js/test.js
  56. 34 0
      components/wifi-manager/webapp/src/sass/layout/_features.scss
  57. 5 0
      components/wifi-manager/webapp/src/sass/main.scss
  58. 348 0
      components/wifi-manager/webapp/src/sass/setup/_normalize.scss
  59. 3 0
      components/wifi-manager/webapp/src/sass/themes/_darkly.scss
  60. 24 0
      components/wifi-manager/webapp/src/sass/utils/_mixins.scss
  61. 52 57
      components/wifi-manager/webapp/src/sass/utils/_style.css
  62. 122 0
      components/wifi-manager/webapp/src/test.ejs
  63. 23 0
      components/wifi-manager/webapp/src/test.ts
  64. 55 0
      components/wifi-manager/webapp/test.js
  65. 1 0
      components/wifi-manager/webapp/test.txt
  66. 8 0
      components/wifi-manager/webapp/test/test.js
  67. 17 0
      components/wifi-manager/webapp/tsconfig.json
  68. 22 0
      components/wifi-manager/webapp/tslint.json
  69. 5 0
      components/wifi-manager/webapp/webapp.cmake
  70. 34 0
      components/wifi-manager/webapp/webpack.c
  71. 72 0
      components/wifi-manager/webapp/webpack.h
  72. 0 0
      components/wifi-manager/webapp/webpack/cmdline.js
  73. 9 0
      components/wifi-manager/webapp/webpack/postcss.config.js
  74. 231 0
      components/wifi-manager/webapp/webpack/webpack.common.js
  75. 235 0
      components/wifi-manager/webapp/webpack/webpack.dev.js
  76. 182 0
      components/wifi-manager/webapp/webpack/webpack.prod.js
  77. 26 11
      components/wifi-manager/wifi_manager.c
  78. 3 1
      components/wifi-manager/wifi_manager.h
  79. 6 2
      components/wifi-manager/wifi_manager_http_server.c
  80. 24 2
      main/esp_app_main.c
  81. 349 16
      sdkconfig

+ 1 - 2501
.gitignore

@@ -96,2504 +96,4 @@ components/wifi-manager/res/backup/
 
 test/.vscode/
 
-node_modules/.bin/acorn
-
-node_modules/.bin/
-
-node_modules/\@babel/highlight/
-node_modules/@babel/code-frame/LICENSE
-node_modules/@babel/code-frame/package.json
-node_modules/@babel/code-frame/README.md
-node_modules/@babel/code-frame/lib/index.js
-node_modules/@babel/helper-validator-identifier/LICENSE
-node_modules/@babel/helper-validator-identifier/package.json
-node_modules/@babel/helper-validator-identifier/README.md
-node_modules/@babel/helper-validator-identifier/lib/identifier.js
-node_modules/@babel/helper-validator-identifier/lib/index.js
-node_modules/@babel/helper-validator-identifier/lib/keyword.js
-node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js
-node_modules/@eslint/eslintrc/CHANGELOG.md
-node_modules/@eslint/eslintrc/LICENSE
-node_modules/@eslint/eslintrc/package.json
-node_modules/@eslint/eslintrc/README.md
-node_modules/@eslint/eslintrc/conf/config-schema.js
-node_modules/@eslint/eslintrc/conf/environments.js
-node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js
-node_modules/@eslint/eslintrc/lib/config-array-factory.js
-node_modules/@eslint/eslintrc/lib/index.js
-node_modules/@eslint/eslintrc/lib/config-array/config-array.js
-node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js
-node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js
-node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js
-node_modules/@eslint/eslintrc/lib/config-array/index.js
-node_modules/@eslint/eslintrc/lib/config-array/override-tester.js
-node_modules/@eslint/eslintrc/lib/shared/ajv.js
-node_modules/@eslint/eslintrc/lib/shared/config-ops.js
-node_modules/@eslint/eslintrc/lib/shared/config-validator.js
-node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js
-node_modules/@eslint/eslintrc/lib/shared/naming.js
-node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js
-node_modules/@eslint/eslintrc/lib/shared/types.js
-node_modules/acorn/CHANGELOG.md
-node_modules/acorn/LICENSE
-node_modules/acorn/package.json
-node_modules/acorn/README.md
-node_modules/acorn/bin/acorn
-node_modules/acorn/dist/acorn.d.ts
-node_modules/acorn/dist/acorn.js
-node_modules/acorn/dist/acorn.js.map
-node_modules/acorn/dist/acorn.mjs
-node_modules/acorn/dist/acorn.mjs.d.ts
-node_modules/acorn/dist/acorn.mjs.map
-node_modules/acorn/dist/bin.js
-node_modules/acorn-jsx/index.js
-node_modules/acorn-jsx/LICENSE
-node_modules/acorn-jsx/package.json
-node_modules/acorn-jsx/README.md
-node_modules/acorn-jsx/xhtml.js
-node_modules/ajv/.tonic_example.js
-node_modules/ajv/LICENSE
-node_modules/ajv/package.json
-node_modules/ajv/README.md
-node_modules/ajv/dist/ajv.bundle.js
-node_modules/ajv/dist/ajv.min.js
-node_modules/ajv/dist/ajv.min.js.map
-node_modules/ajv/lib/ajv.d.ts
-node_modules/ajv/lib/ajv.js
-node_modules/ajv/lib/cache.js
-node_modules/ajv/lib/data.js
-node_modules/ajv/lib/definition_schema.js
-node_modules/ajv/lib/keyword.js
-node_modules/ajv/lib/compile/async.js
-node_modules/ajv/lib/compile/equal.js
-node_modules/ajv/lib/compile/error_classes.js
-node_modules/ajv/lib/compile/formats.js
-node_modules/ajv/lib/compile/index.js
-node_modules/ajv/lib/compile/resolve.js
-node_modules/ajv/lib/compile/rules.js
-node_modules/ajv/lib/compile/schema_obj.js
-node_modules/ajv/lib/compile/ucs2length.js
-node_modules/ajv/lib/compile/util.js
-node_modules/ajv/lib/dot/_limit.jst
-node_modules/ajv/lib/dot/_limitItems.jst
-node_modules/ajv/lib/dot/_limitLength.jst
-node_modules/ajv/lib/dot/_limitProperties.jst
-node_modules/ajv/lib/dot/allOf.jst
-node_modules/ajv/lib/dot/anyOf.jst
-node_modules/ajv/lib/dot/coerce.def
-node_modules/ajv/lib/dot/comment.jst
-node_modules/ajv/lib/dot/const.jst
-node_modules/ajv/lib/dot/contains.jst
-node_modules/ajv/lib/dot/custom.jst
-node_modules/ajv/lib/dot/defaults.def
-node_modules/ajv/lib/dot/definitions.def
-node_modules/ajv/lib/dot/dependencies.jst
-node_modules/ajv/lib/dot/enum.jst
-node_modules/ajv/lib/dot/errors.def
-node_modules/ajv/lib/dot/format.jst
-node_modules/ajv/lib/dot/if.jst
-node_modules/ajv/lib/dot/items.jst
-node_modules/ajv/lib/dot/missing.def
-node_modules/ajv/lib/dot/multipleOf.jst
-node_modules/ajv/lib/dot/not.jst
-node_modules/ajv/lib/dot/oneOf.jst
-node_modules/ajv/lib/dot/pattern.jst
-node_modules/ajv/lib/dot/properties.jst
-node_modules/ajv/lib/dot/propertyNames.jst
-node_modules/ajv/lib/dot/ref.jst
-node_modules/ajv/lib/dot/required.jst
-node_modules/ajv/lib/dot/uniqueItems.jst
-node_modules/ajv/lib/dot/validate.jst
-node_modules/ajv/lib/dotjs/_limit.js
-node_modules/ajv/lib/dotjs/_limitItems.js
-node_modules/ajv/lib/dotjs/_limitLength.js
-node_modules/ajv/lib/dotjs/_limitProperties.js
-node_modules/ajv/lib/dotjs/allOf.js
-node_modules/ajv/lib/dotjs/anyOf.js
-node_modules/ajv/lib/dotjs/comment.js
-node_modules/ajv/lib/dotjs/const.js
-node_modules/ajv/lib/dotjs/contains.js
-node_modules/ajv/lib/dotjs/custom.js
-node_modules/ajv/lib/dotjs/dependencies.js
-node_modules/ajv/lib/dotjs/enum.js
-node_modules/ajv/lib/dotjs/format.js
-node_modules/ajv/lib/dotjs/if.js
-node_modules/ajv/lib/dotjs/index.js
-node_modules/ajv/lib/dotjs/items.js
-node_modules/ajv/lib/dotjs/multipleOf.js
-node_modules/ajv/lib/dotjs/not.js
-node_modules/ajv/lib/dotjs/oneOf.js
-node_modules/ajv/lib/dotjs/pattern.js
-node_modules/ajv/lib/dotjs/properties.js
-node_modules/ajv/lib/dotjs/propertyNames.js
-node_modules/ajv/lib/dotjs/README.md
-node_modules/ajv/lib/dotjs/ref.js
-node_modules/ajv/lib/dotjs/required.js
-node_modules/ajv/lib/dotjs/uniqueItems.js
-node_modules/ajv/lib/dotjs/validate.js
-node_modules/ajv/lib/refs/data.json
-node_modules/ajv/lib/refs/json-schema-draft-04.json
-node_modules/ajv/lib/refs/json-schema-draft-06.json
-node_modules/ajv/lib/refs/json-schema-draft-07.json
-node_modules/ajv/lib/refs/json-schema-secure.json
-node_modules/ajv/scripts/.eslintrc.yml
-node_modules/ajv/scripts/bundle.js
-node_modules/ajv/scripts/compile-dots.js
-node_modules/ajv/scripts/info
-node_modules/ajv/scripts/prepare-tests
-node_modules/ajv/scripts/publish-built-version
-node_modules/ajv/scripts/travis-gh-pages
-node_modules/ansi-colors/index.js
-node_modules/ansi-colors/LICENSE
-node_modules/ansi-colors/package.json
-node_modules/ansi-colors/README.md
-node_modules/ansi-colors/symbols.js
-node_modules/ansi-colors/types/index.d.ts
-node_modules/ansi-regex/index.d.ts
-node_modules/ansi-regex/index.js
-node_modules/ansi-regex/license
-node_modules/ansi-regex/package.json
-node_modules/ansi-regex/readme.md
-node_modules/ansi-styles/index.js
-node_modules/ansi-styles/license
-node_modules/ansi-styles/package.json
-node_modules/ansi-styles/readme.md
-node_modules/argparse/CHANGELOG.md
-node_modules/argparse/index.js
-node_modules/argparse/LICENSE
-node_modules/argparse/package.json
-node_modules/argparse/README.md
-node_modules/argparse/lib/action_container.js
-node_modules/argparse/lib/action.js
-node_modules/argparse/lib/argparse.js
-node_modules/argparse/lib/argument_parser.js
-node_modules/argparse/lib/const.js
-node_modules/argparse/lib/namespace.js
-node_modules/argparse/lib/utils.js
-node_modules/argparse/lib/action/append.js
-node_modules/argparse/lib/action/count.js
-node_modules/argparse/lib/action/help.js
-node_modules/argparse/lib/action/store.js
-node_modules/argparse/lib/action/subparsers.js
-node_modules/argparse/lib/action/version.js
-node_modules/argparse/lib/action/append/constant.js
-node_modules/argparse/lib/action/store/constant.js
-node_modules/argparse/lib/action/store/false.js
-node_modules/argparse/lib/action/store/true.js
-node_modules/argparse/lib/argument/error.js
-node_modules/argparse/lib/argument/exclusive.js
-node_modules/argparse/lib/argument/group.js
-node_modules/argparse/lib/help/added_formatters.js
-node_modules/argparse/lib/help/formatter.js
-node_modules/astral-regex/index.js
-node_modules/astral-regex/license
-node_modules/astral-regex/package.json
-node_modules/astral-regex/readme.md
-node_modules/balanced-match/.npmignore
-node_modules/balanced-match/index.js
-node_modules/balanced-match/LICENSE.md
-node_modules/balanced-match/package.json
-node_modules/balanced-match/README.md
-node_modules/brace-expansion/index.js
-node_modules/brace-expansion/LICENSE
-node_modules/brace-expansion/package.json
-node_modules/brace-expansion/README.md
-node_modules/callsites/index.d.ts
-node_modules/callsites/index.js
-node_modules/callsites/license
-node_modules/callsites/package.json
-node_modules/callsites/readme.md
-node_modules/chalk/index.d.ts
-node_modules/chalk/license
-node_modules/chalk/package.json
-node_modules/chalk/readme.md
-node_modules/chalk/node_modules/ansi-styles/index.d.ts
-node_modules/chalk/node_modules/ansi-styles/index.js
-node_modules/chalk/node_modules/ansi-styles/license
-node_modules/chalk/node_modules/ansi-styles/package.json
-node_modules/chalk/node_modules/ansi-styles/readme.md
-node_modules/chalk/node_modules/color-convert/CHANGELOG.md
-node_modules/chalk/node_modules/color-convert/conversions.js
-node_modules/chalk/node_modules/color-convert/index.js
-node_modules/chalk/node_modules/color-convert/LICENSE
-node_modules/chalk/node_modules/color-convert/package.json
-node_modules/chalk/node_modules/color-convert/README.md
-node_modules/chalk/node_modules/color-convert/route.js
-node_modules/chalk/node_modules/color-name/index.js
-node_modules/chalk/node_modules/color-name/LICENSE
-node_modules/chalk/node_modules/color-name/package.json
-node_modules/chalk/node_modules/color-name/README.md
-node_modules/chalk/node_modules/has-flag/index.d.ts
-node_modules/chalk/node_modules/has-flag/index.js
-node_modules/chalk/node_modules/has-flag/license
-node_modules/chalk/node_modules/has-flag/package.json
-node_modules/chalk/node_modules/has-flag/readme.md
-node_modules/chalk/node_modules/supports-color/browser.js
-node_modules/chalk/node_modules/supports-color/index.js
-node_modules/chalk/node_modules/supports-color/license
-node_modules/chalk/node_modules/supports-color/package.json
-node_modules/chalk/node_modules/supports-color/readme.md
-node_modules/chalk/source/index.js
-node_modules/chalk/source/templates.js
-node_modules/chalk/source/util.js
-node_modules/color-convert/CHANGELOG.md
-node_modules/color-convert/conversions.js
-node_modules/color-convert/index.js
-node_modules/color-convert/LICENSE
-node_modules/color-convert/package.json
-node_modules/color-convert/README.md
-node_modules/color-convert/route.js
-node_modules/color-name/.eslintrc.json
-node_modules/color-name/.npmignore
-node_modules/color-name/index.js
-node_modules/color-name/LICENSE
-node_modules/color-name/package.json
-node_modules/color-name/README.md
-node_modules/color-name/test.js
-node_modules/concat-map/.travis.yml
-node_modules/concat-map/index.js
-node_modules/concat-map/LICENSE
-node_modules/concat-map/package.json
-node_modules/concat-map/README.markdown
-node_modules/concat-map/example/map.js
-node_modules/concat-map/test/map.js
-node_modules/cross-spawn/CHANGELOG.md
-node_modules/cross-spawn/index.js
-node_modules/cross-spawn/LICENSE
-node_modules/cross-spawn/package.json
-node_modules/cross-spawn/README.md
-node_modules/cross-spawn/lib/enoent.js
-node_modules/cross-spawn/lib/parse.js
-node_modules/cross-spawn/lib/util/escape.js
-node_modules/cross-spawn/lib/util/readShebang.js
-node_modules/cross-spawn/lib/util/resolveCommand.js
-node_modules/debug/LICENSE
-node_modules/debug/package.json
-node_modules/debug/README.md
-node_modules/debug/src/browser.js
-node_modules/debug/src/common.js
-node_modules/debug/src/index.js
-node_modules/debug/src/node.js
-node_modules/deep-is/.npmignore
-node_modules/deep-is/.travis.yml
-node_modules/deep-is/index.js
-node_modules/deep-is/LICENSE
-node_modules/deep-is/package.json
-node_modules/deep-is/README.markdown
-node_modules/deep-is/example/cmp.js
-node_modules/deep-is/test/cmp.js
-node_modules/deep-is/test/NaN.js
-node_modules/deep-is/test/neg-vs-pos-0.js
-node_modules/doctrine/CHANGELOG.md
-node_modules/doctrine/LICENSE
-node_modules/doctrine/LICENSE.closure-compiler
-node_modules/doctrine/LICENSE.esprima
-node_modules/doctrine/package.json
-node_modules/doctrine/README.md
-node_modules/doctrine/lib/doctrine.js
-node_modules/doctrine/lib/typed.js
-node_modules/doctrine/lib/utility.js
-node_modules/emoji-regex/index.d.ts
-node_modules/emoji-regex/index.js
-node_modules/emoji-regex/LICENSE-MIT.txt
-node_modules/emoji-regex/package.json
-node_modules/emoji-regex/README.md
-node_modules/emoji-regex/text.js
-node_modules/emoji-regex/es2015/index.js
-node_modules/emoji-regex/es2015/text.js
-node_modules/enquirer/CHANGELOG.md
-node_modules/enquirer/index.d.ts
-node_modules/enquirer/index.js
-node_modules/enquirer/LICENSE
-node_modules/enquirer/package.json
-node_modules/enquirer/README.md
-node_modules/enquirer/lib/ansi.js
-node_modules/enquirer/lib/combos.js
-node_modules/enquirer/lib/completer.js
-node_modules/enquirer/lib/interpolate.js
-node_modules/enquirer/lib/keypress.js
-node_modules/enquirer/lib/placeholder.js
-node_modules/enquirer/lib/prompt.js
-node_modules/enquirer/lib/render.js
-node_modules/enquirer/lib/roles.js
-node_modules/enquirer/lib/state.js
-node_modules/enquirer/lib/styles.js
-node_modules/enquirer/lib/symbols.js
-node_modules/enquirer/lib/theme.js
-node_modules/enquirer/lib/timer.js
-node_modules/enquirer/lib/utils.js
-node_modules/enquirer/lib/prompts/autocomplete.js
-node_modules/enquirer/lib/prompts/basicauth.js
-node_modules/enquirer/lib/prompts/confirm.js
-node_modules/enquirer/lib/prompts/editable.js
-node_modules/enquirer/lib/prompts/form.js
-node_modules/enquirer/lib/prompts/index.js
-node_modules/enquirer/lib/prompts/input.js
-node_modules/enquirer/lib/prompts/invisible.js
-node_modules/enquirer/lib/prompts/list.js
-node_modules/enquirer/lib/prompts/multiselect.js
-node_modules/enquirer/lib/prompts/numeral.js
-node_modules/enquirer/lib/prompts/password.js
-node_modules/enquirer/lib/prompts/quiz.js
-node_modules/enquirer/lib/prompts/scale.js
-node_modules/enquirer/lib/prompts/select.js
-node_modules/enquirer/lib/prompts/snippet.js
-node_modules/enquirer/lib/prompts/sort.js
-node_modules/enquirer/lib/prompts/survey.js
-node_modules/enquirer/lib/prompts/text.js
-node_modules/enquirer/lib/prompts/toggle.js
-node_modules/enquirer/lib/types/array.js
-node_modules/enquirer/lib/types/auth.js
-node_modules/enquirer/lib/types/boolean.js
-node_modules/enquirer/lib/types/index.js
-node_modules/enquirer/lib/types/number.js
-node_modules/enquirer/lib/types/string.js
-node_modules/escape-string-regexp/index.js
-node_modules/escape-string-regexp/license
-node_modules/escape-string-regexp/package.json
-node_modules/escape-string-regexp/readme.md
-node_modules/eslint/CHANGELOG.md
-node_modules/eslint/LICENSE
-node_modules/eslint/package.json
-node_modules/eslint/README.md
-node_modules/eslint/bin/eslint.js
-node_modules/eslint/conf/category-list.json
-node_modules/eslint/conf/config-schema.js
-node_modules/eslint/conf/default-cli-options.js
-node_modules/eslint/conf/eslint-all.js
-node_modules/eslint/conf/eslint-recommended.js
-node_modules/eslint/conf/replacements.json
-node_modules/eslint/lib/api.js
-node_modules/eslint/lib/cli.js
-node_modules/eslint/lib/options.js
-node_modules/eslint/lib/cli-engine/cli-engine.js
-node_modules/eslint/lib/cli-engine/file-enumerator.js
-node_modules/eslint/lib/cli-engine/hash.js
-node_modules/eslint/lib/cli-engine/index.js
-node_modules/eslint/lib/cli-engine/lint-result-cache.js
-node_modules/eslint/lib/cli-engine/load-rules.js
-node_modules/eslint/lib/cli-engine/xml-escape.js
-node_modules/eslint/lib/cli-engine/formatters/checkstyle.js
-node_modules/eslint/lib/cli-engine/formatters/codeframe.js
-node_modules/eslint/lib/cli-engine/formatters/compact.js
-node_modules/eslint/lib/cli-engine/formatters/html-template-message.html
-node_modules/eslint/lib/cli-engine/formatters/html-template-page.html
-node_modules/eslint/lib/cli-engine/formatters/html-template-result.html
-node_modules/eslint/lib/cli-engine/formatters/html.js
-node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js
-node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js
-node_modules/eslint/lib/cli-engine/formatters/json.js
-node_modules/eslint/lib/cli-engine/formatters/junit.js
-node_modules/eslint/lib/cli-engine/formatters/stylish.js
-node_modules/eslint/lib/cli-engine/formatters/table.js
-node_modules/eslint/lib/cli-engine/formatters/tap.js
-node_modules/eslint/lib/cli-engine/formatters/unix.js
-node_modules/eslint/lib/cli-engine/formatters/visualstudio.js
-node_modules/eslint/lib/eslint/eslint.js
-node_modules/eslint/lib/eslint/index.js
-node_modules/eslint/lib/init/autoconfig.js
-node_modules/eslint/lib/init/config-file.js
-node_modules/eslint/lib/init/config-initializer.js
-node_modules/eslint/lib/init/config-rule.js
-node_modules/eslint/lib/init/npm-utils.js
-node_modules/eslint/lib/init/source-code-utils.js
-node_modules/eslint/lib/linter/apply-disable-directives.js
-node_modules/eslint/lib/linter/config-comment-parser.js
-node_modules/eslint/lib/linter/index.js
-node_modules/eslint/lib/linter/interpolate.js
-node_modules/eslint/lib/linter/linter.js
-node_modules/eslint/lib/linter/node-event-generator.js
-node_modules/eslint/lib/linter/report-translator.js
-node_modules/eslint/lib/linter/rule-fixer.js
-node_modules/eslint/lib/linter/rules.js
-node_modules/eslint/lib/linter/safe-emitter.js
-node_modules/eslint/lib/linter/source-code-fixer.js
-node_modules/eslint/lib/linter/timing.js
-node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js
-node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js
-node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js
-node_modules/eslint/lib/linter/code-path-analysis/code-path.js
-node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js
-node_modules/eslint/lib/linter/code-path-analysis/fork-context.js
-node_modules/eslint/lib/linter/code-path-analysis/id-generator.js
-node_modules/eslint/lib/rule-tester/index.js
-node_modules/eslint/lib/rule-tester/rule-tester.js
-node_modules/eslint/lib/rules/accessor-pairs.js
-node_modules/eslint/lib/rules/array-bracket-newline.js
-node_modules/eslint/lib/rules/array-bracket-spacing.js
-node_modules/eslint/lib/rules/array-callback-return.js
-node_modules/eslint/lib/rules/array-element-newline.js
-node_modules/eslint/lib/rules/arrow-body-style.js
-node_modules/eslint/lib/rules/arrow-parens.js
-node_modules/eslint/lib/rules/arrow-spacing.js
-node_modules/eslint/lib/rules/block-scoped-var.js
-node_modules/eslint/lib/rules/block-spacing.js
-node_modules/eslint/lib/rules/brace-style.js
-node_modules/eslint/lib/rules/callback-return.js
-node_modules/eslint/lib/rules/camelcase.js
-node_modules/eslint/lib/rules/capitalized-comments.js
-node_modules/eslint/lib/rules/class-methods-use-this.js
-node_modules/eslint/lib/rules/comma-dangle.js
-node_modules/eslint/lib/rules/comma-spacing.js
-node_modules/eslint/lib/rules/comma-style.js
-node_modules/eslint/lib/rules/complexity.js
-node_modules/eslint/lib/rules/computed-property-spacing.js
-node_modules/eslint/lib/rules/consistent-return.js
-node_modules/eslint/lib/rules/consistent-this.js
-node_modules/eslint/lib/rules/constructor-super.js
-node_modules/eslint/lib/rules/curly.js
-node_modules/eslint/lib/rules/default-case-last.js
-node_modules/eslint/lib/rules/default-case.js
-node_modules/eslint/lib/rules/default-param-last.js
-node_modules/eslint/lib/rules/dot-location.js
-node_modules/eslint/lib/rules/dot-notation.js
-node_modules/eslint/lib/rules/eol-last.js
-node_modules/eslint/lib/rules/eqeqeq.js
-node_modules/eslint/lib/rules/for-direction.js
-node_modules/eslint/lib/rules/func-call-spacing.js
-node_modules/eslint/lib/rules/func-name-matching.js
-node_modules/eslint/lib/rules/func-names.js
-node_modules/eslint/lib/rules/func-style.js
-node_modules/eslint/lib/rules/function-call-argument-newline.js
-node_modules/eslint/lib/rules/function-paren-newline.js
-node_modules/eslint/lib/rules/generator-star-spacing.js
-node_modules/eslint/lib/rules/getter-return.js
-node_modules/eslint/lib/rules/global-require.js
-node_modules/eslint/lib/rules/grouped-accessor-pairs.js
-node_modules/eslint/lib/rules/guard-for-in.js
-node_modules/eslint/lib/rules/handle-callback-err.js
-node_modules/eslint/lib/rules/id-blacklist.js
-node_modules/eslint/lib/rules/id-denylist.js
-node_modules/eslint/lib/rules/id-length.js
-node_modules/eslint/lib/rules/id-match.js
-node_modules/eslint/lib/rules/implicit-arrow-linebreak.js
-node_modules/eslint/lib/rules/indent-legacy.js
-node_modules/eslint/lib/rules/indent.js
-node_modules/eslint/lib/rules/index.js
-node_modules/eslint/lib/rules/init-declarations.js
-node_modules/eslint/lib/rules/jsx-quotes.js
-node_modules/eslint/lib/rules/key-spacing.js
-node_modules/eslint/lib/rules/keyword-spacing.js
-node_modules/eslint/lib/rules/line-comment-position.js
-node_modules/eslint/lib/rules/linebreak-style.js
-node_modules/eslint/lib/rules/lines-around-comment.js
-node_modules/eslint/lib/rules/lines-around-directive.js
-node_modules/eslint/lib/rules/lines-between-class-members.js
-node_modules/eslint/lib/rules/max-classes-per-file.js
-node_modules/eslint/lib/rules/max-depth.js
-node_modules/eslint/lib/rules/max-len.js
-node_modules/eslint/lib/rules/max-lines-per-function.js
-node_modules/eslint/lib/rules/max-lines.js
-node_modules/eslint/lib/rules/max-nested-callbacks.js
-node_modules/eslint/lib/rules/max-params.js
-node_modules/eslint/lib/rules/max-statements-per-line.js
-node_modules/eslint/lib/rules/max-statements.js
-node_modules/eslint/lib/rules/multiline-comment-style.js
-node_modules/eslint/lib/rules/multiline-ternary.js
-node_modules/eslint/lib/rules/new-cap.js
-node_modules/eslint/lib/rules/new-parens.js
-node_modules/eslint/lib/rules/newline-after-var.js
-node_modules/eslint/lib/rules/newline-before-return.js
-node_modules/eslint/lib/rules/newline-per-chained-call.js
-node_modules/eslint/lib/rules/no-alert.js
-node_modules/eslint/lib/rules/no-array-constructor.js
-node_modules/eslint/lib/rules/no-async-promise-executor.js
-node_modules/eslint/lib/rules/no-await-in-loop.js
-node_modules/eslint/lib/rules/no-bitwise.js
-node_modules/eslint/lib/rules/no-buffer-constructor.js
-node_modules/eslint/lib/rules/no-caller.js
-node_modules/eslint/lib/rules/no-case-declarations.js
-node_modules/eslint/lib/rules/no-catch-shadow.js
-node_modules/eslint/lib/rules/no-class-assign.js
-node_modules/eslint/lib/rules/no-compare-neg-zero.js
-node_modules/eslint/lib/rules/no-cond-assign.js
-node_modules/eslint/lib/rules/no-confusing-arrow.js
-node_modules/eslint/lib/rules/no-console.js
-node_modules/eslint/lib/rules/no-const-assign.js
-node_modules/eslint/lib/rules/no-constant-condition.js
-node_modules/eslint/lib/rules/no-constructor-return.js
-node_modules/eslint/lib/rules/no-continue.js
-node_modules/eslint/lib/rules/no-control-regex.js
-node_modules/eslint/lib/rules/no-debugger.js
-node_modules/eslint/lib/rules/no-delete-var.js
-node_modules/eslint/lib/rules/no-div-regex.js
-node_modules/eslint/lib/rules/no-dupe-args.js
-node_modules/eslint/lib/rules/no-dupe-class-members.js
-node_modules/eslint/lib/rules/no-dupe-else-if.js
-node_modules/eslint/lib/rules/no-dupe-keys.js
-node_modules/eslint/lib/rules/no-duplicate-case.js
-node_modules/eslint/lib/rules/no-duplicate-imports.js
-node_modules/eslint/lib/rules/no-else-return.js
-node_modules/eslint/lib/rules/no-empty-character-class.js
-node_modules/eslint/lib/rules/no-empty-function.js
-node_modules/eslint/lib/rules/no-empty-pattern.js
-node_modules/eslint/lib/rules/no-empty.js
-node_modules/eslint/lib/rules/no-eq-null.js
-node_modules/eslint/lib/rules/no-eval.js
-node_modules/eslint/lib/rules/no-ex-assign.js
-node_modules/eslint/lib/rules/no-extend-native.js
-node_modules/eslint/lib/rules/no-extra-bind.js
-node_modules/eslint/lib/rules/no-extra-boolean-cast.js
-node_modules/eslint/lib/rules/no-extra-label.js
-node_modules/eslint/lib/rules/no-extra-parens.js
-node_modules/eslint/lib/rules/no-extra-semi.js
-node_modules/eslint/lib/rules/no-fallthrough.js
-node_modules/eslint/lib/rules/no-floating-decimal.js
-node_modules/eslint/lib/rules/no-func-assign.js
-node_modules/eslint/lib/rules/no-global-assign.js
-node_modules/eslint/lib/rules/no-implicit-coercion.js
-node_modules/eslint/lib/rules/no-implicit-globals.js
-node_modules/eslint/lib/rules/no-implied-eval.js
-node_modules/eslint/lib/rules/no-import-assign.js
-node_modules/eslint/lib/rules/no-inline-comments.js
-node_modules/eslint/lib/rules/no-inner-declarations.js
-node_modules/eslint/lib/rules/no-invalid-regexp.js
-node_modules/eslint/lib/rules/no-invalid-this.js
-node_modules/eslint/lib/rules/no-irregular-whitespace.js
-node_modules/eslint/lib/rules/no-iterator.js
-node_modules/eslint/lib/rules/no-label-var.js
-node_modules/eslint/lib/rules/no-labels.js
-node_modules/eslint/lib/rules/no-lone-blocks.js
-node_modules/eslint/lib/rules/no-lonely-if.js
-node_modules/eslint/lib/rules/no-loop-func.js
-node_modules/eslint/lib/rules/no-loss-of-precision.js
-node_modules/eslint/lib/rules/no-magic-numbers.js
-node_modules/eslint/lib/rules/no-misleading-character-class.js
-node_modules/eslint/lib/rules/no-mixed-operators.js
-node_modules/eslint/lib/rules/no-mixed-requires.js
-node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js
-node_modules/eslint/lib/rules/no-multi-assign.js
-node_modules/eslint/lib/rules/no-multi-spaces.js
-node_modules/eslint/lib/rules/no-multi-str.js
-node_modules/eslint/lib/rules/no-multiple-empty-lines.js
-node_modules/eslint/lib/rules/no-native-reassign.js
-node_modules/eslint/lib/rules/no-negated-condition.js
-node_modules/eslint/lib/rules/no-negated-in-lhs.js
-node_modules/eslint/lib/rules/no-nested-ternary.js
-node_modules/eslint/lib/rules/no-new-func.js
-node_modules/eslint/lib/rules/no-new-object.js
-node_modules/eslint/lib/rules/no-new-require.js
-node_modules/eslint/lib/rules/no-new-symbol.js
-node_modules/eslint/lib/rules/no-new-wrappers.js
-node_modules/eslint/lib/rules/no-new.js
-node_modules/eslint/lib/rules/no-obj-calls.js
-node_modules/eslint/lib/rules/no-octal-escape.js
-node_modules/eslint/lib/rules/no-octal.js
-node_modules/eslint/lib/rules/no-param-reassign.js
-node_modules/eslint/lib/rules/no-path-concat.js
-node_modules/eslint/lib/rules/no-plusplus.js
-node_modules/eslint/lib/rules/no-process-env.js
-node_modules/eslint/lib/rules/no-process-exit.js
-node_modules/eslint/lib/rules/no-promise-executor-return.js
-node_modules/eslint/lib/rules/no-proto.js
-node_modules/eslint/lib/rules/no-prototype-builtins.js
-node_modules/eslint/lib/rules/no-redeclare.js
-node_modules/eslint/lib/rules/no-regex-spaces.js
-node_modules/eslint/lib/rules/no-restricted-exports.js
-node_modules/eslint/lib/rules/no-restricted-globals.js
-node_modules/eslint/lib/rules/no-restricted-imports.js
-node_modules/eslint/lib/rules/no-restricted-modules.js
-node_modules/eslint/lib/rules/no-restricted-properties.js
-node_modules/eslint/lib/rules/no-restricted-syntax.js
-node_modules/eslint/lib/rules/no-return-assign.js
-node_modules/eslint/lib/rules/no-return-await.js
-node_modules/eslint/lib/rules/no-script-url.js
-node_modules/eslint/lib/rules/no-self-assign.js
-node_modules/eslint/lib/rules/no-self-compare.js
-node_modules/eslint/lib/rules/no-sequences.js
-node_modules/eslint/lib/rules/no-setter-return.js
-node_modules/eslint/lib/rules/no-shadow-restricted-names.js
-node_modules/eslint/lib/rules/no-shadow.js
-node_modules/eslint/lib/rules/no-spaced-func.js
-node_modules/eslint/lib/rules/no-sparse-arrays.js
-node_modules/eslint/lib/rules/no-sync.js
-node_modules/eslint/lib/rules/no-tabs.js
-node_modules/eslint/lib/rules/no-template-curly-in-string.js
-node_modules/eslint/lib/rules/no-ternary.js
-node_modules/eslint/lib/rules/no-this-before-super.js
-node_modules/eslint/lib/rules/no-throw-literal.js
-node_modules/eslint/lib/rules/no-trailing-spaces.js
-node_modules/eslint/lib/rules/no-undef-init.js
-node_modules/eslint/lib/rules/no-undef.js
-node_modules/eslint/lib/rules/no-undefined.js
-node_modules/eslint/lib/rules/no-underscore-dangle.js
-node_modules/eslint/lib/rules/no-unexpected-multiline.js
-node_modules/eslint/lib/rules/no-unmodified-loop-condition.js
-node_modules/eslint/lib/rules/no-unneeded-ternary.js
-node_modules/eslint/lib/rules/no-unreachable-loop.js
-node_modules/eslint/lib/rules/no-unreachable.js
-node_modules/eslint/lib/rules/no-unsafe-finally.js
-node_modules/eslint/lib/rules/no-unsafe-negation.js
-node_modules/eslint/lib/rules/no-unused-expressions.js
-node_modules/eslint/lib/rules/no-unused-labels.js
-node_modules/eslint/lib/rules/no-unused-vars.js
-node_modules/eslint/lib/rules/no-use-before-define.js
-node_modules/eslint/lib/rules/no-useless-backreference.js
-node_modules/eslint/lib/rules/no-useless-call.js
-node_modules/eslint/lib/rules/no-useless-catch.js
-node_modules/eslint/lib/rules/no-useless-computed-key.js
-node_modules/eslint/lib/rules/no-useless-concat.js
-node_modules/eslint/lib/rules/no-useless-constructor.js
-node_modules/eslint/lib/rules/no-useless-escape.js
-node_modules/eslint/lib/rules/no-useless-rename.js
-node_modules/eslint/lib/rules/no-useless-return.js
-node_modules/eslint/lib/rules/no-var.js
-node_modules/eslint/lib/rules/no-void.js
-node_modules/eslint/lib/rules/no-warning-comments.js
-node_modules/eslint/lib/rules/no-whitespace-before-property.js
-node_modules/eslint/lib/rules/no-with.js
-node_modules/eslint/lib/rules/nonblock-statement-body-position.js
-node_modules/eslint/lib/rules/object-curly-newline.js
-node_modules/eslint/lib/rules/object-curly-spacing.js
-node_modules/eslint/lib/rules/object-property-newline.js
-node_modules/eslint/lib/rules/object-shorthand.js
-node_modules/eslint/lib/rules/one-var-declaration-per-line.js
-node_modules/eslint/lib/rules/one-var.js
-node_modules/eslint/lib/rules/operator-assignment.js
-node_modules/eslint/lib/rules/operator-linebreak.js
-node_modules/eslint/lib/rules/padded-blocks.js
-node_modules/eslint/lib/rules/padding-line-between-statements.js
-node_modules/eslint/lib/rules/prefer-arrow-callback.js
-node_modules/eslint/lib/rules/prefer-const.js
-node_modules/eslint/lib/rules/prefer-destructuring.js
-node_modules/eslint/lib/rules/prefer-exponentiation-operator.js
-node_modules/eslint/lib/rules/prefer-named-capture-group.js
-node_modules/eslint/lib/rules/prefer-numeric-literals.js
-node_modules/eslint/lib/rules/prefer-object-spread.js
-node_modules/eslint/lib/rules/prefer-promise-reject-errors.js
-node_modules/eslint/lib/rules/prefer-reflect.js
-node_modules/eslint/lib/rules/prefer-regex-literals.js
-node_modules/eslint/lib/rules/prefer-rest-params.js
-node_modules/eslint/lib/rules/prefer-spread.js
-node_modules/eslint/lib/rules/prefer-template.js
-node_modules/eslint/lib/rules/quote-props.js
-node_modules/eslint/lib/rules/quotes.js
-node_modules/eslint/lib/rules/radix.js
-node_modules/eslint/lib/rules/require-atomic-updates.js
-node_modules/eslint/lib/rules/require-await.js
-node_modules/eslint/lib/rules/require-jsdoc.js
-node_modules/eslint/lib/rules/require-unicode-regexp.js
-node_modules/eslint/lib/rules/require-yield.js
-node_modules/eslint/lib/rules/rest-spread-spacing.js
-node_modules/eslint/lib/rules/semi-spacing.js
-node_modules/eslint/lib/rules/semi-style.js
-node_modules/eslint/lib/rules/semi.js
-node_modules/eslint/lib/rules/sort-imports.js
-node_modules/eslint/lib/rules/sort-keys.js
-node_modules/eslint/lib/rules/sort-vars.js
-node_modules/eslint/lib/rules/space-before-blocks.js
-node_modules/eslint/lib/rules/space-before-function-paren.js
-node_modules/eslint/lib/rules/space-in-parens.js
-node_modules/eslint/lib/rules/space-infix-ops.js
-node_modules/eslint/lib/rules/space-unary-ops.js
-node_modules/eslint/lib/rules/spaced-comment.js
-node_modules/eslint/lib/rules/strict.js
-node_modules/eslint/lib/rules/switch-colon-spacing.js
-node_modules/eslint/lib/rules/symbol-description.js
-node_modules/eslint/lib/rules/template-curly-spacing.js
-node_modules/eslint/lib/rules/template-tag-spacing.js
-node_modules/eslint/lib/rules/unicode-bom.js
-node_modules/eslint/lib/rules/use-isnan.js
-node_modules/eslint/lib/rules/valid-jsdoc.js
-node_modules/eslint/lib/rules/valid-typeof.js
-node_modules/eslint/lib/rules/vars-on-top.js
-node_modules/eslint/lib/rules/wrap-iife.js
-node_modules/eslint/lib/rules/wrap-regex.js
-node_modules/eslint/lib/rules/yield-star-spacing.js
-node_modules/eslint/lib/rules/yoda.js
-node_modules/eslint/lib/rules/utils/ast-utils.js
-node_modules/eslint/lib/rules/utils/fix-tracker.js
-node_modules/eslint/lib/rules/utils/keywords.js
-node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js
-node_modules/eslint/lib/rules/utils/patterns/letters.js
-node_modules/eslint/lib/rules/utils/unicode/index.js
-node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js
-node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js
-node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js
-node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js
-node_modules/eslint/lib/shared/ajv.js
-node_modules/eslint/lib/shared/ast-utils.js
-node_modules/eslint/lib/shared/config-validator.js
-node_modules/eslint/lib/shared/deprecation-warnings.js
-node_modules/eslint/lib/shared/logging.js
-node_modules/eslint/lib/shared/relative-module-resolver.js
-node_modules/eslint/lib/shared/runtime-info.js
-node_modules/eslint/lib/shared/traverser.js
-node_modules/eslint/lib/shared/types.js
-node_modules/eslint/lib/source-code/index.js
-node_modules/eslint/lib/source-code/source-code.js
-node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js
-node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js
-node_modules/eslint/lib/source-code/token-store/cursor.js
-node_modules/eslint/lib/source-code/token-store/cursors.js
-node_modules/eslint/lib/source-code/token-store/decorative-cursor.js
-node_modules/eslint/lib/source-code/token-store/filter-cursor.js
-node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js
-node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js
-node_modules/eslint/lib/source-code/token-store/index.js
-node_modules/eslint/lib/source-code/token-store/limit-cursor.js
-node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js
-node_modules/eslint/lib/source-code/token-store/skip-cursor.js
-node_modules/eslint/lib/source-code/token-store/utils.js
-node_modules/eslint/messages/all-files-ignored.txt
-node_modules/eslint/messages/extend-config-missing.txt
-node_modules/eslint/messages/failed-to-read-json.txt
-node_modules/eslint/messages/file-not-found.txt
-node_modules/eslint/messages/no-config-found.txt
-node_modules/eslint/messages/plugin-conflict.txt
-node_modules/eslint/messages/plugin-invalid.txt
-node_modules/eslint/messages/plugin-missing.txt
-node_modules/eslint/messages/print-config-with-directory-path.txt
-node_modules/eslint/messages/whitespace-found.txt
-node_modules/eslint-config-google/index.js
-node_modules/eslint-config-google/LICENSE
-node_modules/eslint-config-google/package.json
-node_modules/eslint-config-google/README.md
-node_modules/eslint-scope/CHANGELOG.md
-node_modules/eslint-scope/LICENSE
-node_modules/eslint-scope/package.json
-node_modules/eslint-scope/README.md
-node_modules/eslint-scope/lib/definition.js
-node_modules/eslint-scope/lib/index.js
-node_modules/eslint-scope/lib/pattern-visitor.js
-node_modules/eslint-scope/lib/reference.js
-node_modules/eslint-scope/lib/referencer.js
-node_modules/eslint-scope/lib/scope-manager.js
-node_modules/eslint-scope/lib/scope.js
-node_modules/eslint-scope/lib/variable.js
-node_modules/eslint-utils/index.js
-node_modules/eslint-utils/index.js.map
-node_modules/eslint-utils/index.mjs
-node_modules/eslint-utils/index.mjs.map
-node_modules/eslint-utils/LICENSE
-node_modules/eslint-utils/package.json
-node_modules/eslint-utils/README.md
-node_modules/eslint-utils/node_modules/eslint-visitor-keys/CHANGELOG.md
-node_modules/eslint-utils/node_modules/eslint-visitor-keys/LICENSE
-node_modules/eslint-utils/node_modules/eslint-visitor-keys/package.json
-node_modules/eslint-utils/node_modules/eslint-visitor-keys/README.md
-node_modules/eslint-utils/node_modules/eslint-visitor-keys/lib/index.js
-node_modules/eslint-utils/node_modules/eslint-visitor-keys/lib/visitor-keys.json
-node_modules/eslint-visitor-keys/CHANGELOG.md
-node_modules/eslint-visitor-keys/LICENSE
-node_modules/eslint-visitor-keys/package.json
-node_modules/eslint-visitor-keys/README.md
-node_modules/eslint-visitor-keys/lib/index.js
-node_modules/eslint-visitor-keys/lib/visitor-keys.json
-node_modules/espree/CHANGELOG.md
-node_modules/espree/espree.js
-node_modules/espree/LICENSE
-node_modules/espree/package.json
-node_modules/espree/README.md
-node_modules/espree/lib/ast-node-types.js
-node_modules/espree/lib/espree.js
-node_modules/espree/lib/features.js
-node_modules/espree/lib/options.js
-node_modules/espree/lib/token-translator.js
-node_modules/espree/lib/visitor-keys.js
-node_modules/espree/node_modules/eslint-visitor-keys/CHANGELOG.md
-node_modules/espree/node_modules/eslint-visitor-keys/LICENSE
-node_modules/espree/node_modules/eslint-visitor-keys/package.json
-node_modules/espree/node_modules/eslint-visitor-keys/README.md
-node_modules/espree/node_modules/eslint-visitor-keys/lib/index.js
-node_modules/espree/node_modules/eslint-visitor-keys/lib/visitor-keys.json
-node_modules/esprima/ChangeLog
-node_modules/esprima/LICENSE.BSD
-node_modules/esprima/package.json
-node_modules/esprima/README.md
-node_modules/esprima/bin/esparse.js
-node_modules/esprima/bin/esvalidate.js
-node_modules/esprima/dist/esprima.js
-node_modules/esquery/license.txt
-node_modules/esquery/package.json
-node_modules/esquery/parser.js
-node_modules/esquery/README.md
-node_modules/esquery/dist/esquery.esm.js
-node_modules/esquery/dist/esquery.esm.min.js
-node_modules/esquery/dist/esquery.esm.min.js.map
-node_modules/esquery/dist/esquery.js
-node_modules/esquery/dist/esquery.min.js
-node_modules/esquery/dist/esquery.min.js.map
-node_modules/esquery/node_modules/estraverse/.jshintrc
-node_modules/esquery/node_modules/estraverse/estraverse.js
-node_modules/esquery/node_modules/estraverse/gulpfile.js
-node_modules/esquery/node_modules/estraverse/LICENSE.BSD
-node_modules/esquery/node_modules/estraverse/package.json
-node_modules/esquery/node_modules/estraverse/README.md
-node_modules/esrecurse/.babelrc
-node_modules/esrecurse/esrecurse.js
-node_modules/esrecurse/gulpfile.babel.js
-node_modules/esrecurse/package.json
-node_modules/esrecurse/README.md
-node_modules/esrecurse/node_modules/estraverse/.jshintrc
-node_modules/esrecurse/node_modules/estraverse/estraverse.js
-node_modules/esrecurse/node_modules/estraverse/gulpfile.js
-node_modules/esrecurse/node_modules/estraverse/LICENSE.BSD
-node_modules/esrecurse/node_modules/estraverse/package.json
-node_modules/esrecurse/node_modules/estraverse/README.md
-node_modules/estraverse/.jshintrc
-node_modules/estraverse/estraverse.js
-node_modules/estraverse/gulpfile.js
-node_modules/estraverse/LICENSE.BSD
-node_modules/estraverse/package.json
-node_modules/estraverse/README.md
-node_modules/esutils/LICENSE.BSD
-node_modules/esutils/package.json
-node_modules/esutils/README.md
-node_modules/esutils/lib/ast.js
-node_modules/esutils/lib/code.js
-node_modules/esutils/lib/keyword.js
-node_modules/esutils/lib/utils.js
-node_modules/fast-deep-equal/index.d.ts
-node_modules/fast-deep-equal/index.js
-node_modules/fast-deep-equal/LICENSE
-node_modules/fast-deep-equal/package.json
-node_modules/fast-deep-equal/react.d.ts
-node_modules/fast-deep-equal/react.js
-node_modules/fast-deep-equal/README.md
-node_modules/fast-deep-equal/es6/index.d.ts
-node_modules/fast-deep-equal/es6/index.js
-node_modules/fast-deep-equal/es6/react.d.ts
-node_modules/fast-deep-equal/es6/react.js
-node_modules/fast-json-stable-stringify/.eslintrc.yml
-node_modules/fast-json-stable-stringify/.travis.yml
-node_modules/fast-json-stable-stringify/index.d.ts
-node_modules/fast-json-stable-stringify/index.js
-node_modules/fast-json-stable-stringify/LICENSE
-node_modules/fast-json-stable-stringify/package.json
-node_modules/fast-json-stable-stringify/README.md
-node_modules/fast-json-stable-stringify/.github/FUNDING.yml
-node_modules/fast-json-stable-stringify/benchmark/index.js
-node_modules/fast-json-stable-stringify/benchmark/test.json
-node_modules/fast-json-stable-stringify/example/key_cmp.js
-node_modules/fast-json-stable-stringify/example/nested.js
-node_modules/fast-json-stable-stringify/example/str.js
-node_modules/fast-json-stable-stringify/example/value_cmp.js
-node_modules/fast-json-stable-stringify/test/cmp.js
-node_modules/fast-json-stable-stringify/test/nested.js
-node_modules/fast-json-stable-stringify/test/str.js
-node_modules/fast-json-stable-stringify/test/to-json.js
-node_modules/fast-levenshtein/levenshtein.js
-node_modules/fast-levenshtein/LICENSE.md
-node_modules/fast-levenshtein/package.json
-node_modules/fast-levenshtein/README.md
-node_modules/file-entry-cache/cache.js
-node_modules/file-entry-cache/changelog.md
-node_modules/file-entry-cache/LICENSE
-node_modules/file-entry-cache/package.json
-node_modules/file-entry-cache/README.md
-node_modules/flat-cache/cache.js
-node_modules/flat-cache/changelog.md
-node_modules/flat-cache/del.js
-node_modules/flat-cache/LICENSE
-node_modules/flat-cache/package.json
-node_modules/flat-cache/README.md
-node_modules/flat-cache/utils.js
-node_modules/flatted/index.js
-node_modules/flatted/LICENSE
-node_modules/flatted/min.js
-node_modules/flatted/package.json
-node_modules/flatted/README.md
-node_modules/flatted/SPECS.md
-node_modules/flatted/types.d.ts
-node_modules/flatted/.github/FUNDING.yml
-node_modules/flatted/cjs/index.js
-node_modules/flatted/esm/index.js
-node_modules/fs.realpath/index.js
-node_modules/fs.realpath/LICENSE
-node_modules/fs.realpath/old.js
-node_modules/fs.realpath/package.json
-node_modules/fs.realpath/README.md
-node_modules/functional-red-black-tree/.npmignore
-node_modules/functional-red-black-tree/LICENSE
-node_modules/functional-red-black-tree/package.json
-node_modules/functional-red-black-tree/rbtree.js
-node_modules/functional-red-black-tree/README.md
-node_modules/functional-red-black-tree/bench/test.js
-node_modules/functional-red-black-tree/test/test.js
-node_modules/glob/changelog.md
-node_modules/glob/common.js
-node_modules/glob/glob.js
-node_modules/glob/LICENSE
-node_modules/glob/package.json
-node_modules/glob/README.md
-node_modules/glob/sync.js
-node_modules/glob-parent/index.js
-node_modules/glob-parent/LICENSE
-node_modules/glob-parent/package.json
-node_modules/glob-parent/README.md
-node_modules/globals/globals.json
-node_modules/globals/index.d.ts
-node_modules/globals/index.js
-node_modules/globals/license
-node_modules/globals/package.json
-node_modules/globals/readme.md
-node_modules/has-flag/index.js
-node_modules/has-flag/license
-node_modules/has-flag/package.json
-node_modules/has-flag/readme.md
-node_modules/ignore/CHANGELOG.md
-node_modules/ignore/index.d.ts
-node_modules/ignore/index.js
-node_modules/ignore/legacy.js
-node_modules/ignore/LICENSE-MIT
-node_modules/ignore/package.json
-node_modules/ignore/README.md
-node_modules/import-fresh/index.d.ts
-node_modules/import-fresh/index.js
-node_modules/import-fresh/license
-node_modules/import-fresh/package.json
-node_modules/import-fresh/readme.md
-node_modules/imurmurhash/imurmurhash.js
-node_modules/imurmurhash/imurmurhash.min.js
-node_modules/imurmurhash/package.json
-node_modules/imurmurhash/README.md
-node_modules/inflight/inflight.js
-node_modules/inflight/LICENSE
-node_modules/inflight/package.json
-node_modules/inflight/README.md
-node_modules/inherits/inherits_browser.js
-node_modules/inherits/inherits.js
-node_modules/inherits/LICENSE
-node_modules/inherits/package.json
-node_modules/inherits/README.md
-node_modules/is-extglob/index.js
-node_modules/is-extglob/LICENSE
-node_modules/is-extglob/package.json
-node_modules/is-extglob/README.md
-node_modules/is-fullwidth-code-point/index.js
-node_modules/is-fullwidth-code-point/license
-node_modules/is-fullwidth-code-point/package.json
-node_modules/is-fullwidth-code-point/readme.md
-node_modules/is-glob/index.js
-node_modules/is-glob/LICENSE
-node_modules/is-glob/package.json
-node_modules/is-glob/README.md
-node_modules/isexe/.npmignore
-node_modules/isexe/index.js
-node_modules/isexe/LICENSE
-node_modules/isexe/mode.js
-node_modules/isexe/package.json
-node_modules/isexe/README.md
-node_modules/isexe/windows.js
-node_modules/isexe/test/basic.js
-node_modules/js-tokens/CHANGELOG.md
-node_modules/js-tokens/index.js
-node_modules/js-tokens/LICENSE
-node_modules/js-tokens/package.json
-node_modules/js-tokens/README.md
-node_modules/js-yaml/CHANGELOG.md
-node_modules/js-yaml/index.js
-node_modules/js-yaml/LICENSE
-node_modules/js-yaml/package.json
-node_modules/js-yaml/README.md
-node_modules/js-yaml/bin/js-yaml.js
-node_modules/js-yaml/dist/js-yaml.js
-node_modules/js-yaml/dist/js-yaml.min.js
-node_modules/js-yaml/lib/js-yaml.js
-node_modules/js-yaml/lib/js-yaml/common.js
-node_modules/js-yaml/lib/js-yaml/dumper.js
-node_modules/js-yaml/lib/js-yaml/exception.js
-node_modules/js-yaml/lib/js-yaml/loader.js
-node_modules/js-yaml/lib/js-yaml/mark.js
-node_modules/js-yaml/lib/js-yaml/schema.js
-node_modules/js-yaml/lib/js-yaml/type.js
-node_modules/js-yaml/lib/js-yaml/schema/core.js
-node_modules/js-yaml/lib/js-yaml/schema/default_full.js
-node_modules/js-yaml/lib/js-yaml/schema/default_safe.js
-node_modules/js-yaml/lib/js-yaml/schema/failsafe.js
-node_modules/js-yaml/lib/js-yaml/schema/json.js
-node_modules/js-yaml/lib/js-yaml/type/binary.js
-node_modules/js-yaml/lib/js-yaml/type/bool.js
-node_modules/js-yaml/lib/js-yaml/type/float.js
-node_modules/js-yaml/lib/js-yaml/type/int.js
-node_modules/js-yaml/lib/js-yaml/type/map.js
-node_modules/js-yaml/lib/js-yaml/type/merge.js
-node_modules/js-yaml/lib/js-yaml/type/null.js
-node_modules/js-yaml/lib/js-yaml/type/omap.js
-node_modules/js-yaml/lib/js-yaml/type/pairs.js
-node_modules/js-yaml/lib/js-yaml/type/seq.js
-node_modules/js-yaml/lib/js-yaml/type/set.js
-node_modules/js-yaml/lib/js-yaml/type/str.js
-node_modules/js-yaml/lib/js-yaml/type/timestamp.js
-node_modules/js-yaml/lib/js-yaml/type/js/function.js
-node_modules/js-yaml/lib/js-yaml/type/js/regexp.js
-node_modules/js-yaml/lib/js-yaml/type/js/undefined.js
-node_modules/json-schema-traverse/.eslintrc.yml
-node_modules/json-schema-traverse/.travis.yml
-node_modules/json-schema-traverse/index.js
-node_modules/json-schema-traverse/LICENSE
-node_modules/json-schema-traverse/package.json
-node_modules/json-schema-traverse/README.md
-node_modules/json-schema-traverse/spec/.eslintrc.yml
-node_modules/json-schema-traverse/spec/index.spec.js
-node_modules/json-schema-traverse/spec/fixtures/schema.js
-node_modules/json-stable-stringify-without-jsonify/.npmignore
-node_modules/json-stable-stringify-without-jsonify/.travis.yml
-node_modules/json-stable-stringify-without-jsonify/index.js
-node_modules/json-stable-stringify-without-jsonify/LICENSE
-node_modules/json-stable-stringify-without-jsonify/package.json
-node_modules/json-stable-stringify-without-jsonify/readme.markdown
-node_modules/json-stable-stringify-without-jsonify/example/key_cmp.js
-node_modules/json-stable-stringify-without-jsonify/example/nested.js
-node_modules/json-stable-stringify-without-jsonify/example/str.js
-node_modules/json-stable-stringify-without-jsonify/example/value_cmp.js
-node_modules/json-stable-stringify-without-jsonify/test/cmp.js
-node_modules/json-stable-stringify-without-jsonify/test/nested.js
-node_modules/json-stable-stringify-without-jsonify/test/replacer.js
-node_modules/json-stable-stringify-without-jsonify/test/space.js
-node_modules/json-stable-stringify-without-jsonify/test/str.js
-node_modules/json-stable-stringify-without-jsonify/test/to-json.js
-node_modules/levn/LICENSE
-node_modules/levn/package.json
-node_modules/levn/README.md
-node_modules/levn/lib/cast.js
-node_modules/levn/lib/index.js
-node_modules/levn/lib/parse-string.js
-node_modules/lodash/_apply.js
-node_modules/lodash/_arrayAggregator.js
-node_modules/lodash/_arrayEach.js
-node_modules/lodash/_arrayEachRight.js
-node_modules/lodash/_arrayEvery.js
-node_modules/lodash/_arrayFilter.js
-node_modules/lodash/_arrayIncludes.js
-node_modules/lodash/_arrayIncludesWith.js
-node_modules/lodash/_arrayLikeKeys.js
-node_modules/lodash/_arrayMap.js
-node_modules/lodash/_arrayPush.js
-node_modules/lodash/_arrayReduce.js
-node_modules/lodash/_arrayReduceRight.js
-node_modules/lodash/_arraySample.js
-node_modules/lodash/_arraySampleSize.js
-node_modules/lodash/_arrayShuffle.js
-node_modules/lodash/_arraySome.js
-node_modules/lodash/_asciiSize.js
-node_modules/lodash/_asciiToArray.js
-node_modules/lodash/_asciiWords.js
-node_modules/lodash/_assignMergeValue.js
-node_modules/lodash/_assignValue.js
-node_modules/lodash/_assocIndexOf.js
-node_modules/lodash/_baseAggregator.js
-node_modules/lodash/_baseAssign.js
-node_modules/lodash/_baseAssignIn.js
-node_modules/lodash/_baseAssignValue.js
-node_modules/lodash/_baseAt.js
-node_modules/lodash/_baseClamp.js
-node_modules/lodash/_baseClone.js
-node_modules/lodash/_baseConforms.js
-node_modules/lodash/_baseConformsTo.js
-node_modules/lodash/_baseCreate.js
-node_modules/lodash/_baseDelay.js
-node_modules/lodash/_baseDifference.js
-node_modules/lodash/_baseEach.js
-node_modules/lodash/_baseEachRight.js
-node_modules/lodash/_baseEvery.js
-node_modules/lodash/_baseExtremum.js
-node_modules/lodash/_baseFill.js
-node_modules/lodash/_baseFilter.js
-node_modules/lodash/_baseFindIndex.js
-node_modules/lodash/_baseFindKey.js
-node_modules/lodash/_baseFlatten.js
-node_modules/lodash/_baseFor.js
-node_modules/lodash/_baseForOwn.js
-node_modules/lodash/_baseForOwnRight.js
-node_modules/lodash/_baseForRight.js
-node_modules/lodash/_baseFunctions.js
-node_modules/lodash/_baseGet.js
-node_modules/lodash/_baseGetAllKeys.js
-node_modules/lodash/_baseGetTag.js
-node_modules/lodash/_baseGt.js
-node_modules/lodash/_baseHas.js
-node_modules/lodash/_baseHasIn.js
-node_modules/lodash/_baseIndexOf.js
-node_modules/lodash/_baseIndexOfWith.js
-node_modules/lodash/_baseInRange.js
-node_modules/lodash/_baseIntersection.js
-node_modules/lodash/_baseInverter.js
-node_modules/lodash/_baseInvoke.js
-node_modules/lodash/_baseIsArguments.js
-node_modules/lodash/_baseIsArrayBuffer.js
-node_modules/lodash/_baseIsDate.js
-node_modules/lodash/_baseIsEqual.js
-node_modules/lodash/_baseIsEqualDeep.js
-node_modules/lodash/_baseIsMap.js
-node_modules/lodash/_baseIsMatch.js
-node_modules/lodash/_baseIsNaN.js
-node_modules/lodash/_baseIsNative.js
-node_modules/lodash/_baseIsRegExp.js
-node_modules/lodash/_baseIsSet.js
-node_modules/lodash/_baseIsTypedArray.js
-node_modules/lodash/_baseIteratee.js
-node_modules/lodash/_baseKeys.js
-node_modules/lodash/_baseKeysIn.js
-node_modules/lodash/_baseLodash.js
-node_modules/lodash/_baseLt.js
-node_modules/lodash/_baseMap.js
-node_modules/lodash/_baseMatches.js
-node_modules/lodash/_baseMatchesProperty.js
-node_modules/lodash/_baseMean.js
-node_modules/lodash/_baseMerge.js
-node_modules/lodash/_baseMergeDeep.js
-node_modules/lodash/_baseNth.js
-node_modules/lodash/_baseOrderBy.js
-node_modules/lodash/_basePick.js
-node_modules/lodash/_basePickBy.js
-node_modules/lodash/_baseProperty.js
-node_modules/lodash/_basePropertyDeep.js
-node_modules/lodash/_basePropertyOf.js
-node_modules/lodash/_basePullAll.js
-node_modules/lodash/_basePullAt.js
-node_modules/lodash/_baseRandom.js
-node_modules/lodash/_baseRange.js
-node_modules/lodash/_baseReduce.js
-node_modules/lodash/_baseRepeat.js
-node_modules/lodash/_baseRest.js
-node_modules/lodash/_baseSample.js
-node_modules/lodash/_baseSampleSize.js
-node_modules/lodash/_baseSet.js
-node_modules/lodash/_baseSetData.js
-node_modules/lodash/_baseSetToString.js
-node_modules/lodash/_baseShuffle.js
-node_modules/lodash/_baseSlice.js
-node_modules/lodash/_baseSome.js
-node_modules/lodash/_baseSortBy.js
-node_modules/lodash/_baseSortedIndex.js
-node_modules/lodash/_baseSortedIndexBy.js
-node_modules/lodash/_baseSortedUniq.js
-node_modules/lodash/_baseSum.js
-node_modules/lodash/_baseTimes.js
-node_modules/lodash/_baseToNumber.js
-node_modules/lodash/_baseToPairs.js
-node_modules/lodash/_baseToString.js
-node_modules/lodash/_baseUnary.js
-node_modules/lodash/_baseUniq.js
-node_modules/lodash/_baseUnset.js
-node_modules/lodash/_baseUpdate.js
-node_modules/lodash/_baseValues.js
-node_modules/lodash/_baseWhile.js
-node_modules/lodash/_baseWrapperValue.js
-node_modules/lodash/_baseXor.js
-node_modules/lodash/_baseZipObject.js
-node_modules/lodash/_cacheHas.js
-node_modules/lodash/_castArrayLikeObject.js
-node_modules/lodash/_castFunction.js
-node_modules/lodash/_castPath.js
-node_modules/lodash/_castRest.js
-node_modules/lodash/_castSlice.js
-node_modules/lodash/_charsEndIndex.js
-node_modules/lodash/_charsStartIndex.js
-node_modules/lodash/_cloneArrayBuffer.js
-node_modules/lodash/_cloneBuffer.js
-node_modules/lodash/_cloneDataView.js
-node_modules/lodash/_cloneRegExp.js
-node_modules/lodash/_cloneSymbol.js
-node_modules/lodash/_cloneTypedArray.js
-node_modules/lodash/_compareAscending.js
-node_modules/lodash/_compareMultiple.js
-node_modules/lodash/_composeArgs.js
-node_modules/lodash/_composeArgsRight.js
-node_modules/lodash/_copyArray.js
-node_modules/lodash/_copyObject.js
-node_modules/lodash/_copySymbols.js
-node_modules/lodash/_copySymbolsIn.js
-node_modules/lodash/_coreJsData.js
-node_modules/lodash/_countHolders.js
-node_modules/lodash/_createAggregator.js
-node_modules/lodash/_createAssigner.js
-node_modules/lodash/_createBaseEach.js
-node_modules/lodash/_createBaseFor.js
-node_modules/lodash/_createBind.js
-node_modules/lodash/_createCaseFirst.js
-node_modules/lodash/_createCompounder.js
-node_modules/lodash/_createCtor.js
-node_modules/lodash/_createCurry.js
-node_modules/lodash/_createFind.js
-node_modules/lodash/_createFlow.js
-node_modules/lodash/_createHybrid.js
-node_modules/lodash/_createInverter.js
-node_modules/lodash/_createMathOperation.js
-node_modules/lodash/_createOver.js
-node_modules/lodash/_createPadding.js
-node_modules/lodash/_createPartial.js
-node_modules/lodash/_createRange.js
-node_modules/lodash/_createRecurry.js
-node_modules/lodash/_createRelationalOperation.js
-node_modules/lodash/_createRound.js
-node_modules/lodash/_createSet.js
-node_modules/lodash/_createToPairs.js
-node_modules/lodash/_createWrap.js
-node_modules/lodash/_customDefaultsAssignIn.js
-node_modules/lodash/_customDefaultsMerge.js
-node_modules/lodash/_customOmitClone.js
-node_modules/lodash/_DataView.js
-node_modules/lodash/_deburrLetter.js
-node_modules/lodash/_defineProperty.js
-node_modules/lodash/_equalArrays.js
-node_modules/lodash/_equalByTag.js
-node_modules/lodash/_equalObjects.js
-node_modules/lodash/_escapeHtmlChar.js
-node_modules/lodash/_escapeStringChar.js
-node_modules/lodash/_flatRest.js
-node_modules/lodash/_freeGlobal.js
-node_modules/lodash/_getAllKeys.js
-node_modules/lodash/_getAllKeysIn.js
-node_modules/lodash/_getData.js
-node_modules/lodash/_getFuncName.js
-node_modules/lodash/_getHolder.js
-node_modules/lodash/_getMapData.js
-node_modules/lodash/_getMatchData.js
-node_modules/lodash/_getNative.js
-node_modules/lodash/_getPrototype.js
-node_modules/lodash/_getRawTag.js
-node_modules/lodash/_getSymbols.js
-node_modules/lodash/_getSymbolsIn.js
-node_modules/lodash/_getTag.js
-node_modules/lodash/_getValue.js
-node_modules/lodash/_getView.js
-node_modules/lodash/_getWrapDetails.js
-node_modules/lodash/_Hash.js
-node_modules/lodash/_hashClear.js
-node_modules/lodash/_hashDelete.js
-node_modules/lodash/_hashGet.js
-node_modules/lodash/_hashHas.js
-node_modules/lodash/_hashSet.js
-node_modules/lodash/_hasPath.js
-node_modules/lodash/_hasUnicode.js
-node_modules/lodash/_hasUnicodeWord.js
-node_modules/lodash/_initCloneArray.js
-node_modules/lodash/_initCloneByTag.js
-node_modules/lodash/_initCloneObject.js
-node_modules/lodash/_insertWrapDetails.js
-node_modules/lodash/_isFlattenable.js
-node_modules/lodash/_isIndex.js
-node_modules/lodash/_isIterateeCall.js
-node_modules/lodash/_isKey.js
-node_modules/lodash/_isKeyable.js
-node_modules/lodash/_isLaziable.js
-node_modules/lodash/_isMaskable.js
-node_modules/lodash/_isMasked.js
-node_modules/lodash/_isPrototype.js
-node_modules/lodash/_isStrictComparable.js
-node_modules/lodash/_iteratorToArray.js
-node_modules/lodash/_lazyClone.js
-node_modules/lodash/_lazyReverse.js
-node_modules/lodash/_lazyValue.js
-node_modules/lodash/_LazyWrapper.js
-node_modules/lodash/_ListCache.js
-node_modules/lodash/_listCacheClear.js
-node_modules/lodash/_listCacheDelete.js
-node_modules/lodash/_listCacheGet.js
-node_modules/lodash/_listCacheHas.js
-node_modules/lodash/_listCacheSet.js
-node_modules/lodash/_LodashWrapper.js
-node_modules/lodash/_Map.js
-node_modules/lodash/_MapCache.js
-node_modules/lodash/_mapCacheClear.js
-node_modules/lodash/_mapCacheDelete.js
-node_modules/lodash/_mapCacheGet.js
-node_modules/lodash/_mapCacheHas.js
-node_modules/lodash/_mapCacheSet.js
-node_modules/lodash/_mapToArray.js
-node_modules/lodash/_matchesStrictComparable.js
-node_modules/lodash/_memoizeCapped.js
-node_modules/lodash/_mergeData.js
-node_modules/lodash/_metaMap.js
-node_modules/lodash/_nativeCreate.js
-node_modules/lodash/_nativeKeys.js
-node_modules/lodash/_nativeKeysIn.js
-node_modules/lodash/_nodeUtil.js
-node_modules/lodash/_objectToString.js
-node_modules/lodash/_overArg.js
-node_modules/lodash/_overRest.js
-node_modules/lodash/_parent.js
-node_modules/lodash/_Promise.js
-node_modules/lodash/_realNames.js
-node_modules/lodash/_reEscape.js
-node_modules/lodash/_reEvaluate.js
-node_modules/lodash/_reInterpolate.js
-node_modules/lodash/_reorder.js
-node_modules/lodash/_replaceHolders.js
-node_modules/lodash/_root.js
-node_modules/lodash/_safeGet.js
-node_modules/lodash/_Set.js
-node_modules/lodash/_SetCache.js
-node_modules/lodash/_setCacheAdd.js
-node_modules/lodash/_setCacheHas.js
-node_modules/lodash/_setData.js
-node_modules/lodash/_setToArray.js
-node_modules/lodash/_setToPairs.js
-node_modules/lodash/_setToString.js
-node_modules/lodash/_setWrapToString.js
-node_modules/lodash/_shortOut.js
-node_modules/lodash/_shuffleSelf.js
-node_modules/lodash/_Stack.js
-node_modules/lodash/_stackClear.js
-node_modules/lodash/_stackDelete.js
-node_modules/lodash/_stackGet.js
-node_modules/lodash/_stackHas.js
-node_modules/lodash/_stackSet.js
-node_modules/lodash/_strictIndexOf.js
-node_modules/lodash/_strictLastIndexOf.js
-node_modules/lodash/_stringSize.js
-node_modules/lodash/_stringToArray.js
-node_modules/lodash/_stringToPath.js
-node_modules/lodash/_Symbol.js
-node_modules/lodash/_toKey.js
-node_modules/lodash/_toSource.js
-node_modules/lodash/_Uint8Array.js
-node_modules/lodash/_unescapeHtmlChar.js
-node_modules/lodash/_unicodeSize.js
-node_modules/lodash/_unicodeToArray.js
-node_modules/lodash/_unicodeWords.js
-node_modules/lodash/_updateWrapDetails.js
-node_modules/lodash/_WeakMap.js
-node_modules/lodash/_wrapperClone.js
-node_modules/lodash/add.js
-node_modules/lodash/after.js
-node_modules/lodash/array.js
-node_modules/lodash/ary.js
-node_modules/lodash/assign.js
-node_modules/lodash/assignIn.js
-node_modules/lodash/assignInWith.js
-node_modules/lodash/assignWith.js
-node_modules/lodash/at.js
-node_modules/lodash/attempt.js
-node_modules/lodash/before.js
-node_modules/lodash/bind.js
-node_modules/lodash/bindAll.js
-node_modules/lodash/bindKey.js
-node_modules/lodash/camelCase.js
-node_modules/lodash/capitalize.js
-node_modules/lodash/castArray.js
-node_modules/lodash/ceil.js
-node_modules/lodash/chain.js
-node_modules/lodash/chunk.js
-node_modules/lodash/clamp.js
-node_modules/lodash/clone.js
-node_modules/lodash/cloneDeep.js
-node_modules/lodash/cloneDeepWith.js
-node_modules/lodash/cloneWith.js
-node_modules/lodash/collection.js
-node_modules/lodash/commit.js
-node_modules/lodash/compact.js
-node_modules/lodash/concat.js
-node_modules/lodash/cond.js
-node_modules/lodash/conforms.js
-node_modules/lodash/conformsTo.js
-node_modules/lodash/constant.js
-node_modules/lodash/core.js
-node_modules/lodash/core.min.js
-node_modules/lodash/countBy.js
-node_modules/lodash/create.js
-node_modules/lodash/curry.js
-node_modules/lodash/curryRight.js
-node_modules/lodash/date.js
-node_modules/lodash/debounce.js
-node_modules/lodash/deburr.js
-node_modules/lodash/defaults.js
-node_modules/lodash/defaultsDeep.js
-node_modules/lodash/defaultTo.js
-node_modules/lodash/defer.js
-node_modules/lodash/delay.js
-node_modules/lodash/difference.js
-node_modules/lodash/differenceBy.js
-node_modules/lodash/differenceWith.js
-node_modules/lodash/divide.js
-node_modules/lodash/drop.js
-node_modules/lodash/dropRight.js
-node_modules/lodash/dropRightWhile.js
-node_modules/lodash/dropWhile.js
-node_modules/lodash/each.js
-node_modules/lodash/eachRight.js
-node_modules/lodash/endsWith.js
-node_modules/lodash/entries.js
-node_modules/lodash/entriesIn.js
-node_modules/lodash/eq.js
-node_modules/lodash/escape.js
-node_modules/lodash/escapeRegExp.js
-node_modules/lodash/every.js
-node_modules/lodash/extend.js
-node_modules/lodash/extendWith.js
-node_modules/lodash/fill.js
-node_modules/lodash/filter.js
-node_modules/lodash/find.js
-node_modules/lodash/findIndex.js
-node_modules/lodash/findKey.js
-node_modules/lodash/findLast.js
-node_modules/lodash/findLastIndex.js
-node_modules/lodash/findLastKey.js
-node_modules/lodash/first.js
-node_modules/lodash/flatMap.js
-node_modules/lodash/flatMapDeep.js
-node_modules/lodash/flatMapDepth.js
-node_modules/lodash/flatten.js
-node_modules/lodash/flattenDeep.js
-node_modules/lodash/flattenDepth.js
-node_modules/lodash/flip.js
-node_modules/lodash/floor.js
-node_modules/lodash/flow.js
-node_modules/lodash/flowRight.js
-node_modules/lodash/forEach.js
-node_modules/lodash/forEachRight.js
-node_modules/lodash/forIn.js
-node_modules/lodash/forInRight.js
-node_modules/lodash/forOwn.js
-node_modules/lodash/forOwnRight.js
-node_modules/lodash/fp.js
-node_modules/lodash/fromPairs.js
-node_modules/lodash/function.js
-node_modules/lodash/functions.js
-node_modules/lodash/functionsIn.js
-node_modules/lodash/get.js
-node_modules/lodash/groupBy.js
-node_modules/lodash/gt.js
-node_modules/lodash/gte.js
-node_modules/lodash/has.js
-node_modules/lodash/hasIn.js
-node_modules/lodash/head.js
-node_modules/lodash/identity.js
-node_modules/lodash/includes.js
-node_modules/lodash/index.js
-node_modules/lodash/indexOf.js
-node_modules/lodash/initial.js
-node_modules/lodash/inRange.js
-node_modules/lodash/intersection.js
-node_modules/lodash/intersectionBy.js
-node_modules/lodash/intersectionWith.js
-node_modules/lodash/invert.js
-node_modules/lodash/invertBy.js
-node_modules/lodash/invoke.js
-node_modules/lodash/invokeMap.js
-node_modules/lodash/isArguments.js
-node_modules/lodash/isArray.js
-node_modules/lodash/isArrayBuffer.js
-node_modules/lodash/isArrayLike.js
-node_modules/lodash/isArrayLikeObject.js
-node_modules/lodash/isBoolean.js
-node_modules/lodash/isBuffer.js
-node_modules/lodash/isDate.js
-node_modules/lodash/isElement.js
-node_modules/lodash/isEmpty.js
-node_modules/lodash/isEqual.js
-node_modules/lodash/isEqualWith.js
-node_modules/lodash/isError.js
-node_modules/lodash/isFinite.js
-node_modules/lodash/isFunction.js
-node_modules/lodash/isInteger.js
-node_modules/lodash/isLength.js
-node_modules/lodash/isMap.js
-node_modules/lodash/isMatch.js
-node_modules/lodash/isMatchWith.js
-node_modules/lodash/isNaN.js
-node_modules/lodash/isNative.js
-node_modules/lodash/isNil.js
-node_modules/lodash/isNull.js
-node_modules/lodash/isNumber.js
-node_modules/lodash/isObject.js
-node_modules/lodash/isObjectLike.js
-node_modules/lodash/isPlainObject.js
-node_modules/lodash/isRegExp.js
-node_modules/lodash/isSafeInteger.js
-node_modules/lodash/isSet.js
-node_modules/lodash/isString.js
-node_modules/lodash/isSymbol.js
-node_modules/lodash/isTypedArray.js
-node_modules/lodash/isUndefined.js
-node_modules/lodash/isWeakMap.js
-node_modules/lodash/isWeakSet.js
-node_modules/lodash/iteratee.js
-node_modules/lodash/join.js
-node_modules/lodash/kebabCase.js
-node_modules/lodash/keyBy.js
-node_modules/lodash/keys.js
-node_modules/lodash/keysIn.js
-node_modules/lodash/lang.js
-node_modules/lodash/last.js
-node_modules/lodash/lastIndexOf.js
-node_modules/lodash/LICENSE
-node_modules/lodash/lodash.js
-node_modules/lodash/lodash.min.js
-node_modules/lodash/lowerCase.js
-node_modules/lodash/lowerFirst.js
-node_modules/lodash/lt.js
-node_modules/lodash/lte.js
-node_modules/lodash/map.js
-node_modules/lodash/mapKeys.js
-node_modules/lodash/mapValues.js
-node_modules/lodash/matches.js
-node_modules/lodash/matchesProperty.js
-node_modules/lodash/math.js
-node_modules/lodash/max.js
-node_modules/lodash/maxBy.js
-node_modules/lodash/mean.js
-node_modules/lodash/meanBy.js
-node_modules/lodash/memoize.js
-node_modules/lodash/merge.js
-node_modules/lodash/mergeWith.js
-node_modules/lodash/method.js
-node_modules/lodash/methodOf.js
-node_modules/lodash/min.js
-node_modules/lodash/minBy.js
-node_modules/lodash/mixin.js
-node_modules/lodash/multiply.js
-node_modules/lodash/negate.js
-node_modules/lodash/next.js
-node_modules/lodash/noop.js
-node_modules/lodash/now.js
-node_modules/lodash/nth.js
-node_modules/lodash/nthArg.js
-node_modules/lodash/number.js
-node_modules/lodash/object.js
-node_modules/lodash/omit.js
-node_modules/lodash/omitBy.js
-node_modules/lodash/once.js
-node_modules/lodash/orderBy.js
-node_modules/lodash/over.js
-node_modules/lodash/overArgs.js
-node_modules/lodash/overEvery.js
-node_modules/lodash/overSome.js
-node_modules/lodash/package.json
-node_modules/lodash/pad.js
-node_modules/lodash/padEnd.js
-node_modules/lodash/padStart.js
-node_modules/lodash/parseInt.js
-node_modules/lodash/partial.js
-node_modules/lodash/partialRight.js
-node_modules/lodash/partition.js
-node_modules/lodash/pick.js
-node_modules/lodash/pickBy.js
-node_modules/lodash/plant.js
-node_modules/lodash/property.js
-node_modules/lodash/propertyOf.js
-node_modules/lodash/pull.js
-node_modules/lodash/pullAll.js
-node_modules/lodash/pullAllBy.js
-node_modules/lodash/pullAllWith.js
-node_modules/lodash/pullAt.js
-node_modules/lodash/random.js
-node_modules/lodash/range.js
-node_modules/lodash/rangeRight.js
-node_modules/lodash/README.md
-node_modules/lodash/rearg.js
-node_modules/lodash/reduce.js
-node_modules/lodash/reduceRight.js
-node_modules/lodash/reject.js
-node_modules/lodash/remove.js
-node_modules/lodash/repeat.js
-node_modules/lodash/replace.js
-node_modules/lodash/rest.js
-node_modules/lodash/result.js
-node_modules/lodash/reverse.js
-node_modules/lodash/round.js
-node_modules/lodash/sample.js
-node_modules/lodash/sampleSize.js
-node_modules/lodash/seq.js
-node_modules/lodash/set.js
-node_modules/lodash/setWith.js
-node_modules/lodash/shuffle.js
-node_modules/lodash/size.js
-node_modules/lodash/slice.js
-node_modules/lodash/snakeCase.js
-node_modules/lodash/some.js
-node_modules/lodash/sortBy.js
-node_modules/lodash/sortedIndex.js
-node_modules/lodash/sortedIndexBy.js
-node_modules/lodash/sortedIndexOf.js
-node_modules/lodash/sortedLastIndex.js
-node_modules/lodash/sortedLastIndexBy.js
-node_modules/lodash/sortedLastIndexOf.js
-node_modules/lodash/sortedUniq.js
-node_modules/lodash/sortedUniqBy.js
-node_modules/lodash/split.js
-node_modules/lodash/spread.js
-node_modules/lodash/startCase.js
-node_modules/lodash/startsWith.js
-node_modules/lodash/string.js
-node_modules/lodash/stubArray.js
-node_modules/lodash/stubFalse.js
-node_modules/lodash/stubObject.js
-node_modules/lodash/stubString.js
-node_modules/lodash/stubTrue.js
-node_modules/lodash/subtract.js
-node_modules/lodash/sum.js
-node_modules/lodash/sumBy.js
-node_modules/lodash/tail.js
-node_modules/lodash/take.js
-node_modules/lodash/takeRight.js
-node_modules/lodash/takeRightWhile.js
-node_modules/lodash/takeWhile.js
-node_modules/lodash/tap.js
-node_modules/lodash/template.js
-node_modules/lodash/templateSettings.js
-node_modules/lodash/throttle.js
-node_modules/lodash/thru.js
-node_modules/lodash/times.js
-node_modules/lodash/toArray.js
-node_modules/lodash/toFinite.js
-node_modules/lodash/toInteger.js
-node_modules/lodash/toIterator.js
-node_modules/lodash/toJSON.js
-node_modules/lodash/toLength.js
-node_modules/lodash/toLower.js
-node_modules/lodash/toNumber.js
-node_modules/lodash/toPairs.js
-node_modules/lodash/toPairsIn.js
-node_modules/lodash/toPath.js
-node_modules/lodash/toPlainObject.js
-node_modules/lodash/toSafeInteger.js
-node_modules/lodash/toString.js
-node_modules/lodash/toUpper.js
-node_modules/lodash/transform.js
-node_modules/lodash/trim.js
-node_modules/lodash/trimEnd.js
-node_modules/lodash/trimStart.js
-node_modules/lodash/truncate.js
-node_modules/lodash/unary.js
-node_modules/lodash/unescape.js
-node_modules/lodash/union.js
-node_modules/lodash/unionBy.js
-node_modules/lodash/unionWith.js
-node_modules/lodash/uniq.js
-node_modules/lodash/uniqBy.js
-node_modules/lodash/uniqueId.js
-node_modules/lodash/uniqWith.js
-node_modules/lodash/unset.js
-node_modules/lodash/unzip.js
-node_modules/lodash/unzipWith.js
-node_modules/lodash/update.js
-node_modules/lodash/updateWith.js
-node_modules/lodash/upperCase.js
-node_modules/lodash/upperFirst.js
-node_modules/lodash/util.js
-node_modules/lodash/value.js
-node_modules/lodash/valueOf.js
-node_modules/lodash/values.js
-node_modules/lodash/valuesIn.js
-node_modules/lodash/without.js
-node_modules/lodash/words.js
-node_modules/lodash/wrap.js
-node_modules/lodash/wrapperAt.js
-node_modules/lodash/wrapperChain.js
-node_modules/lodash/wrapperLodash.js
-node_modules/lodash/wrapperReverse.js
-node_modules/lodash/wrapperValue.js
-node_modules/lodash/xor.js
-node_modules/lodash/xorBy.js
-node_modules/lodash/xorWith.js
-node_modules/lodash/zip.js
-node_modules/lodash/zipObject.js
-node_modules/lodash/zipObjectDeep.js
-node_modules/lodash/zipWith.js
-node_modules/lodash/fp/__.js
-node_modules/lodash/fp/_baseConvert.js
-node_modules/lodash/fp/_convertBrowser.js
-node_modules/lodash/fp/_falseOptions.js
-node_modules/lodash/fp/_mapping.js
-node_modules/lodash/fp/_util.js
-node_modules/lodash/fp/add.js
-node_modules/lodash/fp/after.js
-node_modules/lodash/fp/all.js
-node_modules/lodash/fp/allPass.js
-node_modules/lodash/fp/always.js
-node_modules/lodash/fp/any.js
-node_modules/lodash/fp/anyPass.js
-node_modules/lodash/fp/apply.js
-node_modules/lodash/fp/array.js
-node_modules/lodash/fp/ary.js
-node_modules/lodash/fp/assign.js
-node_modules/lodash/fp/assignAll.js
-node_modules/lodash/fp/assignAllWith.js
-node_modules/lodash/fp/assignIn.js
-node_modules/lodash/fp/assignInAll.js
-node_modules/lodash/fp/assignInAllWith.js
-node_modules/lodash/fp/assignInWith.js
-node_modules/lodash/fp/assignWith.js
-node_modules/lodash/fp/assoc.js
-node_modules/lodash/fp/assocPath.js
-node_modules/lodash/fp/at.js
-node_modules/lodash/fp/attempt.js
-node_modules/lodash/fp/before.js
-node_modules/lodash/fp/bind.js
-node_modules/lodash/fp/bindAll.js
-node_modules/lodash/fp/bindKey.js
-node_modules/lodash/fp/camelCase.js
-node_modules/lodash/fp/capitalize.js
-node_modules/lodash/fp/castArray.js
-node_modules/lodash/fp/ceil.js
-node_modules/lodash/fp/chain.js
-node_modules/lodash/fp/chunk.js
-node_modules/lodash/fp/clamp.js
-node_modules/lodash/fp/clone.js
-node_modules/lodash/fp/cloneDeep.js
-node_modules/lodash/fp/cloneDeepWith.js
-node_modules/lodash/fp/cloneWith.js
-node_modules/lodash/fp/collection.js
-node_modules/lodash/fp/commit.js
-node_modules/lodash/fp/compact.js
-node_modules/lodash/fp/complement.js
-node_modules/lodash/fp/compose.js
-node_modules/lodash/fp/concat.js
-node_modules/lodash/fp/cond.js
-node_modules/lodash/fp/conforms.js
-node_modules/lodash/fp/conformsTo.js
-node_modules/lodash/fp/constant.js
-node_modules/lodash/fp/contains.js
-node_modules/lodash/fp/convert.js
-node_modules/lodash/fp/countBy.js
-node_modules/lodash/fp/create.js
-node_modules/lodash/fp/curry.js
-node_modules/lodash/fp/curryN.js
-node_modules/lodash/fp/curryRight.js
-node_modules/lodash/fp/curryRightN.js
-node_modules/lodash/fp/date.js
-node_modules/lodash/fp/debounce.js
-node_modules/lodash/fp/deburr.js
-node_modules/lodash/fp/defaults.js
-node_modules/lodash/fp/defaultsAll.js
-node_modules/lodash/fp/defaultsDeep.js
-node_modules/lodash/fp/defaultsDeepAll.js
-node_modules/lodash/fp/defaultTo.js
-node_modules/lodash/fp/defer.js
-node_modules/lodash/fp/delay.js
-node_modules/lodash/fp/difference.js
-node_modules/lodash/fp/differenceBy.js
-node_modules/lodash/fp/differenceWith.js
-node_modules/lodash/fp/dissoc.js
-node_modules/lodash/fp/dissocPath.js
-node_modules/lodash/fp/divide.js
-node_modules/lodash/fp/drop.js
-node_modules/lodash/fp/dropLast.js
-node_modules/lodash/fp/dropLastWhile.js
-node_modules/lodash/fp/dropRight.js
-node_modules/lodash/fp/dropRightWhile.js
-node_modules/lodash/fp/dropWhile.js
-node_modules/lodash/fp/each.js
-node_modules/lodash/fp/eachRight.js
-node_modules/lodash/fp/endsWith.js
-node_modules/lodash/fp/entries.js
-node_modules/lodash/fp/entriesIn.js
-node_modules/lodash/fp/eq.js
-node_modules/lodash/fp/equals.js
-node_modules/lodash/fp/escape.js
-node_modules/lodash/fp/escapeRegExp.js
-node_modules/lodash/fp/every.js
-node_modules/lodash/fp/extend.js
-node_modules/lodash/fp/extendAll.js
-node_modules/lodash/fp/extendAllWith.js
-node_modules/lodash/fp/extendWith.js
-node_modules/lodash/fp/F.js
-node_modules/lodash/fp/fill.js
-node_modules/lodash/fp/filter.js
-node_modules/lodash/fp/find.js
-node_modules/lodash/fp/findFrom.js
-node_modules/lodash/fp/findIndex.js
-node_modules/lodash/fp/findIndexFrom.js
-node_modules/lodash/fp/findKey.js
-node_modules/lodash/fp/findLast.js
-node_modules/lodash/fp/findLastFrom.js
-node_modules/lodash/fp/findLastIndex.js
-node_modules/lodash/fp/findLastIndexFrom.js
-node_modules/lodash/fp/findLastKey.js
-node_modules/lodash/fp/first.js
-node_modules/lodash/fp/flatMap.js
-node_modules/lodash/fp/flatMapDeep.js
-node_modules/lodash/fp/flatMapDepth.js
-node_modules/lodash/fp/flatten.js
-node_modules/lodash/fp/flattenDeep.js
-node_modules/lodash/fp/flattenDepth.js
-node_modules/lodash/fp/flip.js
-node_modules/lodash/fp/floor.js
-node_modules/lodash/fp/flow.js
-node_modules/lodash/fp/flowRight.js
-node_modules/lodash/fp/forEach.js
-node_modules/lodash/fp/forEachRight.js
-node_modules/lodash/fp/forIn.js
-node_modules/lodash/fp/forInRight.js
-node_modules/lodash/fp/forOwn.js
-node_modules/lodash/fp/forOwnRight.js
-node_modules/lodash/fp/fromPairs.js
-node_modules/lodash/fp/function.js
-node_modules/lodash/fp/functions.js
-node_modules/lodash/fp/functionsIn.js
-node_modules/lodash/fp/get.js
-node_modules/lodash/fp/getOr.js
-node_modules/lodash/fp/groupBy.js
-node_modules/lodash/fp/gt.js
-node_modules/lodash/fp/gte.js
-node_modules/lodash/fp/has.js
-node_modules/lodash/fp/hasIn.js
-node_modules/lodash/fp/head.js
-node_modules/lodash/fp/identical.js
-node_modules/lodash/fp/identity.js
-node_modules/lodash/fp/includes.js
-node_modules/lodash/fp/includesFrom.js
-node_modules/lodash/fp/indexBy.js
-node_modules/lodash/fp/indexOf.js
-node_modules/lodash/fp/indexOfFrom.js
-node_modules/lodash/fp/init.js
-node_modules/lodash/fp/initial.js
-node_modules/lodash/fp/inRange.js
-node_modules/lodash/fp/intersection.js
-node_modules/lodash/fp/intersectionBy.js
-node_modules/lodash/fp/intersectionWith.js
-node_modules/lodash/fp/invert.js
-node_modules/lodash/fp/invertBy.js
-node_modules/lodash/fp/invertObj.js
-node_modules/lodash/fp/invoke.js
-node_modules/lodash/fp/invokeArgs.js
-node_modules/lodash/fp/invokeArgsMap.js
-node_modules/lodash/fp/invokeMap.js
-node_modules/lodash/fp/isArguments.js
-node_modules/lodash/fp/isArray.js
-node_modules/lodash/fp/isArrayBuffer.js
-node_modules/lodash/fp/isArrayLike.js
-node_modules/lodash/fp/isArrayLikeObject.js
-node_modules/lodash/fp/isBoolean.js
-node_modules/lodash/fp/isBuffer.js
-node_modules/lodash/fp/isDate.js
-node_modules/lodash/fp/isElement.js
-node_modules/lodash/fp/isEmpty.js
-node_modules/lodash/fp/isEqual.js
-node_modules/lodash/fp/isEqualWith.js
-node_modules/lodash/fp/isError.js
-node_modules/lodash/fp/isFinite.js
-node_modules/lodash/fp/isFunction.js
-node_modules/lodash/fp/isInteger.js
-node_modules/lodash/fp/isLength.js
-node_modules/lodash/fp/isMap.js
-node_modules/lodash/fp/isMatch.js
-node_modules/lodash/fp/isMatchWith.js
-node_modules/lodash/fp/isNaN.js
-node_modules/lodash/fp/isNative.js
-node_modules/lodash/fp/isNil.js
-node_modules/lodash/fp/isNull.js
-node_modules/lodash/fp/isNumber.js
-node_modules/lodash/fp/isObject.js
-node_modules/lodash/fp/isObjectLike.js
-node_modules/lodash/fp/isPlainObject.js
-node_modules/lodash/fp/isRegExp.js
-node_modules/lodash/fp/isSafeInteger.js
-node_modules/lodash/fp/isSet.js
-node_modules/lodash/fp/isString.js
-node_modules/lodash/fp/isSymbol.js
-node_modules/lodash/fp/isTypedArray.js
-node_modules/lodash/fp/isUndefined.js
-node_modules/lodash/fp/isWeakMap.js
-node_modules/lodash/fp/isWeakSet.js
-node_modules/lodash/fp/iteratee.js
-node_modules/lodash/fp/join.js
-node_modules/lodash/fp/juxt.js
-node_modules/lodash/fp/kebabCase.js
-node_modules/lodash/fp/keyBy.js
-node_modules/lodash/fp/keys.js
-node_modules/lodash/fp/keysIn.js
-node_modules/lodash/fp/lang.js
-node_modules/lodash/fp/last.js
-node_modules/lodash/fp/lastIndexOf.js
-node_modules/lodash/fp/lastIndexOfFrom.js
-node_modules/lodash/fp/lowerCase.js
-node_modules/lodash/fp/lowerFirst.js
-node_modules/lodash/fp/lt.js
-node_modules/lodash/fp/lte.js
-node_modules/lodash/fp/map.js
-node_modules/lodash/fp/mapKeys.js
-node_modules/lodash/fp/mapValues.js
-node_modules/lodash/fp/matches.js
-node_modules/lodash/fp/matchesProperty.js
-node_modules/lodash/fp/math.js
-node_modules/lodash/fp/max.js
-node_modules/lodash/fp/maxBy.js
-node_modules/lodash/fp/mean.js
-node_modules/lodash/fp/meanBy.js
-node_modules/lodash/fp/memoize.js
-node_modules/lodash/fp/merge.js
-node_modules/lodash/fp/mergeAll.js
-node_modules/lodash/fp/mergeAllWith.js
-node_modules/lodash/fp/mergeWith.js
-node_modules/lodash/fp/method.js
-node_modules/lodash/fp/methodOf.js
-node_modules/lodash/fp/min.js
-node_modules/lodash/fp/minBy.js
-node_modules/lodash/fp/mixin.js
-node_modules/lodash/fp/multiply.js
-node_modules/lodash/fp/nAry.js
-node_modules/lodash/fp/negate.js
-node_modules/lodash/fp/next.js
-node_modules/lodash/fp/noop.js
-node_modules/lodash/fp/now.js
-node_modules/lodash/fp/nth.js
-node_modules/lodash/fp/nthArg.js
-node_modules/lodash/fp/number.js
-node_modules/lodash/fp/object.js
-node_modules/lodash/fp/omit.js
-node_modules/lodash/fp/omitAll.js
-node_modules/lodash/fp/omitBy.js
-node_modules/lodash/fp/once.js
-node_modules/lodash/fp/orderBy.js
-node_modules/lodash/fp/over.js
-node_modules/lodash/fp/overArgs.js
-node_modules/lodash/fp/overEvery.js
-node_modules/lodash/fp/overSome.js
-node_modules/lodash/fp/pad.js
-node_modules/lodash/fp/padChars.js
-node_modules/lodash/fp/padCharsEnd.js
-node_modules/lodash/fp/padCharsStart.js
-node_modules/lodash/fp/padEnd.js
-node_modules/lodash/fp/padStart.js
-node_modules/lodash/fp/parseInt.js
-node_modules/lodash/fp/partial.js
-node_modules/lodash/fp/partialRight.js
-node_modules/lodash/fp/partition.js
-node_modules/lodash/fp/path.js
-node_modules/lodash/fp/pathEq.js
-node_modules/lodash/fp/pathOr.js
-node_modules/lodash/fp/paths.js
-node_modules/lodash/fp/pick.js
-node_modules/lodash/fp/pickAll.js
-node_modules/lodash/fp/pickBy.js
-node_modules/lodash/fp/pipe.js
-node_modules/lodash/fp/placeholder.js
-node_modules/lodash/fp/plant.js
-node_modules/lodash/fp/pluck.js
-node_modules/lodash/fp/prop.js
-node_modules/lodash/fp/propEq.js
-node_modules/lodash/fp/property.js
-node_modules/lodash/fp/propertyOf.js
-node_modules/lodash/fp/propOr.js
-node_modules/lodash/fp/props.js
-node_modules/lodash/fp/pull.js
-node_modules/lodash/fp/pullAll.js
-node_modules/lodash/fp/pullAllBy.js
-node_modules/lodash/fp/pullAllWith.js
-node_modules/lodash/fp/pullAt.js
-node_modules/lodash/fp/random.js
-node_modules/lodash/fp/range.js
-node_modules/lodash/fp/rangeRight.js
-node_modules/lodash/fp/rangeStep.js
-node_modules/lodash/fp/rangeStepRight.js
-node_modules/lodash/fp/rearg.js
-node_modules/lodash/fp/reduce.js
-node_modules/lodash/fp/reduceRight.js
-node_modules/lodash/fp/reject.js
-node_modules/lodash/fp/remove.js
-node_modules/lodash/fp/repeat.js
-node_modules/lodash/fp/replace.js
-node_modules/lodash/fp/rest.js
-node_modules/lodash/fp/restFrom.js
-node_modules/lodash/fp/result.js
-node_modules/lodash/fp/reverse.js
-node_modules/lodash/fp/round.js
-node_modules/lodash/fp/sample.js
-node_modules/lodash/fp/sampleSize.js
-node_modules/lodash/fp/seq.js
-node_modules/lodash/fp/set.js
-node_modules/lodash/fp/setWith.js
-node_modules/lodash/fp/shuffle.js
-node_modules/lodash/fp/size.js
-node_modules/lodash/fp/slice.js
-node_modules/lodash/fp/snakeCase.js
-node_modules/lodash/fp/some.js
-node_modules/lodash/fp/sortBy.js
-node_modules/lodash/fp/sortedIndex.js
-node_modules/lodash/fp/sortedIndexBy.js
-node_modules/lodash/fp/sortedIndexOf.js
-node_modules/lodash/fp/sortedLastIndex.js
-node_modules/lodash/fp/sortedLastIndexBy.js
-node_modules/lodash/fp/sortedLastIndexOf.js
-node_modules/lodash/fp/sortedUniq.js
-node_modules/lodash/fp/sortedUniqBy.js
-node_modules/lodash/fp/split.js
-node_modules/lodash/fp/spread.js
-node_modules/lodash/fp/spreadFrom.js
-node_modules/lodash/fp/startCase.js
-node_modules/lodash/fp/startsWith.js
-node_modules/lodash/fp/string.js
-node_modules/lodash/fp/stubArray.js
-node_modules/lodash/fp/stubFalse.js
-node_modules/lodash/fp/stubObject.js
-node_modules/lodash/fp/stubString.js
-node_modules/lodash/fp/stubTrue.js
-node_modules/lodash/fp/subtract.js
-node_modules/lodash/fp/sum.js
-node_modules/lodash/fp/sumBy.js
-node_modules/lodash/fp/symmetricDifference.js
-node_modules/lodash/fp/symmetricDifferenceBy.js
-node_modules/lodash/fp/symmetricDifferenceWith.js
-node_modules/lodash/fp/T.js
-node_modules/lodash/fp/tail.js
-node_modules/lodash/fp/take.js
-node_modules/lodash/fp/takeLast.js
-node_modules/lodash/fp/takeLastWhile.js
-node_modules/lodash/fp/takeRight.js
-node_modules/lodash/fp/takeRightWhile.js
-node_modules/lodash/fp/takeWhile.js
-node_modules/lodash/fp/tap.js
-node_modules/lodash/fp/template.js
-node_modules/lodash/fp/templateSettings.js
-node_modules/lodash/fp/throttle.js
-node_modules/lodash/fp/thru.js
-node_modules/lodash/fp/times.js
-node_modules/lodash/fp/toArray.js
-node_modules/lodash/fp/toFinite.js
-node_modules/lodash/fp/toInteger.js
-node_modules/lodash/fp/toIterator.js
-node_modules/lodash/fp/toJSON.js
-node_modules/lodash/fp/toLength.js
-node_modules/lodash/fp/toLower.js
-node_modules/lodash/fp/toNumber.js
-node_modules/lodash/fp/toPairs.js
-node_modules/lodash/fp/toPairsIn.js
-node_modules/lodash/fp/toPath.js
-node_modules/lodash/fp/toPlainObject.js
-node_modules/lodash/fp/toSafeInteger.js
-node_modules/lodash/fp/toString.js
-node_modules/lodash/fp/toUpper.js
-node_modules/lodash/fp/transform.js
-node_modules/lodash/fp/trim.js
-node_modules/lodash/fp/trimChars.js
-node_modules/lodash/fp/trimCharsEnd.js
-node_modules/lodash/fp/trimCharsStart.js
-node_modules/lodash/fp/trimEnd.js
-node_modules/lodash/fp/trimStart.js
-node_modules/lodash/fp/truncate.js
-node_modules/lodash/fp/unapply.js
-node_modules/lodash/fp/unary.js
-node_modules/lodash/fp/unescape.js
-node_modules/lodash/fp/union.js
-node_modules/lodash/fp/unionBy.js
-node_modules/lodash/fp/unionWith.js
-node_modules/lodash/fp/uniq.js
-node_modules/lodash/fp/uniqBy.js
-node_modules/lodash/fp/uniqueId.js
-node_modules/lodash/fp/uniqWith.js
-node_modules/lodash/fp/unnest.js
-node_modules/lodash/fp/unset.js
-node_modules/lodash/fp/unzip.js
-node_modules/lodash/fp/unzipWith.js
-node_modules/lodash/fp/update.js
-node_modules/lodash/fp/updateWith.js
-node_modules/lodash/fp/upperCase.js
-node_modules/lodash/fp/upperFirst.js
-node_modules/lodash/fp/useWith.js
-node_modules/lodash/fp/util.js
-node_modules/lodash/fp/value.js
-node_modules/lodash/fp/valueOf.js
-node_modules/lodash/fp/values.js
-node_modules/lodash/fp/valuesIn.js
-node_modules/lodash/fp/where.js
-node_modules/lodash/fp/whereEq.js
-node_modules/lodash/fp/without.js
-node_modules/lodash/fp/words.js
-node_modules/lodash/fp/wrap.js
-node_modules/lodash/fp/wrapperAt.js
-node_modules/lodash/fp/wrapperChain.js
-node_modules/lodash/fp/wrapperLodash.js
-node_modules/lodash/fp/wrapperReverse.js
-node_modules/lodash/fp/wrapperValue.js
-node_modules/lodash/fp/xor.js
-node_modules/lodash/fp/xorBy.js
-node_modules/lodash/fp/xorWith.js
-node_modules/lodash/fp/zip.js
-node_modules/lodash/fp/zipAll.js
-node_modules/lodash/fp/zipObj.js
-node_modules/lodash/fp/zipObject.js
-node_modules/lodash/fp/zipObjectDeep.js
-node_modules/lodash/fp/zipWith.js
-node_modules/minimatch/LICENSE
-node_modules/minimatch/minimatch.js
-node_modules/minimatch/package.json
-node_modules/minimatch/README.md
-node_modules/minimist/.travis.yml
-node_modules/minimist/index.js
-node_modules/minimist/LICENSE
-node_modules/minimist/package.json
-node_modules/minimist/readme.markdown
-node_modules/minimist/example/parse.js
-node_modules/minimist/test/all_bool.js
-node_modules/minimist/test/bool.js
-node_modules/minimist/test/dash.js
-node_modules/minimist/test/default_bool.js
-node_modules/minimist/test/dotted.js
-node_modules/minimist/test/kv_short.js
-node_modules/minimist/test/long.js
-node_modules/minimist/test/num.js
-node_modules/minimist/test/parse_modified.js
-node_modules/minimist/test/parse.js
-node_modules/minimist/test/proto.js
-node_modules/minimist/test/short.js
-node_modules/minimist/test/stop_early.js
-node_modules/minimist/test/unknown.js
-node_modules/minimist/test/whitespace.js
-node_modules/mkdirp/index.js
-node_modules/mkdirp/LICENSE
-node_modules/mkdirp/package.json
-node_modules/mkdirp/readme.markdown
-node_modules/mkdirp/bin/cmd.js
-node_modules/mkdirp/bin/usage.txt
-node_modules/ms/index.js
-node_modules/ms/license.md
-node_modules/ms/package.json
-node_modules/ms/readme.md
-node_modules/natural-compare/index.js
-node_modules/natural-compare/package.json
-node_modules/natural-compare/README.md
-node_modules/once/LICENSE
-node_modules/once/once.js
-node_modules/once/package.json
-node_modules/once/README.md
-node_modules/optionator/CHANGELOG.md
-node_modules/optionator/LICENSE
-node_modules/optionator/package.json
-node_modules/optionator/README.md
-node_modules/optionator/lib/help.js
-node_modules/optionator/lib/index.js
-node_modules/optionator/lib/util.js
-node_modules/parent-module/index.js
-node_modules/parent-module/license
-node_modules/parent-module/package.json
-node_modules/parent-module/readme.md
-node_modules/path-is-absolute/index.js
-node_modules/path-is-absolute/license
-node_modules/path-is-absolute/package.json
-node_modules/path-is-absolute/readme.md
-node_modules/path-key/index.d.ts
-node_modules/path-key/index.js
-node_modules/path-key/license
-node_modules/path-key/package.json
-node_modules/path-key/readme.md
-node_modules/prelude-ls/CHANGELOG.md
-node_modules/prelude-ls/LICENSE
-node_modules/prelude-ls/package.json
-node_modules/prelude-ls/README.md
-node_modules/prelude-ls/lib/Func.js
-node_modules/prelude-ls/lib/index.js
-node_modules/prelude-ls/lib/List.js
-node_modules/prelude-ls/lib/Num.js
-node_modules/prelude-ls/lib/Obj.js
-node_modules/prelude-ls/lib/Str.js
-node_modules/progress/CHANGELOG.md
-node_modules/progress/index.js
-node_modules/progress/LICENSE
-node_modules/progress/Makefile
-node_modules/progress/package.json
-node_modules/progress/Readme.md
-node_modules/progress/lib/node-progress.js
-node_modules/punycode/LICENSE-MIT.txt
-node_modules/punycode/package.json
-node_modules/punycode/punycode.es6.js
-node_modules/punycode/punycode.js
-node_modules/punycode/README.md
-node_modules/regexpp/index.d.ts
-node_modules/regexpp/index.js
-node_modules/regexpp/index.js.map
-node_modules/regexpp/index.mjs
-node_modules/regexpp/index.mjs.map
-node_modules/regexpp/LICENSE
-node_modules/regexpp/package.json
-node_modules/regexpp/README.md
-node_modules/resolve-from/index.js
-node_modules/resolve-from/license
-node_modules/resolve-from/package.json
-node_modules/resolve-from/readme.md
-node_modules/rimraf/bin.js
-node_modules/rimraf/LICENSE
-node_modules/rimraf/package.json
-node_modules/rimraf/README.md
-node_modules/rimraf/rimraf.js
-node_modules/semver/CHANGELOG.md
-node_modules/semver/index.js
-node_modules/semver/LICENSE
-node_modules/semver/package.json
-node_modules/semver/preload.js
-node_modules/semver/range.bnf
-node_modules/semver/README.md
-node_modules/semver/bin/semver.js
-node_modules/semver/classes/comparator.js
-node_modules/semver/classes/index.js
-node_modules/semver/classes/range.js
-node_modules/semver/classes/semver.js
-node_modules/semver/functions/clean.js
-node_modules/semver/functions/cmp.js
-node_modules/semver/functions/coerce.js
-node_modules/semver/functions/compare-build.js
-node_modules/semver/functions/compare-loose.js
-node_modules/semver/functions/compare.js
-node_modules/semver/functions/diff.js
-node_modules/semver/functions/eq.js
-node_modules/semver/functions/gt.js
-node_modules/semver/functions/gte.js
-node_modules/semver/functions/inc.js
-node_modules/semver/functions/lt.js
-node_modules/semver/functions/lte.js
-node_modules/semver/functions/major.js
-node_modules/semver/functions/minor.js
-node_modules/semver/functions/neq.js
-node_modules/semver/functions/parse.js
-node_modules/semver/functions/patch.js
-node_modules/semver/functions/prerelease.js
-node_modules/semver/functions/rcompare.js
-node_modules/semver/functions/rsort.js
-node_modules/semver/functions/satisfies.js
-node_modules/semver/functions/sort.js
-node_modules/semver/functions/valid.js
-node_modules/semver/internal/constants.js
-node_modules/semver/internal/debug.js
-node_modules/semver/internal/identifiers.js
-node_modules/semver/internal/re.js
-node_modules/semver/ranges/gtr.js
-node_modules/semver/ranges/intersects.js
-node_modules/semver/ranges/ltr.js
-node_modules/semver/ranges/max-satisfying.js
-node_modules/semver/ranges/min-satisfying.js
-node_modules/semver/ranges/min-version.js
-node_modules/semver/ranges/outside.js
-node_modules/semver/ranges/simplify.js
-node_modules/semver/ranges/subset.js
-node_modules/semver/ranges/to-comparators.js
-node_modules/semver/ranges/valid.js
-node_modules/shebang-command/index.js
-node_modules/shebang-command/license
-node_modules/shebang-command/package.json
-node_modules/shebang-command/readme.md
-node_modules/shebang-regex/index.d.ts
-node_modules/shebang-regex/index.js
-node_modules/shebang-regex/license
-node_modules/shebang-regex/package.json
-node_modules/shebang-regex/readme.md
-node_modules/slice-ansi/index.js
-node_modules/slice-ansi/license
-node_modules/slice-ansi/package.json
-node_modules/slice-ansi/readme.md
-node_modules/sprintf-js/.npmignore
-node_modules/sprintf-js/bower.json
-node_modules/sprintf-js/gruntfile.js
-node_modules/sprintf-js/LICENSE
-node_modules/sprintf-js/package.json
-node_modules/sprintf-js/README.md
-node_modules/sprintf-js/demo/angular.html
-node_modules/sprintf-js/dist/angular-sprintf.min.js
-node_modules/sprintf-js/dist/angular-sprintf.min.js.map
-node_modules/sprintf-js/dist/angular-sprintf.min.map
-node_modules/sprintf-js/dist/sprintf.min.js
-node_modules/sprintf-js/dist/sprintf.min.js.map
-node_modules/sprintf-js/dist/sprintf.min.map
-node_modules/sprintf-js/src/angular-sprintf.js
-node_modules/sprintf-js/src/sprintf.js
-node_modules/sprintf-js/test/test.js
-node_modules/string-width/index.js
-node_modules/string-width/license
-node_modules/string-width/package.json
-node_modules/string-width/readme.md
-node_modules/string-width/node_modules/ansi-regex/index.js
-node_modules/string-width/node_modules/ansi-regex/license
-node_modules/string-width/node_modules/ansi-regex/package.json
-node_modules/string-width/node_modules/ansi-regex/readme.md
-node_modules/string-width/node_modules/strip-ansi/index.d.ts
-node_modules/string-width/node_modules/strip-ansi/index.js
-node_modules/string-width/node_modules/strip-ansi/license
-node_modules/string-width/node_modules/strip-ansi/package.json
-node_modules/string-width/node_modules/strip-ansi/readme.md
-node_modules/strip-ansi/index.d.ts
-node_modules/strip-ansi/index.js
-node_modules/strip-ansi/license
-node_modules/strip-ansi/package.json
-node_modules/strip-ansi/readme.md
-node_modules/strip-json-comments/index.d.ts
-node_modules/strip-json-comments/index.js
-node_modules/strip-json-comments/license
-node_modules/strip-json-comments/package.json
-node_modules/strip-json-comments/readme.md
-node_modules/supports-color/browser.js
-node_modules/supports-color/index.js
-node_modules/supports-color/license
-node_modules/supports-color/package.json
-node_modules/supports-color/readme.md
-node_modules/table/LICENSE
-node_modules/table/package.json
-node_modules/table/README.md
-node_modules/table/dist/alignString.js
-node_modules/table/dist/alignString.js.flow
-node_modules/table/dist/alignString.js.map
-node_modules/table/dist/alignTableData.js
-node_modules/table/dist/alignTableData.js.flow
-node_modules/table/dist/alignTableData.js.map
-node_modules/table/dist/calculateCellHeight.js
-node_modules/table/dist/calculateCellHeight.js.flow
-node_modules/table/dist/calculateCellHeight.js.map
-node_modules/table/dist/calculateCellWidthIndex.js
-node_modules/table/dist/calculateCellWidthIndex.js.flow
-node_modules/table/dist/calculateCellWidthIndex.js.map
-node_modules/table/dist/calculateMaximumColumnWidthIndex.js
-node_modules/table/dist/calculateMaximumColumnWidthIndex.js.flow
-node_modules/table/dist/calculateMaximumColumnWidthIndex.js.map
-node_modules/table/dist/calculateRowHeightIndex.js
-node_modules/table/dist/calculateRowHeightIndex.js.flow
-node_modules/table/dist/calculateRowHeightIndex.js.map
-node_modules/table/dist/createStream.js
-node_modules/table/dist/createStream.js.flow
-node_modules/table/dist/createStream.js.map
-node_modules/table/dist/drawBorder.js
-node_modules/table/dist/drawBorder.js.flow
-node_modules/table/dist/drawBorder.js.map
-node_modules/table/dist/drawRow.js
-node_modules/table/dist/drawRow.js.flow
-node_modules/table/dist/drawRow.js.map
-node_modules/table/dist/drawTable.js
-node_modules/table/dist/drawTable.js.flow
-node_modules/table/dist/drawTable.js.map
-node_modules/table/dist/getBorderCharacters.js
-node_modules/table/dist/getBorderCharacters.js.flow
-node_modules/table/dist/getBorderCharacters.js.map
-node_modules/table/dist/index.js
-node_modules/table/dist/index.js.flow
-node_modules/table/dist/index.js.map
-node_modules/table/dist/makeConfig.js
-node_modules/table/dist/makeConfig.js.flow
-node_modules/table/dist/makeConfig.js.map
-node_modules/table/dist/makeStreamConfig.js
-node_modules/table/dist/makeStreamConfig.js.flow
-node_modules/table/dist/makeStreamConfig.js.map
-node_modules/table/dist/mapDataUsingRowHeightIndex.js
-node_modules/table/dist/mapDataUsingRowHeightIndex.js.flow
-node_modules/table/dist/mapDataUsingRowHeightIndex.js.map
-node_modules/table/dist/padTableData.js
-node_modules/table/dist/padTableData.js.flow
-node_modules/table/dist/padTableData.js.map
-node_modules/table/dist/stringifyTableData.js
-node_modules/table/dist/stringifyTableData.js.flow
-node_modules/table/dist/stringifyTableData.js.map
-node_modules/table/dist/table.js
-node_modules/table/dist/table.js.flow
-node_modules/table/dist/table.js.map
-node_modules/table/dist/truncateTableData.js
-node_modules/table/dist/truncateTableData.js.flow
-node_modules/table/dist/truncateTableData.js.map
-node_modules/table/dist/validateConfig.js
-node_modules/table/dist/validateConfig.js.flow
-node_modules/table/dist/validateConfig.js.map
-node_modules/table/dist/validateStreamConfig.js
-node_modules/table/dist/validateTableData.js
-node_modules/table/dist/validateTableData.js.flow
-node_modules/table/dist/validateTableData.js.map
-node_modules/table/dist/wrapCell.js
-node_modules/table/dist/wrapCell.js.flow
-node_modules/table/dist/wrapCell.js.map
-node_modules/table/dist/wrapString.js
-node_modules/table/dist/wrapString.js.flow
-node_modules/table/dist/wrapString.js.map
-node_modules/table/dist/wrapWord.js
-node_modules/table/dist/wrapWord.js.flow
-node_modules/table/dist/wrapWord.js.map
-node_modules/table/dist/schemas/config.json
-node_modules/table/dist/schemas/streamConfig.json
-node_modules/text-table/.travis.yml
-node_modules/text-table/index.js
-node_modules/text-table/LICENSE
-node_modules/text-table/package.json
-node_modules/text-table/readme.markdown
-node_modules/text-table/example/align.js
-node_modules/text-table/example/center.js
-node_modules/text-table/example/dotalign.js
-node_modules/text-table/example/doubledot.js
-node_modules/text-table/example/table.js
-node_modules/text-table/test/align.js
-node_modules/text-table/test/ansi-colors.js
-node_modules/text-table/test/center.js
-node_modules/text-table/test/dotalign.js
-node_modules/text-table/test/doubledot.js
-node_modules/text-table/test/table.js
-node_modules/type-check/LICENSE
-node_modules/type-check/package.json
-node_modules/type-check/README.md
-node_modules/type-check/lib/check.js
-node_modules/type-check/lib/index.js
-node_modules/type-check/lib/parse-type.js
-node_modules/type-fest/index.d.ts
-node_modules/type-fest/license
-node_modules/type-fest/package.json
-node_modules/type-fest/readme.md
-node_modules/type-fest/source/basic.d.ts
-node_modules/type-fest/source/except.d.ts
-node_modules/type-fest/source/literal-union.d.ts
-node_modules/type-fest/source/merge-exclusive.d.ts
-node_modules/type-fest/source/merge.d.ts
-node_modules/type-fest/source/mutable.d.ts
-node_modules/type-fest/source/opaque.d.ts
-node_modules/type-fest/source/package-json.d.ts
-node_modules/type-fest/source/partial-deep.d.ts
-node_modules/type-fest/source/promisable.d.ts
-node_modules/type-fest/source/readonly-deep.d.ts
-node_modules/type-fest/source/require-at-least-one.d.ts
-node_modules/type-fest/source/require-exactly-one.d.ts
-node_modules/type-fest/source/set-optional.d.ts
-node_modules/type-fest/source/set-required.d.ts
-node_modules/uri-js/LICENSE
-node_modules/uri-js/package.json
-node_modules/uri-js/README.md
-node_modules/uri-js/yarn.lock
-node_modules/uri-js/dist/es5/uri.all.d.ts
-node_modules/uri-js/dist/es5/uri.all.js
-node_modules/uri-js/dist/es5/uri.all.js.map
-node_modules/uri-js/dist/es5/uri.all.min.d.ts
-node_modules/uri-js/dist/es5/uri.all.min.js
-node_modules/uri-js/dist/es5/uri.all.min.js.map
-node_modules/uri-js/dist/esnext/index.d.ts
-node_modules/uri-js/dist/esnext/index.js
-node_modules/uri-js/dist/esnext/index.js.map
-node_modules/uri-js/dist/esnext/regexps-iri.d.ts
-node_modules/uri-js/dist/esnext/regexps-iri.js
-node_modules/uri-js/dist/esnext/regexps-iri.js.map
-node_modules/uri-js/dist/esnext/regexps-uri.d.ts
-node_modules/uri-js/dist/esnext/regexps-uri.js
-node_modules/uri-js/dist/esnext/regexps-uri.js.map
-node_modules/uri-js/dist/esnext/uri.d.ts
-node_modules/uri-js/dist/esnext/uri.js
-node_modules/uri-js/dist/esnext/uri.js.map
-node_modules/uri-js/dist/esnext/util.d.ts
-node_modules/uri-js/dist/esnext/util.js
-node_modules/uri-js/dist/esnext/util.js.map
-node_modules/uri-js/dist/esnext/schemes/http.d.ts
-node_modules/uri-js/dist/esnext/schemes/http.js
-node_modules/uri-js/dist/esnext/schemes/http.js.map
-node_modules/uri-js/dist/esnext/schemes/https.d.ts
-node_modules/uri-js/dist/esnext/schemes/https.js
-node_modules/uri-js/dist/esnext/schemes/https.js.map
-node_modules/uri-js/dist/esnext/schemes/mailto.d.ts
-node_modules/uri-js/dist/esnext/schemes/mailto.js
-node_modules/uri-js/dist/esnext/schemes/mailto.js.map
-node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts
-node_modules/uri-js/dist/esnext/schemes/urn-uuid.js
-node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map
-node_modules/uri-js/dist/esnext/schemes/urn.d.ts
-node_modules/uri-js/dist/esnext/schemes/urn.js
-node_modules/uri-js/dist/esnext/schemes/urn.js.map
-node_modules/uri-js/dist/esnext/schemes/ws.d.ts
-node_modules/uri-js/dist/esnext/schemes/ws.js
-node_modules/uri-js/dist/esnext/schemes/ws.js.map
-node_modules/uri-js/dist/esnext/schemes/wss.d.ts
-node_modules/uri-js/dist/esnext/schemes/wss.js
-node_modules/uri-js/dist/esnext/schemes/wss.js.map
-node_modules/v8-compile-cache/CHANGELOG.md
-node_modules/v8-compile-cache/LICENSE
-node_modules/v8-compile-cache/package.json
-node_modules/v8-compile-cache/README.md
-node_modules/v8-compile-cache/v8-compile-cache.js
-node_modules/which/CHANGELOG.md
-node_modules/which/LICENSE
-node_modules/which/package.json
-node_modules/which/README.md
-node_modules/which/which.js
-node_modules/which/bin/node-which
-node_modules/word-wrap/index.d.ts
-node_modules/word-wrap/index.js
-node_modules/word-wrap/LICENSE
-node_modules/word-wrap/package.json
-node_modules/word-wrap/README.md
-node_modules/wrappy/LICENSE
-node_modules/wrappy/package.json
-node_modules/wrappy/README.md
-node_modules/wrappy/wrappy.js
-node_modules/write/index.js
-node_modules/write/LICENSE
-node_modules/write/package.json
-node_modules/write/README.md
+node_modules/*

+ 1 - 1
components/driver_bt/bt_app_sink.c

@@ -558,7 +558,7 @@ void bt_sink_init(bt_cmd_vcb_t cmd_cb, bt_data_cb_t data_cb)
 	cmd_handler_chain = cmd_cb;
   	bt_app_a2d_data_cb = data_cb;
 	
-    ESP_ERROR_CHECK(esp_bt_controller_mem_release(ESP_BT_MODE_BLE));
+    esp_bt_controller_mem_release(ESP_BT_MODE_BLE);
 
     esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
     if ((err = esp_bt_controller_init(&bt_cfg)) != ESP_OK) {

+ 3 - 3
components/driver_bt/bt_app_source.c

@@ -189,13 +189,13 @@ static void peers_list_maintain(const char * s_peer_bdname, int32_t rssi){
         free(list_json);
     }    
 }
-        
+
 int bt_app_source_get_a2d_state(){
-    ESP_LOGW(TAG,"a2dp status: %u = %s", bt_app_source_a2d_state, APP_AV_STATE_DESC[bt_app_source_a2d_state]);
+    ESP_LOGD(TAG,"a2dp status: %u = %s", bt_app_source_a2d_state, APP_AV_STATE_DESC[bt_app_source_a2d_state]);
     return bt_app_source_a2d_state;
 }
 int bt_app_source_get_media_state(){
-    ESP_LOGW(TAG,"media state : %u ", bt_app_source_media_state);
+    ESP_LOGD(TAG,"media state : %u ", bt_app_source_media_state);
     return bt_app_source_media_state;
 }
 void set_app_source_state(int new_state){

+ 0 - 2
components/platform_console/cmd_config.c

@@ -139,7 +139,6 @@ static struct {
 	//			   "   \t\t\t b = basic linear interpolation, l = 13 taps, m = 21 taps, i = interpolate filter coefficients\n"
 	#endif
 	struct arg_int * rate;//			   "  -Z <rate>\t\tReport rate to server in helo as the maximum sample rate we can support\n"
-
     struct arg_end *end;
 } squeezelite_args;
 
@@ -266,7 +265,6 @@ char * strip_bt_name(char * opt_str)
             pch = strtok(NULL, " ");
             ESP_LOGV(TAG,"\n");
         }
-      
     }
     else
     {

+ 1 - 0
components/services/messaging.c

@@ -120,6 +120,7 @@ const char * messaging_get_class_desc(messaging_classes msg_class){
 	CASE_TO_STR(MESSAGING_CLASS_SYSTEM);
 	CASE_TO_STR(MESSAGING_CLASS_STATS);
 	CASE_TO_STR(MESSAGING_CLASS_CFGCMD);
+	CASE_TO_STR(MESSAGING_CLASS_BT);
 		default:
 			return "Unknown";
 			break;

+ 0 - 1
components/wifi-manager/.gitignore

@@ -1 +0,0 @@
-/.code.js.swp

+ 6 - 4
components/wifi-manager/CMakeLists.txt

@@ -1,8 +1,10 @@
-idf_component_register( SRC_DIRS .
-						INCLUDE_DIRS . ${IDF_PATH}/components/esp_http_server/src ${IDF_PATH}/components/esp_http_server/src/port/esp32  ${IDF_PATH}/components/esp_http_server/src/util ${IDF_PATH}/components/esp_http_server/src/
+
+set( WEBPACK_DIR webapp/webpack/dist )
+idf_component_register( SRC_DIRS . webapp
+						INCLUDE_DIRS . webapp ${IDF_PATH}/components/esp_http_server/src ${IDF_PATH}/components/esp_http_server/src/port/esp32  ${IDF_PATH}/components/esp_http_server/src/util ${IDF_PATH}/components/esp_http_server/src/
 						REQUIRES squeezelite-ota json mdns 
 						PRIV_REQUIRES tools services platform_config esp_common json newlib freertos  spi_flash nvs_flash mdns pthread wpa_supplicant platform_console esp_http_server console   driver_bt
-						EMBED_FILES res/style.css.gz res/code.js.gz index.html res/bootstrap.css.gz res/yeti/bootstrap.css.gz res/jquery.js.gz res/bootstrap.js.gz res/favicon.ico
-						
 )
+
  
+include(webapp/webapp.cmake)

+ 0 - 2
components/wifi-manager/compress.bat

@@ -1,2 +0,0 @@
-gzip index.html style.css jquery.js --best --keep --force
-pause

+ 0 - 2
components/wifi-manager/connect

@@ -1,2 +0,0 @@
-<html>
-</html>

+ 35 - 56
components/wifi-manager/http_server_handlers.c

@@ -54,6 +54,7 @@ function to process requests, decode URLs, serve files, etc. etc.
 #include "argtable3/argtable3.h"
 #include "platform_console.h"
 #include "accessors.h"
+#include "webapp/webpack.h"
  
 #define HTTP_STACK_SIZE	(5*1024)
 const char str_na[]="N/A";
@@ -89,22 +90,7 @@ static const char redirect_payload3[]="'>here</a> to login.</p></body></html>";
  * @see file "component.mk"
  * @see https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html#embedding-binary-data
  */
-extern const uint8_t style_css_start[] asm("_binary_style_css_gz_start");
-extern const uint8_t style_css_end[]   asm("_binary_style_css_gz_end");
-extern const uint8_t jquery_gz_start[] asm("_binary_jquery_js_gz_start");
-extern const uint8_t jquery_gz_end[] asm("_binary_jquery_js_gz_end");
-// extern const uint8_t popper_gz_start[] asm("_binary_popper_min_js_gz_start");
-// extern const uint8_t popper_gz_end[] asm("_binary_popper_min_js_gz_end");
-extern const uint8_t bootstrap_js_gz_start[] asm("_binary_bootstrap_js_gz_start");
-extern const uint8_t bootstrap_js_gz_end[] asm("_binary_bootstrap_js_gz_end");
-extern const uint8_t bootstrap_css_gz_start[] asm("_binary_bootstrap_css_gz_start");
-extern const uint8_t bootstrap_css_gz_end[] asm("_binary_bootstrap_css_gz_end");
-extern const uint8_t code_js_start[] asm("_binary_code_js_gz_start");
-extern const uint8_t code_js_end[] asm("_binary_code_js_gz_end");
-extern const uint8_t index_html_start[] asm("_binary_index_html_start");
-extern const uint8_t index_html_end[] asm("_binary_index_html_end");
-extern const uint8_t favicon_ico_start[] asm("_binary_favicon_ico_start");
-extern const uint8_t favicon_ico_end[] asm("_binary_favicon_ico_end");
+
 esp_err_t redirect_processor(httpd_req_t *req, httpd_err_code_t error);
 
 
@@ -334,8 +320,8 @@ static esp_err_t set_content_type_from_file(httpd_req_t *req, const char *filena
         return httpd_resp_set_type(req, HTTPD_TYPE_TEXT);
     } else if (IS_FILE_EXT(filename, ".jpeg")) {
         return httpd_resp_set_type(req, "image/jpeg");
-    } else if (IS_FILE_EXT(filename, ".ico")) {
-        return httpd_resp_set_type(req, "image/x-icon");
+    } else if (IS_FILE_EXT(filename, ".png")) {
+        return httpd_resp_set_type(req, "image/png");
     } else if (IS_FILE_EXT(filename, ".ico")) {
         return httpd_resp_set_type(req, "image/x-icon");
     } else if (IS_FILE_EXT(filename, ".css")) {
@@ -370,8 +356,16 @@ static esp_err_t set_content_type_from_req(httpd_req_t *req)
    return ESP_OK;
 }
 
-
+int resource_get_index(const char * fileName){
+	for(int i=0;resource_lookups[i][0]!='\0';i++){
+		if(strstr(resource_lookups[i], fileName)){
+			return i;
+		}
+	}
+	return -1;
+}
 esp_err_t root_get_handler(httpd_req_t *req){
+	esp_err_t err = ESP_OK;
     ESP_LOGD_LOC(TAG, "serving [%s]", req->uri);
     httpd_resp_set_hdr(req, "Access-Control-Allow-Origin", "*");
     httpd_resp_set_hdr(req, "Accept-Encoding", "identity");
@@ -379,15 +373,24 @@ esp_err_t root_get_handler(httpd_req_t *req){
     if(!is_user_authenticated(req)){
     	// todo:  send password entry page and return
     }
-    const size_t file_size = (index_html_end - index_html_start);
-	esp_err_t err = set_content_type_from_req(req);
-	if(err == ESP_OK){
-		httpd_resp_send(req, (const char *)index_html_start, file_size);
+	int idx=-1;
+	if((idx=resource_get_index("index.html"))>=0){
+		const size_t file_size = (resource_map_end[idx] - resource_map_start[idx]);
+		httpd_resp_set_hdr(req, "Content-Encoding", "gzip");
+		err = set_content_type_from_req(req);
+		if(err == ESP_OK){
+			httpd_resp_send(req, (const char *)resource_map_start[idx], file_size);
+		} 
+	}
+    else{
+		httpd_resp_send_err(req, HTTPD_500_INTERNAL_SERVER_ERROR, "index.html not found");
+	   return ESP_FAIL;
 	}
 	ESP_LOGD_LOC(TAG, "done serving [%s]", req->uri);
     return err;
 }
 
+
 esp_err_t resource_filehandler(httpd_req_t *req){
     char filepath[FILE_PATH_MAX];
    ESP_LOGD_LOC(TAG, "serving [%s]", req->uri);
@@ -407,41 +410,17 @@ esp_err_t resource_filehandler(httpd_req_t *req){
 	   return ESP_FAIL;
    }
 
-   if(strstr(filename, "code.js")) {
+
+	int idx=-1;
+	if((idx=resource_get_index(filename))>=0){
 	    set_content_type_from_file(req, filename);
-		httpd_resp_set_hdr(req, "Content-Encoding", "gzip");
-	    const size_t file_size = (code_js_end - code_js_start);
-	    httpd_resp_send(req, (const char *)code_js_start, file_size);
-	} else if(strstr(filename, "style.css")) {
-		set_content_type_from_file(req, filename);
-		httpd_resp_set_hdr(req, "Content-Encoding", "gzip");
-	    const size_t file_size = (style_css_end - style_css_start);
-	    httpd_resp_send(req, (const char *)style_css_start, file_size);
-    } else if(strstr(filename, "favicon.ico")) {
-		set_content_type_from_file(req, filename);
-	    const size_t file_size = (favicon_ico_end - favicon_ico_start);
-	    httpd_resp_send(req, (const char *)favicon_ico_start, file_size);
-	} else if(strstr(filename, "jquery.js")) {
-		set_content_type_from_file(req, filename);
-		httpd_resp_set_hdr(req, "Content-Encoding", "gzip");
-	    const size_t file_size = (jquery_gz_end - jquery_gz_start);
-	    httpd_resp_send(req, (const char *)jquery_gz_start, file_size);
-	// } else if(strstr(filename, "popper.js")) {
-	// 	set_content_type_from_file(req, filename);
-	// 	httpd_resp_set_hdr(req, "Content-Encoding", "gzip");
-	//     const size_t file_size = (popper_gz_end - popper_gz_start);
-	//     httpd_resp_send(req, (const char *)popper_gz_start, file_size);
-	} else if(strstr(filename, "bootstrap.js")) {
-			set_content_type_from_file(req, filename);
-			httpd_resp_set_hdr(req, "Content-Encoding", "gzip");
-		    const size_t file_size = (bootstrap_js_gz_end - bootstrap_js_gz_start);
-		    httpd_resp_send(req, (const char *)bootstrap_js_gz_start, file_size);
-	} else if(strstr(filename, "bootstrap.css")) {
-			set_content_type_from_file(req, filename);
+		if(strstr(resource_lookups[idx], ".gz")) {
 			httpd_resp_set_hdr(req, "Content-Encoding", "gzip");
-		    const size_t file_size = (bootstrap_css_gz_end - bootstrap_css_gz_start);
-		    httpd_resp_send(req, (const char *)bootstrap_css_gz_start, file_size);
-    } else {
+		}
+	    const size_t file_size = (resource_map_end[idx] - resource_map_start[idx]);
+	    httpd_resp_send(req, (const char *)resource_map_start[idx], file_size);
+	}
+	else {
 	   ESP_LOGE_LOC(TAG, "Unknown resource [%s] from path [%s] ", filename,filepath);
 	   /* Respond with 404 Not Found */
 	   httpd_resp_send_err(req, HTTPD_404_NOT_FOUND, "File does not exist");

+ 0 - 410
components/wifi-manager/index.development.html

@@ -1,410 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8"/>
-		<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
-		<meta name="apple-mobile-web-app-capable" content="yes" />
-		<link rel="stylesheet" href="/res/bootstrap.css">
-		<script src="/res/jquery.js"></script>
-		<link rel="shortcut icon" type="image/x-icon" href="/res/favicon.ico">
-		<link rel="stylesheet" href="/res/style.css">
-		<!-- <script src="/res/popper.js"></script> -->
-		<script src="/res/bootstrap.js"></script>
-		<script src="/res/code.js"></script>
-		<title>esp32-wifi-manager</title>
-	</head>
-	<body>
-		<div id="info">
-			<svg xmlns="http://www.w3.org/2000/svg" id="jack" width="24" height="24" viewBox="0 0 24 24">
-				<g id="o_jack" display="none">
-					<path d="m 16.074253,15.636738 v -1.05413 h 5.893274 c 1.16249,0 2.108261,-0.855111 2.108261,-1.906183 0,-1.051073 -0.945771,-1.906236 -2.108261,-1.906236 H 16.074253 V 9.7160604 c 0,-0.5812492 -0.472879,-1.0541321 -1.054131,-1.0541321 H 6.7847349 c -1.256731,0 -2.301908,0.9212057 -2.496867,2.1237027 h -0.451896 c -0.540407,0 -1.001317,0.349129 -1.173459,0.835611 H 0.47312787 c -0.23285,0 -0.42164599,0.188794 -0.42164599,0.421651 v 1.251779 c 0,0.232857 0.18879599,0.421652 0.42164599,0.421652 H 2.6550809 c 0.165919,0.497866 0.632365,0.857588 1.180831,0.857588 h 0.45312 c 0.19781,1.199177 1.241345,2.116956 2.495659,2.116956 h 8.2353861 c 0.581297,0 1.054176,-0.472883 1.054176,-1.05413 z m 5.060935,-4.023245 v 2.125811 h -0.844935 v -2.125811 z m 2.097293,1.062932 c 0,0.582933 -0.561524,1.057661 -1.253986,1.062668 v -2.125337 c 0.692462,0.0049 1.253986,0.47963 1.253986,1.062669 z m -3.785535,-1.062932 v 2.125811 h -3.372693 v -2.125811 z m -18.55215712,0.851 H 2.5901939 v 0.408475 H 0.89478888 Z m 2.94118302,1.266114 c -0.221897,0 -0.40247,-0.185737 -0.40247,-0.414062 v -1.273547 c 0,-0.228271 0.180573,-0.41401 0.40247,-0.41401 h 0.418855 v 2.101671 h -0.418855 z m 2.948763,2.116956 c -0.929997,0 -1.6866,-0.756601 -1.6866,-1.686608 v -0.0087 -2.944976 -0.01545 c 0,-0.930006 0.756603,-1.6866072 1.6866,-1.6866072 h 8.2353871 c 0.114313,0 0.210838,0.096554 0.210838,0.2108266 v 5.9206786 c 0,0.114268 -0.09656,0.210824 -0.210838,0.210824 z" />
-				</g>
-			</svg>
-			<span data-toggle="tooltip" id="o_type" data-placement="top" title=""><svg xmlns="http://www.w3.org/2000/svg" id="output" width="24" height="24" viewBox="0 0 24 24">
-				<g id="o_i2s" display="none">
-					<path d="M2 7L2 8L2 9L2 10L2 11L2 12L2 13L2 14L2 15L2 16L2 17L3 17L3 16L3 15L3 14L3 13L3 12L3 11L3 10L3 9L3 8L2 7M6 7L6 8L6 9L7 9L7 8L8 8L9 8L10 8L10 9L11 9L11 10L11 11L10 11L10 12L9 12L9 13L8 13L8 14L7 14L7 15L6 15L6 16L6 17L7 17L8 17L9 17L10 17L11 17L12 17L12 16L11 16L10 16L9 16L8 16L8 15L9 15L9 14L10 14L10 13L11 13L11 12L12 12L12 11L12 10L12 9L12 8L11 8L11 7L10 7L9 7L8 7L6 7M16 7L16 8L15 8L15 9L15 10L15 11L16 11L16 12L17 12L18 12L18 13L19 13L20 13L21 13L21 14L21 15L20 15L20 16L19 16L18 16L17 16L16 16L16 15L15 15L15 16L15 17L16 17L17 17L18 17L19 17L20 17L21 17L21 16L22 16L22 15L22 14L22 13L21 13L21 12L20 12L20 11L19 11L18 11L17 11L16 11L16 10L16 9L17 9L17 8L18 8L19 8L20 8L21 8L21 9L22 9L22 8L22 7L21 7L20 7L19 7L18 7L16 7z"/>
-				</g>
-				<g id="o_bt" stroke="currentColor" stroke-width="1" fill="none" fill-rule="evenodd" display="none"></g>
-				<g id="o_spdif" display="none">
-					<path d="M3 1L3 2L2 2L2 3L2 4L2 5L3 5L3 6L4 6L5 6L5 7L6 7L7 7L8 7L8 8L8 9L7 9L7 10L6 10L5 10L4 10L3 10L3 9L2 9L2 10L2 11L3 11L4 11L5 11L6 11L7 11L8 11L8 10L9 10L9 9L9 8L9 7L8 7L8 6L7 6L7 5L6 5L5 5L4 5L3 5L3 4L3 3L4 3L4 2L5 2L6 2L7 2L8 2L8 3L9 3L9 2L9 1L8 1L7 1L6 1L5 1L3 1M13 1L13 2L13 3L13 4L12 4L12 5L12 6L12 7L12 8L11 8L11 9L11 10L11 11L10 11L10 12L10 13L11 13L11 12L11 11L12 11L12 10L12 9L12 8L13 8L13 7L13 6L13 5L14 5L14 4L14 3L14 2L15 2L15 1L13 1M16 1L16 2L16 3L16 4L16 5L16 6L16 7L16 8L16 9L16 10L16 11L17 11L17 10L17 9L17 8L17 7L18 7L19 7L20 7L21 7L21 6L22 6L22 5L22 4L22 3L22 2L21 2L21 1L20 1L19 1L18 1L16 1z"/>
-					<path style="fill:#272B30;" d="M17 2L17 3L17 4L17 5L17 6L18 6L19 6L20 6L20 5L21 5L21 4L21 3L20 3L20 2L19 2L17 2z"/>
-					<path d="M2 13L2 14L2 15L2 16L2 17L2 18L2 19L2 20L2 21L2 22L2 23L3 23L4 23L5 23L6 23L7 23L8 23L8 22L9 22L9 21L10 21L10 20L10 19L10 18L10 17L10 16L10 15L9 15L9 14L8 14L7 14L7 13L6 13L5 13L4 13L2 13M13 13L13 14L13 15L13 16L13 17L13 18L13 19L13 20L13 21L13 22L13 23L14 23L14 22L14 21L14 20L14 19L14 18L14 17L14 16L14 15L14 14L13 13M17 13L17 14L17 15L17 16L17 17L17 18L17 19L17 20L17 21L17 22L17 23L18 23L18 22L18 21L18 20L18 19L18 18L19 18L20 18L21 18L22 18L22 17L21 17L20 17L19 17L18 17L18 16L18 15L18 14L19 14L20 14L21 14L22 14L22 13L21 13L20 13L19 13L17 13z"/>
-					<path style="fill:#272B30;" d="M3 14L3 15L3 16L3 17L3 18L3 19L3 20L3 21L3 22L4 22L5 22L6 22L7 22L7 21L8 21L8 20L9 20L9 19L9 18L9 17L9 16L8 16L8 15L7 15L7 14L6 14L5 14L3 14z"/>
-				</g>
-			</svg></span>
-			<svg xmlns="http://www.w3.org/2000/svg" id="battery" width="24" height="24" viewBox="0 0 24 24">
-				<g id="bat0" display="none">
-					<path d="M19 8v8h-17v-8h17zm2-2h-21v12h21v-12zm1 9h.75c.69 0 1.25-.56 1.25-1.25v-3.5c0-.69-.56-1.25-1.25-1.25h-.75v6z"/>
-				</g>
-				<g id="bat1" display="none">
-					<path d="M19 8v8h-17v-8h17zm2-2h-21v12h21v-12zm1 9h.75c.69 0 1.25-.56 1.25-1.25v-3.5c0-.69-.56-1.25-1.25-1.25h-.75v6zm-16-6h-3v6h3v-6z"/>
-				</g>
-				<g id="bat2" display="none">
-					<path d="M19 8v8h-17v-8h17zm2-2h-21v12h21v-12zm1 9h.75c.69 0 1.25-.56 1.25-1.25v-3.5c0-.69-.56-1.25-1.25-1.25h-.75v6zm-16-6h-3v6h3v-6zm4 0h-3v6h3v-6z"/>
-				</g>
-				<g id="bat3" display="none">
-					<path d="M19 8v8h-17v-8h17zm2-2h-21v12h21v-12zm1 9h.75c.69 0 1.25-.56 1.25-1.25v-3.5c0-.69-.56-1.25-1.25-1.25h-.75v6zm-16-6h-3v6h3v-6zm4 0h-3v6h3v-6zm4 0h-3v6h3v-6z"/>
-				</g>
-				<g id="bat4" display="none">
-					<path d="M19 8v8h-17v-8h17zm2-2h-21v12h21v-12zm1 9h.75c.69 0 1.25-.56 1.25-1.25v-3.5c0-.69-.56-1.25-1.25-1.25h-.75v6zm-16-6h-3v6h3v-6zm4 0h-3v6h3v-6zm4 0h-3v6h3v-6zm4 0h-3v6h3v-6z"/>
-				</g>
-			</svg>
-					
-		</div>
-		<ul class="nav nav-tabs bg-primary" id="mainnav">
-			<li class="nav-item">
-				<a class="nav-link active" data-toggle="tab" href="#tab-wifi">WiFi</a>
-			</li>
-			<li class="nav-item">
-				<a class="nav-link" data-toggle="tab" href="#tab-configuration">Configuration</a>
-			</li>  
-			<li class="nav-item">
-				<a class="nav-link" data-toggle="tab" href="#tab-syslog">Status<span class="badge badge-success badge-pill" id="msgcnt"></span></a>
-			</li>
-			<li class="nav-item">
-				<a class="nav-link" data-toggle="tab" href="#tab-commands">Advanced</a>
-			</li>
-			<li class="nav-item">
-				<a class="nav-link" data-toggle="tab" href="#tab-credits">Credits</a>
-			</li>
-		</ul>
-		<div id="message"></div>
-		<div id="content" >
-			<div id="myTabContent" class="tab-content mt-3">
-				<div class="tab-pane fade active show" id="tab-wifi">
-					<div id="wifi">
-						<div id="wifi-status">
-							<h2>Connected to:</h2>
-							<section id="connected-to">
-								<div class="ape">
-									<div class="w0">
-										<div class="pw"><span></span></div>
-									</div>
-								</div>
-							</section>
-						</div>
-						<h2>Manual connect</h2>
-						<section id="manual_add">
-							<div class="ape">ADD (HIDDEN) SSID</div>
-						</section>
-						<h2>or choose a network...
-							<button type="button" id="updateAP" class="btn btn-info btn-sm">Update</button>
-						</h2>
-						<section id="wifi-list">
-						</section>
-					</div>
-					<div id="connect_manual">
-						<header>
-							<h1>Enter Details</h1>
-						</header>
-						<h2>DHCP host name</h2>
-						<section id="wifi-list">
-							<input id="dhcp-name2" type="text" placeholder="" value="squeezeamp">
-						</section>
-						<h2>Manual Connection</h2>
-						<section>
-							<input id="manual_ssid" type="text" placeholder="SSID" value="">
-							<input id="manual_pwd" type="password" placeholder="Password" value="">
-						</section>
-						<div class="buttons">
-							<input id="manual_join" type="button" class="btn btn-success" value="Join" data-connect="manual" />
-							<input id="manual_cancel" type="button" class="btn btn-danger" value="Cancel"/>
-						</div>
-					</div>
-					<div id="connect">
-						<header>
-							<h1>Connect to network</h1>
-						</header>
-						<h2>DHCP host name</h2>
-						<section id="wifi-list">
-							<input id="dhcp-name1" type="text" placeholder="" value="squeezeamp">
-						</section>
-						<h2>Password for <span id="ssid-pwd"></span></h2>
-						<section>
-							<input id="pwd" type="password" placeholder="Password" value="">
-						</section>
-						<div class="buttons">
-							<input id="join" type="button" class="btn btn-success" value="Join" />
-							<input id="cancel" type="button" class="btn btn-danger" value="Cancel"/>
-						</div>
-					</div>
-					<div id="connect-wait">
-						<header>
-							<h1>Please wait...</h1>
-						</header>
-						<h2>Connecting to <span id="ssid-wait"></span></h2>
-						<section>
-							<div id="loading">
-								<div class="spinner">
-									<div class="double-bounce1"></div>
-									<div class="double-bounce2"></div>
-								</div>
-								<p class="tctr">You may lose wifi access while the esp32 recalibrates its radio. Please wait until your device automatically reconnects. This can take up to 30s.</p>
-							</div>
-							<div id="connect-success">
-								<h3 class="gr">Success!</h3>
-							</div>
-							<div id="connect-fail">
-								<h3 class="rd">Connection failed</h3>
-								<p class="tctr">Please double-check wifi password if any and make sure the access point has good signal.</p>
-							</div>
-						</section>
-						<div class="buttons">
-							<input id="ok-connect" type="button" value="OK" class="btn btn-success" />
-						</div>
-					</div>
-					<div id="connect-details">
-						<div id="connect-details-wrap">
-							<header>
-								<h1></h1>
-							</header>
-							<h2></h2>
-							<section>
-								<div class="buttons">
-									<input id="disconnect" type="button" value="Disconnect" class="btn btn-danger"/>
-								</div>
-							</section>
-							<h2>IP Address</h2>
-							<section>
-								<div class="ape brdb">
-									IP Address:
-									<div id="ip" class="fr"></div>
-								</div>
-								<div class="ape brdb">
-									Subnet Mask:
-									<div id="netmask" class="fr"></div>
-								</div>
-								<div class="ape">
-									Default Gateway:
-									<div id="gw" class="fr"></div>
-								</div>
-							</section>
-							<div class="buttons">
-								<input id="ok-details" type="button" value="Back" class="btn btn-success" />
-							</div>
-						</div>
-						<div id="diag-disconnect" class="diag-box">
-							<div class="diag-box-win">
-								<p>Are you sure you would like to disconnect from this wifi?</p>
-								<div class="buttons">
-									<input id="no-disconnect" type="button" value="No" class="btn btn-success" />
-									<input id="yes-disconnect" type="button" value="Yes" class="btn btn-danger" />
-								</div>
-							</div>
-						</div>
-					</div>
-				</div>
-                <!-- Config -->
-                <div class="tab-pane fade mt-2" id="tab-configuration">
-                    <ul class="nav nav-tabs bg-info" name="secnav">
-                        <li class="nav-link" style="padding: inherit; border: none;">
-                            <a class="nav-link active" data-toggle="tab" href="#tab-cfg-audio">Audio</a>
-                        </li>
-                        <li class="nav-item">
-                            <a class="nav-link" data-toggle="tab" href="#tab-cfg-syst">System</a>
-                        </li>  
-                        <li class="nav-item">
-                            <a class="nav-link" data-toggle="tab" href="#tab-cfg-hw"  >Hardware</a>
-                        </li>  
-                        <li class="nav-item">
-                            <a class="nav-link" data-toggle="tab" href="#tab-cfg-fw"  >Updates</a> 
-                        </li>  
-                        <li class="nav-item">
-                            <a class="nav-link" data-toggle="tab" href="#tab-nvs">NVS editor</a>
-                        </li>
-                    </ul>
-
-                    <div id="myTabContent2" class="tab-content mt-3">
-                        <div class="tab-pane fade" id="tab-cfg-hw"></div>
-                        <div class="tab-pane fade" id="tab-cfg-syst"></div>
-                        <div class="tab-pane fade" id="tab-cfg-gen"></div>
-                        <div class="tab-pane fade" id="tab-cfg-fw">
-                            <div id="boot-div">
-                                <form id="boot-form" action="/recovery.json" method="post" target="dummyframe">
-                                    <button id="boot-button" type="submit" class="btn btn-primary">Recovery</button>
-                                </form>
-                            </div>
-                            <h1>Check for firmware upgrade</h1>
-                            <div class="buttons">
-                                <input type="button" id="fwcheck" class="btn btn-info" value="Check for updates" />
-                            </div>
-                            <div id="searchfw" class="form-group">
-                                <select class="custom-select" id="fwbranch">
-                                    <option selected="">Choose FW branch</option>
-                                </select>
-                                <input class="form-control form-control-sm" id="searchinput" type="text" placeholder="search releases" id="inputSmall">
-                            </div>
-                            <table class="table table-hover">
-                                <thead>
-                                    <tr>
-                                        <th scope="col">Firmware version</th>
-                                        <th scope="col">Release date</th>
-                                        <th scope="col">HW platform</th>
-                                        <th scope="col">IDF version</th>
-                                        <th scope="col">Branch</th>
-                                        <th scope="col">Flash this FW</th>
-                                    </tr>
-                                </thead>
-                                <tbody id="releaseTable">
-                                </tbody>
-                            </table>
-                            <h2>Firmware URL:</h2>
-                            <textarea id="fwurl" maxlength="1000"></textarea>
-                            <div class="buttons">
-                                <input type="button" id="flash" class="btn btn-danger" value="Flash!" /><span id="flash-status"></span>
-                            </div>
-                            <p>OR</p>
-                            <div class="form-group">
-                                <input type="file" class="form-control-file" id="flashfilename" aria-describedby="fileHelp">
-                                <div class="buttons">
-                                    <button type="button" class="btn btn-danger" id="fwUpload">Upload!</button>
-                                </div>
-                            </div>
-                            <div id="otadiv">
-                                <div class="progress" id="progress">
-                                    <div class="progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" style="width:0%">
-                                        0%
-                                    </div>
-                                </div>
-                            </div>
-                        </div>
-                        <div class="tab-pane fade" id="tab-nvs">
-                            <table class="table table-hover">
-                                <thead>
-                                    <tr>
-                                        <th scope="col">Key</th>
-                                        <th scope="col">Value</th>
-                                    </tr>
-                                </thead>
-                                <tbody id="nvsTable">
-                                </tbody>
-                            </table>
-                            <div class="buttons">
-                                <div id="boot-div">
-                                    <form id="reboot-form" action="/reboot.json" method="post" target="dummyframe">
-                                        <button id="reboot-button" type="submit" class="btn btn-primary">Reboot</button>
-                                    </form>
-                                </div>
-                                <input id="save-nvs" type="button" class="btn btn-success" value="Commit">
-                                <input id="save-as-nvs" type="button" class="btn btn-success" value="Download config">
-                                <input id="load-nvs" type="button" class="btn btn-success" value="Load File">
-                                <input aria-describedby="fileHelp" onchange="onChooseFile(event, onFileLoad.bind(this))" id="nvsfilename" type="file" style="display:none">
-                            </div>
-						</div>
-						
-						<div class="tab-pane fade active show" id="tab-cfg-audio">
-							<div class="card text-white bg-primary mb-3">
-								<div class="card-header">Usage Templates</div>
-								<div class="card-body">
-									<fieldset >
-										<fieldset class="form-group" id="output-tmpl">
-											<legend>Output</legend>
-											<div class="form-check">
-												<label class="form-check-label">
-												  <input type="radio" class="form-check-input" name="output-tmpl" id="i2s" >
-												  I2S Dac
-												</label>
-											</div>
-											<div class="form-check">
-												<label class="form-check-label">
-													<input type="radio" class="form-check-input" name="output-tmpl" id="spdif" >
-													SPDIF
-												</label>
-											</div>
-											<div class="form-check">
-												<label class="form-check-label">
-													<input type="radio" class="form-check-input" name="output-tmpl" id="bt" >
-													Bluetooth
-												</label>
-											</div>
-										</fieldset>
-										<div class="form-group"><label for="player">Player Name</label><input type="text" class="form-control " placeholder="Squeezelite" id="player" ></div>
-										<div class="form-group"><label for="optional">Optional setting (e.g. for LMS IP address)</label><input type="text" class="form-control"  id="optional" ></div>
-										<div class="form-group"><div class="form-check">
-											<label class="form-check-label">
-											  <input class="form-check-input" type="checkbox" id="disable-squeezelite" value="" checked="" >
-											  Disable Squeezelite
-											</label>
-										  </div></div>
-										<div class="toast show" role="alert" aria-live="assertive" aria-atomic="true" style="display: none;" id="toast_cfg-audio-tmpl"><div class="toast-header"><strong class="mr-auto">Result</strong><button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close" onclick="$(this).parent().parent().hide()"><span aria-hidden="true">×</span></button></div><div class="toast-body" id="msg_cfg-audio-tmpl"></div></div>
-										<button id="save-autoexec1" type="submit"  class="btn btn-info" cmdname="cfg-audio-tmpl" onclick="save_autoexec1(false)">Save</button>	  
-										<button id="commit-autoexec1" type="submit"  class="btn btn-warning" cmdname="cfg-audio-tmpl" onclick="save_autoexec1(true)">Apply</button>
-								   </fieldset>
-								</div>
-							</div>
-						</div>                    
-					</div>
-                </div>
-				<div class="tab-pane fade " id="tab-commands">
-						<fieldset id="commands-list"></fieldset>
-				</div>
-				<!-- Status -->
-				<div class="tab-pane fade " id="tab-syslog">
-				<div class="card border-primary mb-3" >
-  				<div class="card-header">Logs</div>
-  				<div class="card-body">
-    			<table class="table table-hover">
-						<thead>
-							<tr>
-								<th scope="col">Timestamp</th>
-								<th scope="col">Message</th>
-							</tr>
-						</thead>
-						<tbody id="syslogTable">
-						</tbody>
-					</table>
-					<div class="buttons">
-						<input id="clear-syslog" type="button" class="btn btn-danger btn-sm" value="Clear" />
-					</div></div></div>
-				<div class="card border-primary mb-3">
-  				<div class="card-header">Pin Assignments</div>
-  				<div class="card-body">
-					<table class="table table-hover">
-						<thead><tr><th scope="col">Device</th><th scope="col">Pin Name</th><th scope="col">GPIO Number</th><th scope="col">Type</th></tr></thead>
-						<tbody id="gpiotable"></tbody></table></div></div>
-				<div class="card border-primary mb-3" style="visibility: collapse;" id="tasks_sect">
-					<div class="card-header">Tasks</div>
-					<div class="card-body">
-						<table class="table table-hover">
-							<!-- console.log(msg_time.toLocaleString() + '\tname' + '\tcpu' + '\tstate' + '\tminstk' + '\tbprio' + '\tcprio' + '\tnum'); -->
-							<thead><tr><th scope="col">#</th><th scope="col">Task Name</th><th scope="col">CPU</th><th scope="col">State</th><th scope="col">Min Stack</th><th scope="col">Base Priority</th><th scope="col">Cur Priority</th></tr></thead>
-							<tbody id="tasks"></tbody></table></div></div>					
-					</div>
-				<!-- syslog -->
-				<div class="tab-pane fade " id="tab-credits">
-					<div class="jumbotron">
-						<p><strong><a href="https://github.com/sle118/squeezelite-esp32">squeezelite-esp32</a></strong>, &copy; 2020, philippe44, sle118, daduke<br /><a href="https://opensource.org/licenses/MIT">This software is released under the MIT License.</a></p>
-						<p>
-							This app would not be possible without the following libraries:
-						</p>
-						<ul>
-							<li>squeezelite, &copy;  2012-2019, Adrian Smith and Ralph Irving. Licensed under the GPL License.</li>
-							<li>esp32-wifi-manager, &copy;  2017-2019, Tony Pottier. Licensed under the MIT License.</li>
-							<li>SpinKit, &copy;  2015, Tobias Ahlin. Licensed under the MIT License.</li>
-							<li>jQuery, The jQuery Foundation. Licensed under the MIT License.</li>
-							<li>cJSON, &copy; 2009-2017, Dave Gamble and cJSON contributors. Licensed under the MIT License.</li>
-							<li>esp32-rotary-encoder, &copy; 2011-2019, David Antliff and Ben Buxton. Licensed under the GPL License.</li>
-							<li>tarablessd1306, &copy; 2017-2018, Tara Keeling. Licensed under the MIT license.</li>
-						</ul>
-					</div>
-					<h2>Show NVS Editor</h2>
-					<div class="custom-control custom-switch">
-						<input type="checkbox" class="custom-control-input" id="show-nvs" checked="checked">
-						<label class="custom-control-label" for="show-nvs"></label>
-					</div>
-					<h2>Show Advanced Commands</h2>
-					<div class="custom-control custom-switch">
-						<input type="checkbox" class="custom-control-input" id="show-commands" checked="checked">
-						<label class="custom-control-label" for="show-commands"></label>
-					</div>
-				</div>
-				<!-- credits -->
-			</div>
-			<footer class="footer">
-				<button class="btn-warning" id="reboot_nav" type="submit" onclick="$('#reboot_nav').removeClass('active'); delay_reboot(500,'', false);" style="display: none;">Reboot</button>
-				<button class="btn-danger" id="reboot_ota_nav" type="submit" onclick="$('#reboot_ota_nav').removeClass('active'); delay_reboot(500,'', true);" style="display: none;">Exit Recovery</button><br>
-				<span id="foot-fw"></span><span id="foot-wifi"></span></footer>
-			<iframe width="0" height="0" border="0" name="dummyframe" id="dummyframe"></iframe>
-		</div>
-	</body>
-</html>

File diff suppressed because it is too large
+ 0 - 0
components/wifi-manager/index.html


File diff suppressed because it is too large
+ 0 - 11
components/wifi-manager/res/bootstrap.css


BIN
components/wifi-manager/res/bootstrap.css.gz


File diff suppressed because it is too large
+ 0 - 0
components/wifi-manager/res/bootstrap.css.map


File diff suppressed because it is too large
+ 0 - 5
components/wifi-manager/res/bootstrap.js


BIN
components/wifi-manager/res/bootstrap.js.gz


File diff suppressed because it is too large
+ 0 - 0
components/wifi-manager/res/bootstrap.map


BIN
components/wifi-manager/res/bootstrap.map.gz


+ 0 - 1372
components/wifi-manager/res/code.js

@@ -1,1372 +0,0 @@
-// First, checks if it isn't implemented yet.
-if (!String.prototype.format) {
-	String.prototype.format = function() {
-		var args = arguments;
-		return this.replace(/{(\d+)}/g, function(match, number) {
-			return typeof args[number] != 'undefined' ?
-				args[number] :
-				match;
-		});
-	};
-}
-if (!String.prototype.encodeHTML) {
-	String.prototype.encodeHTML = function () {
-	  return this.replace(/&/g, '&amp;')
-				 .replace(/</g, '&lt;')
-				 .replace(/>/g, '&gt;')
-				 .replace(/"/g, '&quot;')
-				 .replace(/'/g, '&apos;');
-	};
-  }
-var nvs_type_t = {
-	NVS_TYPE_U8: 0x01,
-	/*!< Type uint8_t */
-	NVS_TYPE_I8: 0x11,
-	/*!< Type int8_t */
-	NVS_TYPE_U16: 0x02,
-	/*!< Type uint16_t */
-	NVS_TYPE_I16: 0x12,
-	/*!< Type int16_t */
-	NVS_TYPE_U32: 0x04,
-	/*!< Type uint32_t */
-	NVS_TYPE_I32: 0x14,
-	/*!< Type int32_t */
-	NVS_TYPE_U64: 0x08,
-	/*!< Type uint64_t */
-	NVS_TYPE_I64: 0x18,
-	/*!< Type int64_t */
-	NVS_TYPE_STR: 0x21,
-	/*!< Type string */
-	NVS_TYPE_BLOB: 0x42,
-	/*!< Type blob */
-	NVS_TYPE_ANY: 0xff /*!< Must be last */
-};
-var bt_icons = {
-	'bt_playing':'<path d="M15.98,10.28 L14.6,11.66 C14.4,11.86 14.4,12.17 14.6,12.37 L15.98,13.75 C16.26,14.03 16.73,13.9 16.83,13.52 C16.94,13.02 17,12.52 17,12 C17,11.49 16.94,10.99 16.82,10.52 C16.73,10.14 16.26,10 15.98,10.28 Z M20.1,7.78 C19.85,7.23 19.12,7.11 18.7,7.54 C18.44,7.8 18.39,8.18 18.53,8.52 C18.99,9.59 19.25,10.76 19.25,11.99 C19.25,13.23 18.99,14.41 18.52,15.48 C18.38,15.8 18.43,16.17 18.68,16.42 C19.09,16.83 19.78,16.71 20.03,16.19 C20.66,14.89 21.01,13.43 21.01,11.89 C21,10.44 20.68,9.04 20.1,7.78 Z M11.39,12 L14.98,8.42 C15.37,8.03 15.37,7.4 14.98,7 L10.69,2.71 C10.06,2.08 8.98,2.53 8.98,3.42 L8.98,9.6 L5.09,5.7 C4.7,5.31 4.07,5.31 3.68,5.7 C3.29,6.09 3.29,6.72 3.68,7.11 L8.57,12 L3.68,16.89 C3.29,17.28 3.29,17.91 3.68,18.3 C4.07,18.69 4.7,18.69 5.09,18.3 L8.98,14.41 L8.98,20.59 C8.98,21.48 10.06,21.93 10.69,21.3 L14.99,17 C15.38,16.61 15.38,15.98 14.99,15.58 L11.39,12 Z M10.98,5.83 L12.86,7.71 L10.98,9.59 L10.98,5.83 Z M10.98,18.17 L10.98,14.41 L12.86,16.29 L10.98,18.17 Z" id="🔹-Icon-Color" fill="#1D1D1D"></path>',
-	'bt_disconnected':'<path d="M13.41,12l3.8-3.79a1,1,0,0,0,0-1.42l-4.5-4.5a1,1,0,0,0-.33-.21,1,1,0,0,0-.76,0,1,1,0,0,0-.54.54A1,1,0,0,0,11,3V9.59L8.21,6.79A1,1,0,1,0,6.79,8.21L10.59,12l-3.8,3.79a1,1,0,1,0,1.42,1.42L11,14.41V21a1,1,0,0,0,.08.38,1,1,0,0,0,.54.54.94.94,0,0,0,.76,0,1,1,0,0,0,.33-.21l4.5-4.5a1,1,0,0,0,0-1.42ZM13,5.41,15.09,7.5,13,9.59Zm0,13.18V14.41l2.09,2.09Z"/>',
-	'bt_neutral':'<path d="M17.71 7.71L12 2h-1v7.59L6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 5.83l1.88 1.88L13 9.59V5.83zm1.88 10.46L13 18.17v-3.76l1.88 1.88z"/>',
-	'bt_connected':'<path d="M7 12l-2-2-2 2 2 2 2-2zm10.71-4.29L12 2h-1v7.59L6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 5.83l1.88 1.88L13 9.59V5.83zm1.88 10.46L13 18.17v-3.76l1.88 1.88zM19 10l-2 2 2 2 2-2-2-2z"/>',
-	'bt_disabled':'<path d="M13 5.83l1.88 1.88-1.6 1.6 1.41 1.41 3.02-3.02L12 2h-1v5.03l2 2v-3.2zM5.41 4L4 5.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l4.29-4.29 2.3 2.29L20 18.59 5.41 4zM13 18.17v-3.76l1.88 1.88L13 18.17z"/>',
-	'bt_searching':'<path d="M14.24 12.01l2.32 2.32c.28-.72.44-1.51.44-2.33 0-.82-.16-1.59-.43-2.31l-2.33 2.32zm5.29-5.3l-1.26 1.26c.63 1.21.98 2.57.98 4.02s-.36 2.82-.98 4.02l1.2 1.2c.97-1.54 1.54-3.36 1.54-5.31-.01-1.89-.55-3.67-1.48-5.19zm-3.82 1L10 2H9v7.59L4.41 5 3 6.41 8.59 12 3 17.59 4.41 19 9 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM11 5.83l1.88 1.88L11 9.59V5.83zm1.88 10.46L11 18.17v-3.76l1.88 1.88z"/>',
-	'play_circle_outline':'<path d="M10 16.5l6-4.5-6-4.5v9zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>',
-	'play_circle_filled':'<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 14.5v-9l6 4.5-6 4.5z"/>',
-	'play_arrow':'<path d="M0 0h24v24H0z" fill="none"/><path d="M8 5v14l11-7z"/>',
-	'pause':'<path d="M0 0h24v24H0z" fill="none"/><path d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"/>',
-	'stop':'<path d="M0 0h24v24H0z" fill="none"/><path d="M6 6h12v12H6z"/>',
-	'':''
-};
-
-var bt_state_icon = [
-	{"desc":"Idle", "sub":["bt_neutral"]},
-	{"desc":"Discovering","sub":["bt_searching"]},
-	{"desc":"Discovered","sub":["bt_searching"]},
-	{"desc":"Unconnected","sub":["bt_disabled"]},
-	{"desc":"Connecting","sub":["bt_disabled"]},
-	{"desc":"Connected","sub":["bt_connected", "play_circle_outline", "bt_playing", "pause", "stop"]},
-	{"desc":"Disconnecting","sub":["bt_neutral"]},
-];
-
-pillcolors = {
-	'MESSAGING_INFO' : 'badge-success',
-	'MESSAGING_WARNING' : 'badge-warning',
-	'MESSAGING_ERROR' : 'badge-danger'
-}
-var task_state_t = {
-	0: "eRunning",
-	/*!< A task is querying the state of itself, so must be running. */
-	1: "eReady",
-	/*!< The task being queried is in a read or pending ready list. */
-	2: "eBlocked",
-	/*!< The task being queried is in the Blocked state. */
-	3: "eSuspended",
-	/*!< The task being queried is in the Suspended state, or is in the Blocked state with an infinite time out. */
-	4: "eDeleted"
-
-}
-var escapeHTML = function(unsafe) {
-	return unsafe.replace(/[&<"']/g, function(m) {
-		switch (m) {
-			case '&':
-				return '&amp;';
-			case '<':
-				return '&lt;';
-			case '"':
-				return '&quot;';
-			default:
-				return '&#039;';
-		}
-	});
-};
-
-function handlebtstate(data){
-	var icon = '';
-	var tt='';
-	if (data['bt_status']!=undefined && data['bt_sub_status']!=undefined) {
-		var iconsvg=bt_state_icon[data['bt_status']]?.sub[data['bt_sub_status']];
-		if(iconsvg){
-			icon =  bt_icons[iconsvg];
-			tt=bt_state_icon[data['bt_status']]?.desc;
-		}
-		else {
-			icon = bt_icons.bt_connected;
-			tt='Output status';
-		}
-	}
-	o_type.title=tt;
-	$('#o_bt').html(icon);
-}
-function setNavColor(stylename){
-	$('[name=secnav]').removeClass('bg-secondary bg-warning');
-	$("footer.footer").removeClass('bg-secondary bg-warning');
-	$("#mainnav").removeClass('bg-secondary bg-warning');
-	if(stylename.length>0){
-		$('[name=secnav]').addClass(stylename);
-		$("footer.footer").addClass(stylename);
-		$("#mainnav").addClass(stylename);
-	}
-}
-function handleTemplateTypeRadio(outtype){
-	if (outtype == 'bt') {
-		$('#bt').prop('checked',true);
-		o_bt.setAttribute("display", "inline");				
-		o_spdif.setAttribute("display", "none");	
-		o_i2s.setAttribute("display", "none");			
-		output = 'bt';
-	} else if (outtype == 'spdif') {
-		$('#spdif').prop('checked',true);
-		o_bt.setAttribute("display", "none");		
-		o_spdif.setAttribute("display", "inline");	
-		o_i2s.setAttribute("display", "none");			
-		output = 'spdif';
-	} else {
-		$('#i2s').prop('checked',true);
-		o_bt.setAttribute("display", "none");		
-		o_spdif.setAttribute("display", "none");	
-		o_i2s.setAttribute("display", "inline");			
-		output = 'i2s';
-	}
-}
-
-function handleExceptionResponse(xhr, ajaxOptions, thrownError){
-	console.log(xhr.status);
-	console.log(thrownError);
-	enableStatusTimer=true;
-	if (thrownError != '') showLocalMessage(thrownError, 'MESSAGING_ERROR');
-}
-function HideCmdMessage(cmdname){
-	$('#toast_'+cmdname).css('display','none');
-	$('#toast_'+cmdname).removeClass('table-success').removeClass('table-warning').removeClass('table-danger').addClass('table-success');
-	$('#msg_'+cmdname).html('');
-}
-function showCmdMessage(cmdname,msgtype, msgtext,append=false){
-	color='table-success';
-	if (msgtype == 'MESSAGING_WARNING') {
-		color='table-warning';
-	} else if (msgtype == 'MESSAGING_ERROR') {
-		color ='table-danger';
-	} 						
-	$('#toast_'+cmdname).css('display','block');
-	$('#toast_'+cmdname).removeClass('table-success').removeClass('table-warning').removeClass('table-danger').addClass(color);
-	escapedtext=escapeHTML(msgtext.substring(0, msgtext.length - 1)).replace(/\n/g, '<br />');
-	escapedtext=($('#msg_'+cmdname).html().length>0 && append?$('#msg_'+cmdname).html()+'<br/>':'')+escapedtext;
-	$('#msg_'+cmdname).html(escapedtext);
-}
-
-var releaseURL = 'https://api.github.com/repos/sle118/squeezelite-esp32/releases';
-var recovery = false;
-var enableAPTimer = true;
-var enableStatusTimer = true;
-var commandHeader = 'squeezelite -b 500:2000 -d all=info -C 30 -W';
-var pname, ver, otapct, otadsc;
-var blockAjax = false;
-var blockFlashButton = false;
-var dblclickCounter = 0;
-var apList = null;
-var selectedSSID = "";
-var refreshAPInterval = null;
-var checkStatusInterval = null;
-var messagecount=0;
-var messageseverity="MESSAGING_INFO";
-var StatusIntervalActive = false;
-var RefreshAPIIntervalActive = false;
-var LastRecoveryState = null;
-var LastCommandsState = null;
-var output = '';
-
-Promise.prototype.delay = function(duration) {
-	return this.then(function(value) {
-	  return new Promise(function(resolve) {
-		setTimeout(function() {
-		  resolve(value)
-		}, duration)
-	  })
-	}, function(reason) {
-	  return new Promise(function(resolve, reject) {
-		setTimeout(function() {
-		  reject(reason)
-		}, duration)
-	  })
-	})
-  }
-function stopCheckStatusInterval() {
-	if (checkStatusInterval != null) {
-		clearTimeout(checkStatusInterval);
-		checkStatusInterval = null;
-	}
-	StatusIntervalActive = false;
-}
-
-function stopRefreshAPInterval() {
-	if (refreshAPInterval != null) {
-		clearTimeout(refreshAPInterval);
-		refreshAPInterval = null;
-	}
-	RefreshAPIIntervalActive = false;
-}
-
-function startCheckStatusInterval() {
-	StatusIntervalActive = true;
-	checkStatusInterval = setTimeout(checkStatus, 3000);
-}
-
-function startRefreshAPInterval() {
-	RefreshAPIIntervalActive = true;
-	refreshAPInterval = setTimeout(refreshAP(false), 4500); // leave enough time for the initial scan
-}
-
-function RepeatCheckStatusInterval() {
-	if (StatusIntervalActive)
-		startCheckStatusInterval();
-}
-
-function RepeatRefreshAPInterval() {
-	if (RefreshAPIIntervalActive)
-		startRefreshAPInterval();
-}
-
-function getConfigJson(slimMode) {
-	var config = {};
-	$("input.nvs").each(function() {
-		var key = $(this)[0].id;
-		var val = $(this).val();
-		if (!slimMode) {
-			var nvs_type = parseInt($(this)[0].attributes.nvs_type.nodeValue, 10);
-			if (key != '') {
-				config[key] = {};
-				if (nvs_type == nvs_type_t.NVS_TYPE_U8 ||
-					nvs_type == nvs_type_t.NVS_TYPE_I8 ||
-					nvs_type == nvs_type_t.NVS_TYPE_U16 ||
-					nvs_type == nvs_type_t.NVS_TYPE_I16 ||
-					nvs_type == nvs_type_t.NVS_TYPE_U32 ||
-					nvs_type == nvs_type_t.NVS_TYPE_I32 ||
-					nvs_type == nvs_type_t.NVS_TYPE_U64 ||
-					nvs_type == nvs_type_t.NVS_TYPE_I64) {
-					config[key].value = parseInt(val);
-				} else {
-					config[key].value = val;
-				}
-				config[key].type = nvs_type;
-			}
-		} else {
-			config[key] = val;
-		}
-	});
-	var key = $("#nvs-new-key").val();
-	var val = $("#nvs-new-value").val();
-	if (key != '') {
-		if (!slimMode) {
-			config[key] = {};
-			config[key].value = val;
-			config[key].type = 33;
-		} else {
-			config[key] = val;
-		}
-	}
-	return config;
-}
-
-function onFileLoad(elementId, event) {
-	var data = {};
-	try {
-		data = JSON.parse(elementId.srcElement.result);
-	} catch (e) {
-		alert('Parsing failed!\r\n ' + e);
-	}
-	$("input.nvs").each(function() {
-		var key = $(this)[0].id;
-		var val = $(this).val();
-		if (data[key]) {
-			if (data[key] != val) {
-				console.log("Changed " & key & " " & val & "==>" & data[key]);
-				$(this).val(data[key]);
-			}
-		} else {
-			console.log("Value " & key & " missing from file");
-		}
-	});
-
-}
-
-function onChooseFile(event, onLoadFileHandler) {
-	if (typeof window.FileReader !== 'function')
-		throw ("The file API isn't supported on this browser.");
-	input = event.target;
-	if (!input)
-		throw ("The browser does not properly implement the event object");
-	if (!input.files)
-		throw ("This browser does not support the `files` property of the file input.");
-	if (!input.files[0])
-		return undefined;
-	file = input.files[0];
-	fr = new FileReader();
-	fr.onload = onLoadFileHandler;
-	fr.readAsText(file);
-	input.value = "";
-} 
-function delay_reboot(duration,cmdname, ota=false){
-	url= (ota?'/reboot_ota.json':'/reboot.json');
-	$("tbody#tasks").empty();
-	setNavColor('bg-secondary');
-	enableStatusTimer=false;
-	$("#tasks_sect").css('visibility','collapse');
-	Promise.resolve(cmdname).delay(duration).then(function(cmdname) {
-		if(cmdname?.length >0){
-			showCmdMessage(cmdname,'MESSAGING_WARNING','Rebooting the ESP32.\n',true);
-		}
-		else {
-			showLocalMessage('Rebooting the ESP32.\n','MESSAGING_WARNING')
-		}
-		console.log('now triggering reboot');
-		$.ajax({
-			url: this.url,
-			dataType: 'text',
-			method: 'POST',
-			cache: false,
-			contentType: 'application/json; charset=utf-8',
-			data: JSON.stringify({
-				'timestamp': Date.now()
-			}),
-			error: handleExceptionResponse,
-			complete: function(response) {
-				console.log('reboot call completed');
-				enableStatusTimer=true;
-				Promise.resolve(cmdname).delay(6000).then(function(cmdname) {
-					if(cmdname?.length >0) HideCmdMessage(cmdname);
-					getCommands();
-					getConfig();
-				});
-			}
-		});
-	});
-}
-function save_autoexec1(apply){
-	showCmdMessage('cfg-audio-tmpl','MESSAGING_INFO',"Saving.\n",false);
-	var commandLine = commandHeader + ' -n "' + $("#player").val() + '"';
-	if (output == 'bt') {
-		commandLine += ' -o "BT" -R -Z 192000';
-		showCmdMessage('cfg-audio-tmpl','MESSAGING_INFO',"Remember to configure the Bluetooth audio device name.\n",true);
-	} else if (output == 'spdif') {
-		commandLine += ' -o SPDIF -Z 192000';
-	} else {
-		commandLine += ' -o I2S';
-	}
-	if ($("#optional").val() != '') {
-		commandLine += ' ' + $("#optional").val();
-	}
-	var data = {
-		'timestamp': Date.now()
-	};
-	autoexec = $("#disable-squeezelite").prop('checked') ? "0" : "1";
-	data['config'] = {
-		autoexec1: { value: commandLine, type: 33 },
-		autoexec: { value: autoexec, type: 33 }	
-	}
-
-	$.ajax({
-		url: '/config.json',
-		dataType: 'text',
-		method: 'POST',
-		cache: false,
-		contentType: 'application/json; charset=utf-8',
-		data: JSON.stringify(data),
-		error: handleExceptionResponse,
-		complete: function(response) {
-			if(JSON.parse(response?.responseText)?.result == "OK"){
-				showCmdMessage('cfg-audio-tmpl','MESSAGING_INFO',"Done.\n",true);
-				if (apply) {
-					delay_reboot(1500,"cfg-audio-tmpl");
-				}
-			}
-			else if(response.responseText) {
-				showCmdMessage('cfg-audio-tmpl','MESSAGING_WARNING',JSON.parse(response.responseText).Result + "\n",true);
-			}
-			else {
-				showCmdMessage('cfg-audio-tmpl','MESSAGING_ERROR',response.responseText+'\n');
-			}
-			console.log(response.responseText);
-
-		}		
-	});
-	console.log('sent data:', JSON.stringify(data));
-}
-$(document).ready(function() {
-	// $(".dropdown-item").on("click", function(e){
-    //     var linkText = $(e.relatedTarget).text(); // Get the link text
-        
-    // });
-	$("input#show-commands")[0].checked = LastCommandsState == 1 ? true : false;
-	$('a[href^="#tab-commands"]').hide();
-	$("#load-nvs").click(function() {
-		$("#nvsfilename").trigger('click');
-	});
-	$("#wifi-status").on("click", ".ape", function() {
-		$("#wifi").slideUp("fast", function() {});
-		$("#connect-details").slideDown("fast", function() {});
-	});
-	$("#clear-syslog").on("click",function(){
-		messagecount=0;
-		messageseverity="MESSAGING_INFO";
-		$('#msgcnt').text('');
-		$("#syslogTable").html('');
-	});
-	$("#manual_add").on("click", ".ape", function() {
-		selectedSSID = $(this).text();
-		$("#ssid-pwd").text(selectedSSID);
-		$("#wifi").slideUp("fast", function() {});
-		$("#connect_manual").slideDown("fast", function() {});
-		$("#connect").slideUp("fast", function() {});
-
-		//update wait screen
-		$("#loading").show();
-		$("#connect-success").hide();
-		$("#connect-fail").hide();
-	});
-
-	$("#wifi-list").on("click", ".ape", function() {
-		selectedSSID = $(this).text();
-		$("#ssid-pwd").text(selectedSSID);
-		$("#wifi").slideUp("fast", function() {});
-		$("#connect_manual").slideUp("fast", function() {});
-		$("#connect").slideDown("fast", function() {});
-
-		//update wait screen
-		$("#loading").show();
-		$("#connect-success").hide();
-		$("#connect-fail").hide();
-	});
-
-	$("#cancel").on("click", function() {
-		selectedSSID = "";
-		$("#connect").slideUp("fast", function() {});
-		$("#connect_manual").slideUp("fast", function() {});
-		$("#wifi").slideDown("fast", function() {});
-	});
-
-	$("#manual_cancel").on("click", function() {
-		selectedSSID = "";
-		$("#connect").slideUp("fast", function() {});
-		$("#connect_manual").slideUp("fast", function() {});
-		$("#wifi").slideDown("fast", function() {});
-	});
-
-	$("#join").on("click", function() {
-		performConnect();
-	});
-
-	$("#manual_join").on("click", function() {
-		performConnect($(this).data('connect'));
-	});
-
-	$("#ok-details").on("click", function() {
-		$("#connect-details").slideUp("fast", function() {});
-		$("#wifi").slideDown("fast", function() {});
-
-	});
-
-	$("#ok-credits").on("click", function() {
-		$("#credits").slideUp("fast", function() {});
-		$("#app").slideDown("fast", function() {});
-	});
-
-	$("#acredits").on("click", function(event) {
-		event.preventDefault();
-		$("#app").slideUp("fast", function() {});
-		$("#credits").slideDown("fast", function() {});
-	});
-
-	$("#ok-connect").on("click", function() {
-		$("#connect-wait").slideUp("fast", function() {});
-		$("#wifi").slideDown("fast", function() {});
-	});
-
-	$("#disconnect").on("click", function() {
-		$("#connect-details-wrap").addClass('blur');
-		$("#diag-disconnect").slideDown("fast", function() {});
-	});
-
-	$("#no-disconnect").on("click", function() {
-		$("#diag-disconnect").slideUp("fast", function() {});
-		$("#connect-details-wrap").removeClass('blur');
-	});
-
-	$("#yes-disconnect").on("click", function() {
-		stopCheckStatusInterval();
-		selectedSSID = "";
-
-		$("#diag-disconnect").slideUp("fast", function() {});
-		$("#connect-details-wrap").removeClass('blur');
-
-		$.ajax({
-			url: '/connect.json',
-			dataType: 'text',
-			method: 'DELETE',
-			cache: false,
-			contentType: 'application/json; charset=utf-8',
-			data: JSON.stringify({
-				'timestamp': Date.now()
-			})
-
-		});
-
-		startCheckStatusInterval();
-
-		$("#connect-details").slideUp("fast", function() {});
-		$("#wifi").slideDown("fast", function() {})
-	});
-	$("input#show-commands").on("click", function() {
-		this.checked = this.checked ? 1 : 0;
-		if (this.checked) {
-			$('a[href^="#tab-commands"]').show();
-			LastCommandsState = 1;
-		} else {
-			LastCommandsState = 0;
-			$('a[href^="#tab-commands"]').hide();
-		}
-	});
-
-	$("input#show-nvs").on("click", function() {
-		this.checked = this.checked ? 1 : 0;
-		if (this.checked) {
-			$('a[href^="#tab-nvs"]').show();
-		} else {
-			$('a[href^="#tab-nvs"]').hide();
-		}
-
-	});
-	$("#save-as-nvs").on("click", function() {
-		var data = {
-			'timestamp': Date.now()
-		};
-		var config = getConfigJson(true);
-		const a = document.createElement("a");
-		a.href = URL.createObjectURL(
-			new Blob([JSON.stringify(config, null, 2)], {
-				type: "text/plain"
-			}));
-		a.setAttribute("download", "nvs_config" + Date.now() + "json");
-		document.body.appendChild(a);
-		a.click();
-		document.body.removeChild(a);
-		console.log('sent config JSON with headers:', JSON.stringify(headers));
-		console.log('sent config JSON with data:', JSON.stringify(data));
-	});
-
-	$("#save-nvs").on("click", function() {
-		var headers = {};
-		var data = {
-			'timestamp': Date.now()
-		};
-		var config = getConfigJson(false);
-		data['config'] = config;
-		$.ajax({
-			url: '/config.json',
-			dataType: 'text',
-			method: 'POST',
-			cache: false,
-			headers: headers,
-			contentType: 'application/json; charset=utf-8',
-			data: JSON.stringify(data),
-			error: handleExceptionResponse
-		});
-		console.log('sent config JSON with headers:', JSON.stringify(headers));
-		console.log('sent config JSON with data:', JSON.stringify(data));
-	});
-	$("#fwUpload").on("click", function() {
-		var upload_path = "/flash.json";
-
-		if(!recovery) $('#flash-status').text('Rebooting to OTA');
-
-		var fileInput = document.getElementById("flashfilename").files;
-		if (fileInput.length == 0) {
-			alert("No file selected!");
-		} else {
-			var file = fileInput[0];
-			var xhttp = new XMLHttpRequest();
-			xhttp.onreadystatechange = function() {
-				if (xhttp.readyState == 4) {
-					if (xhttp.status == 200) {
-						showLocalMessage(xhttp.responseText, 'MESSAGING_INFO')
-					} else if (xhttp.status == 0) {
-						showLocalMessage("Upload connection was closed abruptly!", 'MESSAGING_ERROR');
-					} else {
-						showLocalMessage(xhttp.status + " Error!\n" + xhttp.responseText, 'MESSAGING_ERROR');
-					}
-				}
-			};
-			xhttp.open("POST", upload_path, true);
-			xhttp.send(file);
-		}
-		enableStatusTimer = true;
-	});
-	$("#flash").on("click", function() {
-		var data = {
-			'timestamp': Date.now()
-		};
-		if (blockFlashButton) return;
-		blockFlashButton = true;
-		var url = $("#fwurl").val();
-		data['config'] = {
-			fwurl: {
-				value: url,
-				type: 33
-			}
-		};
-
-		$.ajax({
-			url: '/config.json',
-			dataType: 'text',
-			method: 'POST',
-			cache: false,
-			contentType: 'application/json; charset=utf-8',
-			data: JSON.stringify(data),
-			error: handleExceptionResponse
-		});
-		enableStatusTimer = true;
-	});
-
-	$('[name=output-tmpl]').on("click", function() {
-		handleTemplateTypeRadio(this.id);
-	});
-
-	$('#fwcheck').on("click", function() {
-		$("#releaseTable").html("");
-		$("#fwbranch").empty();
-		$.getJSON(releaseURL, function(data) {
-				var i = 0;
-				var branches = [];
-				data.forEach(function(release) {
-					namecomponents=release.name.split('#');
-					ver=namecomponents[0];
-					idf=namecomponents[1];
-					cfg=namecomponents[2];
-					branch=namecomponents[3];
-					if (!branches.includes(branch)) {
-						branches.push(branch);
-					}
-				});
-				var fwb;
-				branches.forEach(function(branch) {
-					fwb += '<option value="' + branch + '">' + branch + '</option>';
-				});
-				$("#fwbranch").append(fwb);
-
-				data.forEach(function(release) {
-					var url = '';
-					release.assets.forEach(function(asset) {
-						if (asset.name.match(/\.bin$/)) {
-							url = asset.browser_download_url;
-						}
-					});
-					namecomponents = release.name.split('#');
-					ver=namecomponents[0];
-					idf=namecomponents[1];
-					cfg=namecomponents[2];
-					branch=namecomponents[3];
-					
-					var body = release.body;
-					body = body.replace(/\'/ig, "\"");
-					body = body.replace(/[\s\S]+(### Revision Log[\s\S]+)### ESP-IDF Version Used[\s\S]+/, "$1");
-					body = body.replace(/- \(.+?\) /g, "- ");
-					var [date, time] = release.created_at.split('T');
-					var trclass = (i++ > 6) ? ' hide' : '';
-					$("#releaseTable").append(
-						"<tr class='release" + trclass + "'>" +
-						"<td data-toggle='tooltip' title='" + body + "'>" + ver + "</td>" +
-						"<td>" + date + "</td>" +
-						"<td>" + cfg + "</td>" +
-						"<td>" + idf + "</td>" +
-						"<td>" + branch + "</td>" +
-						"<td><input type='button' class='btn btn-success' value='Select' data-url='" + url + "' onclick='setURL(this);' /></td>" +
-						"</tr>"
-					);
-				});
-				if (i > 7) {
-					$("#releaseTable").append(
-						"<tr id='showall'>" +
-						"<td colspan='6'>" +
-						"<input type='button' id='showallbutton' class='btn btn-info' value='Show older releases' />" +
-						"</td>" +
-						"</tr>"
-					);
-					$('#showallbutton').on("click", function() {
-						$("tr.hide").removeClass("hide");
-						$("tr#showall").addClass("hide");
-					});
-				}
-				$("#searchfw").css("display", "inline");
-			})
-			.fail(function() {
-				alert("failed to fetch release history!");
-			});
-	});
-
-	$('input#searchinput').on("input", function() {
-		var s = $('input#searchinput').val();
-		var re = new RegExp(s, "gi");
-		if (s.length == 0) {
-			$("tr.release").removeClass("hide");
-		} else if (s.length < 3) {
-			$("tr.release").addClass("hide");
-		} else {
-			$("tr.release").addClass("hide");
-			$("tr.release").each(function(tr) {
-				$(this).find('td').each(function() {
-					if ($(this).html().match(re)) {
-						$(this).parent().removeClass('hide');
-					}
-				});
-			});
-		}
-	});
-
-	$("#fwbranch").change(function(e) {
-		var branch = this.value;
-		var re = new RegExp('^' + branch + '$', "gi");
-		$("tr.release").addClass("hide");
-		$("tr.release").each(function(tr) {
-			$(this).find('td').each(function() {
-				console.log($(this).html());
-				if ($(this).html().match(re)) {
-					$(this).parent().removeClass('hide');
-				}
-			});
-		});
-	});
-
-	$('#boot-button').on("click", function() {
-		enableStatusTimer = true;
-	});
-	$('#reboot-button').on("click", function() {
-		enableStatusTimer = true;
-	});
-
-	$('#updateAP').on("click", function() {
-		refreshAP(true);
-		console.log("refresh AP");
-	});
-
-	//first time the page loads: attempt to get the connection status and start the wifi scan
-	refreshAP(false);
-	getConfig();
-	getCommands();
-
-	//start timers
-	startCheckStatusInterval();
-	//startRefreshAPInterval();
-
-	$('[data-toggle="tooltip"]').tooltip({
-		html: true,
-		placement: 'right',
-	});
-});
-
-function setURL(button) {
-	var url = button.dataset.url;
-	$("#fwurl").val(url);
-
-	$('[data-url^="http"]').addClass("btn-success").removeClass("btn-danger");
-	$('[data-url="' + url + '"]').addClass("btn-danger").removeClass("btn-success");
-}
-
-function performConnect(conntype) {
-	//stop the status refresh. This prevents a race condition where a status 
-	//request would be refreshed with wrong ip info from a previous connection
-	//and the request would automatically shows as succesful.
-	stopCheckStatusInterval();
-
-	//stop refreshing wifi list
-	stopRefreshAPInterval();
-
-	var pwd;
-	var dhcpname;
-	if (conntype == 'manual') {
-		//Grab the manual SSID and PWD
-		selectedSSID = $('#manual_ssid').val();
-		pwd = $("#manual_pwd").val();
-		dhcpname = $("#dhcp-name2").val();;
-	} else {
-		pwd = $("#pwd").val();
-		dhcpname = $("#dhcp-name1").val();;
-	}
-	//reset connection 
-	$("#loading").show();
-	$("#connect-success").hide();
-	$("#connect-fail").hide();
-
-	$("#ok-connect").prop("disabled", true);
-	$("#ssid-wait").text(selectedSSID);
-	$("#connect").slideUp("fast", function() {});
-	$("#connect_manual").slideUp("fast", function() {});
-	$("#connect-wait").slideDown("fast", function() {});
-
-	$.ajax({
-		url: '/connect.json',
-		dataType: 'text',
-		method: 'POST',
-		cache: false,
-		//        headers: { 'X-Custom-ssid': selectedSSID, 'X-Custom-pwd': pwd, 'X-Custom-host_name': dhcpname },
-		contentType: 'application/json; charset=utf-8',
-		data: JSON.stringify({
-			'timestamp': Date.now(),
-			'ssid': selectedSSID,
-			'pwd': pwd,
-			'host_name': dhcpname
-		}),
-		error: handleExceptionResponse
-	});
-
-	//now we can re-set the intervals regardless of result
-	startCheckStatusInterval();
-	startRefreshAPInterval();
-}
-
-function rssiToIcon(rssi) {
-	if (rssi >= -60) {
-		return 'w0';
-	} else if (rssi >= -67) {
-		return 'w1';
-	} else if (rssi >= -75) {
-		return 'w2';
-	} else {
-		return 'w3';
-	}
-}
-
-function refreshAP(force) {
-	if (!enableAPTimer && !force) return;
-	$.getJSON("/scan.json", async function(data) {
-		await sleep(2000);
-		$.getJSON("/ap.json", function(data) {
-			if (data.length > 0) {
-				//sort by signal strength
-				data.sort(function(a, b) {
-					var x = a["rssi"];
-					var y = b["rssi"];
-					return ((x < y) ? 1 : ((x > y) ? -1 : 0));
-				});
-				apList = data;
-				refreshAPHTML(apList);
-			}
-		});
-	});
-}
-
-function refreshAPHTML(data) {
-	var h = "";
-	data.forEach(function(e, idx, array) {
-		h += '<div class="ape{0}"><div class="{1}"><div class="{2}">{3}</div></div></div>'.format(idx === array.length - 1 ? '' : ' brdb', rssiToIcon(e.rssi), e.auth == 0 ? '' : 'pw', e.ssid);
-		h += "\n";
-	});
-
-	$("#wifi-list").html(h)
-}
-function getMessages() {
-	$.getJSON("/messages.json?1", async function(data) {
-			for (const msg of data) {
-				var msg_age = msg["current_time"] - msg["sent_time"];
-				var msg_time = new Date();
-				msg_time.setTime(msg_time.getTime() - msg_age);
-				switch (msg["class"]) {
-					case "MESSAGING_CLASS_OTA":
-						//message: "{"ota_dsc":"Erasing flash complete","ota_pct":0}"
-						var ota_data = JSON.parse(msg["message"]);
-						if (ota_data.hasOwnProperty('ota_pct') && ota_data['ota_pct'] != 0) {
-							otapct = ota_data['ota_pct'];
-							$('.progress-bar').css('width', otapct + '%').attr('aria-valuenow', otapct);
-							$('.progress-bar').html(otapct + '%');
-						}
-						if (ota_data.hasOwnProperty('ota_dsc') && ota_data['ota_dsc'] != '') {
-							otadsc = ota_data['ota_dsc'];
-							$("span#flash-status").html(otadsc);
-							if (msg.type == "MESSAGING_ERROR" || otapct > 95) {
-								blockFlashButton = false;
-								enableStatusTimer = true;
-							}
-						}
-						break;
-					case "MESSAGING_CLASS_STATS":
-						// for task states, check structure : task_state_t
-						var stats_data = JSON.parse(msg["message"]);
-						console.log(msg_time.toLocaleString() + " - Number of tasks on the ESP32: " + stats_data["ntasks"]);
-						console.log(msg_time.toLocaleString() + '\tname' + '\tcpu' + '\tstate' + '\tminstk' + '\tbprio' + '\tcprio' + '\tnum');
-						if(stats_data["tasks"]){
-							if($("#tasks_sect").css('visibility') =='collapse'){
-								$("#tasks_sect").css('visibility','visible');
-							}
-							var trows="";
-							stats_data["tasks"].sort(function(a, b){
-								return (b.cpu-a.cpu);
-							}).forEach(function(task) {
-								console.log(msg_time.toLocaleString() + '\t' + task["nme"] + '\t' + task["cpu"] + '\t' + task_state_t[task["st"]] + '\t' + task["minstk"] + '\t' + task["bprio"] + '\t' + task["cprio"] + '\t' + task["num"]);
-								trows+='<tr class="table-primary"><th scope="row">' + task["num"]+ '</th><td>' + task["nme"]  + '</td><td>' + task["cpu"] + '</td><td>' + task_state_t[task["st"]] + '</td><td>' + task["minstk"]+ '</td><td>' + task["bprio"]+ '</td><td>' + task["cprio"] + '</td></tr>'
-							});
-							$("tbody#tasks").html(trows);
-						}
-						else if($("#tasks_sect").css('visibility') =='visible'){
-								$("tbody#tasks").empty();
-								$("#tasks_sect").css('visibility','collapse');
-							}
-						break;
-					case "MESSAGING_CLASS_SYSTEM":
-						var r = showMessage(msg,msg_time, msg_age);
-						break;
-					case "MESSAGING_CLASS_CFGCMD":
-						var msgparts=msg["message"].split(/([^\n]*)\n(.*)/gs);
-						showCmdMessage(msgparts[1],msg['type'],msgparts[2],true);
-						break;
-					default:
-						break;
-				}
-			}
-		})
-		.fail( handleExceptionResponse);
-	/*
-    Minstk is minimum stack space left
-Bprio is base priority
-cprio is current priority
-nme is name
-st is task state. I provided a "typedef" that you can use to convert to text
-cpu is cpu percent used
-*/
-}
-function handleRecoveryMode(data){
-	if (data.hasOwnProperty('recovery')) {
-		if (LastRecoveryState != data["recovery"]) {
-			LastRecoveryState = data["recovery"];
-			$("input#show-nvs")[0].checked = LastRecoveryState == 1 ? true : false;
-		}
-		if ($("input#show-nvs")[0].checked) {
-			$('a[href^="#tab-nvs"]').show();
-		} else {
-			$('a[href^="#tab-nvs"]').hide();
-		}
-		enableStatusTimer = true;
-		if (data["recovery"] === 1) {
-			recovery = true;
-			$("#reboot_ota_nav").show();
-			$("#reboot_nav").hide();
-			$("#otadiv").show();
-			$('#uploaddiv').show();
-			$("footer.footer").removeClass('sl');
-			setNavColor('bg-warning');
-			$("#boot-button").html('Reboot');
-			$("#boot-form").attr('action', '/reboot_ota.json');
-			$("flashfilename").show();
-			$("fwUpload").show();
-		} else {
-			recovery = false;
-			$("#reboot_ota_nav").hide();
-			$("#reboot_nav").show();
-			$("#otadiv").hide();
-			$('#uploaddiv').hide();
-			setNavColor('');
-			$("footer.footer").addClass('sl');
-			$("#boot-button").html('Recovery');
-			$("#boot-form").attr('action', '/recovery.json');
-			$("flashfilename").hide();
-			$("fwUpload").hide();
-		}
-	}
-}
-function handleWifiStatus(data){
-	if (data.hasOwnProperty('ssid') && data['ssid'] != "") {
-		if (data["ssid"] === selectedSSID) {
-			//that's a connection attempt
-			if (data["urc"] === 0) {
-				//got connection
-				$("#connected-to span").text(data["ssid"]);
-				$("#connect-details h1").text(data["ssid"]);
-				$("#ip").text(data["ip"]);
-				$("#netmask").text(data["netmask"]);
-				$("#gw").text(data["gw"]);
-				$("#wifi-status").slideDown("fast", function() {});
-				$("span#foot-wifi").html(", SSID: <strong>" + data["ssid"] + "</strong>, IP: <strong>" + data["ip"] + "</strong>");
-
-				//unlock the wait screen if needed
-				$("#ok-connect").prop("disabled", false);
-
-				//update wait screen
-				$("#loading").hide();
-				$("#connect-success").text("Your IP address now is: " + data["ip"]);
-				$("#connect-success").show();
-				$("#connect-fail").hide();
-				enableAPTimer = false;
-			} else if (data["urc"] === 1) {
-				//failed attempt
-				$("#connected-to span").text('');
-				$("#connect-details h1").text('');
-				$("#ip").text('0.0.0.0');
-				$("#netmask").text('0.0.0.0');
-				$("#gw").text('0.0.0.0');
-				$("span#foot-wifi").html("");
-				//don't show any connection
-				$("#wifi-status").slideUp("fast", function() {});
-				//unlock the wait screen
-				$("#ok-connect").prop("disabled", false);
-
-				//update wait screen
-				$("#loading").hide();
-				$("#connect-fail").show();
-				$("#connect-success").hide();
-
-				enableAPTimer = true;
-				enableStatusTimer = true;
-			}
-		} else if (data.hasOwnProperty('urc') && data['urc'] === 0) {
-			//ESP32 is already connected to a wifi without having the user do anything
-			if (!($("#wifi-status").is(":visible"))) {
-				$("#connected-to span").text(data["ssid"]);
-				$("#connect-details h1").text(data["ssid"]);
-				$("#ip").text(data["ip"]);
-				$("#netmask").text(data["netmask"]);
-				$("#gw").text(data["gw"]);
-				$("#wifi-status").slideDown("fast", function() {});
-				$("span#foot-wifi").html(", SSID: <strong>" + data["ssid"] + "</strong>, IP: <strong>" + data["ip"] + "</strong>");
-			}
-			enableAPTimer = false;
-		}
-	} else if (data.hasOwnProperty('urc') && data['urc'] === 2) {
-		//that's a manual disconnect
-		if ($("#wifi-status").is(":visible")) {
-			$("#wifi-status").slideUp("fast", function() {});
-			$("span#foot-wifi").html("");
-		}
-		enableAPTimer = true;
-		enableStatusTimer = true;
-	}
-}
-
-function checkStatus() {
-	RepeatCheckStatusInterval();
-	if (!enableStatusTimer) return;
-	if (blockAjax) return;
-	blockAjax = true;
-	getMessages();
-	$.getJSON("/status.json", function(data) {
-		handleRecoveryMode(data);
-		handleWifiStatus(data);
-		handlebtstate(data);
-		if (data.hasOwnProperty('project_name') && data['project_name'] != '') {
-			pname = data['project_name'];
-		}
-		if (data.hasOwnProperty('version') && data['version'] != '') {
-			ver = data['version'];
-			$("span#foot-fw").html("fw: <strong>" + ver + "</strong>, mode: <strong>" + pname + "</strong>");
-		} else {
-			$("span#flash-status").html('');
-		}
-		if (data.hasOwnProperty('Voltage')) {
-			var voltage = data['Voltage'];
-			var layer;
-
-			/* Assuming Li-ion 18650s as a power source, 3.9V per cell, or above is treated
-				as full charge (>75% of capacity).  3.4V is empty. The gauge is loosely
-				following the graph here:
-					https://learn.adafruit.com/li-ion-and-lipoly-batteries/voltages
-				using the 0.2C discharge profile for the rest of the values.
-			*/
-
-			if (voltage > 0) {
-				if (inRange(voltage, 5.8, 6.8) || inRange(voltage, 8.8, 10.2)) {
-					layer = bat0;
-				} else if (inRange(voltage, 6.8, 7.4) || inRange(voltage, 10.2, 11.1)) {
-					layer = bat1;
-				} else if (inRange(voltage, 7.4, 7.5) || inRange(voltage, 11.1, 11.25)) {
-					layer = bat2;
-				} else if (inRange(voltage, 7.5, 7.8) || inRange(voltage, 11.25, 11.7)) {
-					layer = bat3;	
-				} else {
-					layer = bat4;
-				}
-				layer.setAttribute("display","inline");
-			}
-		}
-		if (data.hasOwnProperty('Jack')) {
-			var jack = data['Jack'];
-			if (jack) {
-				o_jack.setAttribute("display", "inline");
-			}
-		}
-		blockAjax = false;
-	})
-	.fail(function(xhr, ajaxOptions, thrownError) {
-		handleExceptionResponse(xhr, ajaxOptions, thrownError);
-		blockAjax = false;
-	});
-}
-function runCommand(button, reboot) {
-	cmdstring = button.attributes.cmdname.value;
-	showCmdMessage(button.attributes.cmdname.value,'MESSAGING_INFO',"Executing.",false);
-	fields = document.getElementById("flds-" + cmdstring);
-	cmdstring += ' ';
-	if (fields) {
-		allfields = fields.querySelectorAll("select,input");
-		for (i = 0; i < allfields.length; i++) {
-			attr = allfields[i].attributes;
-			qts = '';
-			opt = '';
-			isSelect = allfields[i].attributes?.class?.value == "custom-select";
-			if ((isSelect && allfields[i].selectedIndex != 0) || !isSelect) {
-				if (attr.longopts.value !== "undefined") {
-					opt += '--' + attr.longopts.value;
-				} else if (attr.shortopts.value !== "undefined") {
-					opt = '-' + attr.shortopts.value;
-				}
-
-				if (attr.hasvalue.value == "true") {
-					if (allfields[i].value != '') {
-						qts = (/\s/.test(allfields[i].value)) ? '"' : '';
-						cmdstring += opt + ' '+  qts + allfields[i].value + qts + ' ';
-					}
-				} else {
-					// this is a checkbox
-					if (allfields[i].checked) cmdstring += opt + ' ';
-				}
-			}
-		}
-	}
-	console.log(cmdstring);
-
-	var data = {
-		'timestamp': Date.now()
-	};
-	data['command'] = cmdstring;
-
-	$.ajax({
-		url: '/commands.json',
-		dataType: 'text',
-		method: 'POST',
-		cache: false,
-		contentType: 'application/json; charset=utf-8',
-		data: JSON.stringify(data),
-		error: handleExceptionResponse,
-		complete: function(response) {
-			//var returnedResponse = JSON.parse(response.responseText);
-			console.log(response.responseText);
-			if (response.responseText && JSON.parse(response.responseText).Result == "Success" && reboot) {
-				delay_reboot(2500,button.attributes.cmdname.value);
-			}
-		}
-	});
-	enableStatusTimer = true;
-}
-
-function getCommands() {
-	$.getJSON("/commands.json", function(data) {
-			console.log(data);
-			data.commands.forEach(function(command) {
-				if ($("#flds-" + command.name).length == 0) {
-					cmd_parts = command.name.split('-');
-					isConfig = cmd_parts[0]=='cfg';
-					targetDiv= '#tab-' + cmd_parts[0]+'-'+cmd_parts[1];
-					innerhtml = '';
-					//innerhtml+='<tr class="table-light"><td>'+(isConfig?'<h1>':'');
-					innerhtml += '<div class="card text-white bg-primary mb-3"><div class="card-header">' + escapeHTML(command.help).replace(/\n/g, '<br />') + '</div><div class="card-body">';
-					innerhtml += '<fieldset id="flds-' + command.name + '">';
-					if (command.hasOwnProperty("argtable")) {
-						command.argtable.forEach(function(arg) {
-							placeholder = arg?.datatype || '';
-							ctrlname = command.name + '-' + arg.longopts;
-							curvalue = data.values?. [command.name]?. [arg.longopts];
-
-							var attributes = 'hasvalue=' + arg.hasvalue + ' ';
-							//attributes +='datatype="'+arg.datatype+'" ';
-							attributes += 'longopts="' + arg.longopts + '" ';
-							attributes += 'shortopts="' + arg.shortopts + '" ';
-							attributes += 'checkbox=' + arg.checkbox + ' ';
-							attributes += 'cmdname="' + command.name + '" ';
-							attributes += 'id="' + ctrlname + '" name="' + ctrlname + '" hasvalue="' + arg.hasvalue + '"   ';
-							extraclass =  ((arg.mincount>0)?'bg-success':'');
-							if(arg.glossary == 'hidden'){
-								attributes += ' style="visibility: hidden;"';
-							}
-							if (arg.checkbox) {
-								innerhtml += '<div class="form-check"><label class="form-check-label">';
-								innerhtml += '<input type="checkbox" ' + attributes + ' class="form-check-input '+extraclass+'" value="" >' + arg.glossary.encodeHTML() + '<small class="form-text text-muted">Previous value: ' + (curvalue?"Checked":"Unchecked") + '</small></label>';
-							} else {
-								innerhtml += '<div class="form-group" ><label for="' + ctrlname + '">' + arg.glossary.encodeHTML() + '</label>';
-								if (placeholder.includes('|')) {
-									extraclass = (placeholder.startsWith('+')? ' multiple ':'');
-									placeholder = placeholder.replace('<', '').replace('=', '').replace('>', '');
-									innerhtml += '<select ' + attributes + ' class="form-control '+extraclass+'"';
-									placeholder = '--|' + placeholder;
-									placeholder.split('|').forEach(function(choice) {
-										innerhtml += '<option >' + choice + '</option>';
-									});
-									innerhtml += '</select>';
-								} else {
-									innerhtml += '<input type="text" class="form-control '+extraclass+'" placeholder="' + placeholder + '" ' + attributes + '>';
-								}
-								innerhtml += '<small class="form-text text-muted">Previous value: ' + (curvalue || '') + '</small>';
-							}
-							innerhtml += '</div>';
-						});
-					}
-					innerhtml +='<div style="margin-top: 16px;">';
-					innerhtml += '<div class="toast show" role="alert" aria-live="assertive" aria-atomic="true" style="display: none;" id="toast_'+command.name+'">';
-					innerhtml += '<div class="toast-header"><strong class="mr-auto">Result</strong><button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close" onclick="$(this).parent().parent().hide()">';
-					innerhtml += '<span aria-hidden="true">×</span></button></div><div class="toast-body" id="msg_'+command.name+'"></div></div>'
-					if (isConfig) {
-						innerhtml += '<button type="submit" class="btn btn-info" id="btn-save-' + command.name + '" cmdname="' + command.name + '" onclick="runCommand(this,false)">Save</button>';
-						innerhtml += '<button type="submit" class="btn btn-warning" id="btn-commit-' + command.name + '" cmdname="' + command.name + '" onclick="runCommand(this,true)">Apply</button>';
-					} else {
-						innerhtml += '<button type="submit" class="btn btn-success" id="btn-run-' + command.name + '" cmdname="' + command.name + '" onclick="runCommand(this,false)">Execute</button>';
-					}
-					innerhtml+= '</div></fieldset></div></div>';
-					if (isConfig) {
-						$(targetDiv).append(innerhtml);
-					} else {
-						$("#commands-list").append(innerhtml);
-					}
-				}
-			});
-
-			data.commands.forEach(function(command) {
-				$('[cmdname='+command.name+']:input').val('');
-				$('[cmdname='+command.name+']:checkbox').prop('checked',false);
-				if (command.hasOwnProperty("argtable")) {
-					command.argtable.forEach(function(arg) {
-						ctrlselector = '#' + command.name + '-' + arg.longopts;
-						ctrlValue = data.values?.[command.name]?.[arg.longopts];
-						if (arg.checkbox) {
-							$(ctrlselector)[0].checked = ctrlValue;
-						} else {
-							if(ctrlValue!=undefined) $(ctrlselector).val( ctrlValue ).change();
-							if ($(ctrlselector)[0].value.length == 0 && (arg?.datatype || '').includes('|')) {
-								$(ctrlselector)[0].value = '--';
-							}
-						}
-					});
-				}
-			});
-
-		})
-		.fail(function(xhr, ajaxOptions, thrownError) {
-			handleExceptionResponse(xhr, ajaxOptions, thrownError);
-			$("#commands-list").empty();
-			blockAjax = false;
-		});
-}
-
-function getConfig() {
-	$.getJSON("/config.json", function(entries) {
-		$("#nvsTable tr").remove();
-		data = entries.hasOwnProperty('config') ? entries.config : entries;
-			Object.keys(data).sort().forEach(function(key, i) {
-				if (data.hasOwnProperty(key)) {
-					val = data[key].value;
-					if (key == 'autoexec') {
-						if (data["autoexec"].value === "0") {
-							$("#disable-squeezelite")[0].checked = true;
-						} else {
-							$("#disable-squeezelite")[0].checked = false;
-						}
-					} else if (key == 'autoexec1') {						
-						var re = /-o\s?(["][^"]*["]|[^-]+)/g;
-						var m = re.exec(val);
-						if (m[1].toUpperCase().startsWith('I2S')) {
-							handleTemplateTypeRadio('i2s');
-						} else if (m[1].toUpperCase().startsWith('SPDIF')) {
-							handleTemplateTypeRadio('spdif');
-						} else if (m[1].toUpperCase().startsWith('"BT')) {
-							handleTemplateTypeRadio('bt');
-						}
-					} else if (key == 'host_name') {
-						val = val.replaceAll('"', '');
-						$("input#dhcp-name1").val(val);
-						$("input#dhcp-name2").val(val);
-						$("#player").val(val);
-						document.title=val;
-					}
-
-					$("tbody#nvsTable").append(
-						"<tr>" +
-						"<td>" + key + "</td>" +
-						"<td class='value'>" +
-						"<input type='text' class='form-control nvs' id='" + key + "'  nvs_type=" + data[key].type + " >" +
-						"</td>" +
-						"</tr>"
-					);
-					$("input#" + key).val(data[key].value);
-				}
-			});
-			$("tbody#nvsTable").append("<tr><td><input type='text' class='form-control' id='nvs-new-key' placeholder='new key'></td><td><input type='text' class='form-control' id='nvs-new-value' placeholder='new value' nvs_type=33 ></td></tr>");
-			if (entries.hasOwnProperty('gpio')) {
-				$("tbody#gpiotable tr").remove();
-				entries.gpio.forEach(function(gpio_entry) {
-					cl = gpio_entry.fixed ? "table-secondary" : "table-primary";
-					$("tbody#gpiotable").append('<tr class=' + cl + '><th scope="row">' + gpio_entry.group + '</th><td>' + gpio_entry.name + '</td><td>' + gpio_entry.gpio + '</td><td>' + (gpio_entry.fixed ? 'Fixed':'Configuration') + '</td></tr>');
-				});
-			}
-		})
-		.fail(function(xhr, ajaxOptions, thrownError) {
-			handleExceptionResponse(xhr, ajaxOptions, thrownError);
-			blockAjax = false;
-		});
-}
-function showLocalMessage(message,severity, age = 0){
-	msg={
-		'type':'Local',
-		'message':message,
-		'type' : severity
-	}
-	showMessage(msg,severity,age);
-}
-
-function showMessage(msg, msg_time,age = 0) {
-	color='table-success';
-	
-	if (msg['type'] == 'MESSAGING_WARNING') {
-		color='table-warning';
-		if(messageseverity=='MESSAGING_INFO'){
-			messageseverity = 'MESSAGING_WARNING';
-		}
-	} else if (msg['type'] == 'MESSAGING_ERROR') {
-		if(messageseverity=='MESSAGING_INFO' || messageseverity=='MESSAGING_WARNING'){
-			messageseverity = 'MESSAGING_ERROR';
-		}		
-		color ='table-danger';
-	} 
-	if(++messagecount>0){
-		$('#msgcnt').removeClass('badge-success');
-		$('#msgcnt').removeClass('badge-warning');
-		$('#msgcnt').removeClass('badge-danger');
-		$('#msgcnt').addClass(pillcolors[messageseverity]);
-		$('#msgcnt').text(messagecount);
-	}
-	
-	$("#syslogTable").append(
-		"<tr class='" + color + "'>" +
-		"<td>" + msg_time.toLocaleString() + "</td>" +
-		"<td>" + escapeHTML(msg["message"]).replace(/\n/g, '<br />') + "</td>" +
-		"</tr>"
-	);
-}
-
-function inRange(x, min, max) {
-	return ((x - min) * (x - max) <= 0);
-}
-
-function sleep(ms) {
-	return new Promise(resolve => setTimeout(resolve, ms));
-}

BIN
components/wifi-manager/res/code.js.gz


BIN
components/wifi-manager/res/favicon.ico.gz


File diff suppressed because it is too large
+ 0 - 1
components/wifi-manager/res/jquery.js


BIN
components/wifi-manager/res/jquery.js.gz


BIN
components/wifi-manager/res/style.css.gz


+ 19 - 0
components/wifi-manager/webapp/.babelrc

@@ -0,0 +1,19 @@
+{
+  "presets": [
+    "@babel/preset-env",
+    "@babel/typescript"
+  ],
+  "env": {
+    "production": {
+      "presets": [
+        "minify"
+      ]
+    }
+  },
+  "plugins": [
+    "@babel/plugin-proposal-nullish-coalescing-operator",
+    "@babel/plugin-proposal-optional-chaining",
+    "@babel/plugin-transform-runtime",
+
+  ],
+}

+ 1 - 0
components/wifi-manager/webapp/.eslintcache

@@ -0,0 +1 @@
+[{"C:\\Users\\sle11\\Documents\\VSCode\\squeezelite-esp32\\components\\wifi-manager\\webapp\\src\\js\\test.js":"1","C:\\Users\\sle11\\Documents\\VSCode\\squeezelite-esp32\\components\\wifi-manager\\webapp\\src\\js\\custom.js":"2"},{"size":4775,"mtime":1608244817341,"results":"3","hashOfConfig":"4"},{"size":52524,"mtime":1608525668984,"results":"5","hashOfConfig":"4"},{"filePath":"6","messages":"7","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"8"},"1lj4yrw",{"filePath":"9","messages":"10","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\sle11\\Documents\\VSCode\\squeezelite-esp32\\components\\wifi-manager\\webapp\\src\\js\\test.js",[],[],"C:\\Users\\sle11\\Documents\\VSCode\\squeezelite-esp32\\components\\wifi-manager\\webapp\\src\\js\\custom.js",[]]

+ 27 - 0
components/wifi-manager/webapp/.eslintrc

@@ -0,0 +1,27 @@
+{
+  "parser": "babel-eslint",
+  "extends": "eslint:recommended",
+  "parserOptions": {
+    "ecmaVersion": 2020,
+    "ecmaFeatures": {
+      "modules": true
+    }
+  },
+  "env": {
+    "browser": true,
+    "es6": true,
+    "jquery": true
+  }  ,
+  "rules": {
+    "no-tabs": "off",
+    "semi": 0,
+    "comma-dangle": 0,
+    "require-jsdoc": ["off", {
+      "require": {
+        "FunctionDeclaration": true,
+        "MethodDefinition": false,
+        "ClassDeclaration": false
+      }
+    }]
+  }
+}

+ 18 - 0
components/wifi-manager/webapp/.eslintrc.json.back

@@ -0,0 +1,18 @@
+{
+    "env": {
+        "browser": true,
+        "es6": true,
+        "jquery": true
+    },
+    "extends": "eslint:recommended",
+    "globals": {
+        "Atomics": "readonly",
+        "SharedArrayBuffer": "readonly"
+    },
+    "parserOptions": {
+        "ecmaVersion": 2018,
+        "sourceType": "module"
+    },
+    "rules": {
+    }
+}

+ 5 - 0
components/wifi-manager/webapp/.gitignore

@@ -0,0 +1,5 @@
+node_modules
+dist
+.DS_Store
+.idea
+package-lock.json

+ 12 - 0
components/wifi-manager/webapp/.vscode/launch.json

@@ -0,0 +1,12 @@
+{
+    "configurations": [
+        {
+            "type": "chrome",
+            "request": "launch",
+            "name": "Debug",
+            "preLaunchTask": "webpack: dev server",
+            "sourceMaps": true,
+            "trace": true
+          }
+    ]
+}

+ 42 - 0
components/wifi-manager/webapp/.vscode/tasks.json

@@ -0,0 +1,42 @@
+{
+    "version": "2.0.0",
+    "tasks": [
+        // {
+        //     "label": "build",
+        //     "command": "webpack --config webpack/webpack.prod.js",
+        //     "type": "shell",
+        //     "group": { "kind": "build", "isDefault": true },
+        //     "isBackground": true
+        // },
+          
+        {
+            "type": "npm",
+            "label": "webpack: dev server",
+            "script": "dev",
+            "promptOnClose": true,
+            "isBackground": true,
+            "problemMatcher": {
+              "owner": "webpack",
+              "severity": "error",
+              "fileLocation": "absolute",
+              "pattern": [
+                {
+                  "regexp": "ERROR in (.*)",
+                  "file": 1
+                },
+                {
+                  "regexp": "\\((\\d+),(\\d+)\\):(.*)",
+                  "line": 1,
+                  "column": 2,
+                  "message": 3
+                }
+              ],
+              "background": {
+                "activeOnStart": true,
+                "beginsPattern": "Compiling\\.\\.\\.",
+                "endsPattern": "Compiled successfully\\."
+              }
+            }
+          }        
+    ]
+}

+ 21 - 0
components/wifi-manager/webapp/LICENSE

@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2019 AndyKorek
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

+ 204 - 0
components/wifi-manager/webapp/README.md

@@ -0,0 +1,204 @@
+<h2 align="center">Boilerplate - Bootstrap v4 - SASS - JQuery - WebPack</h2>
+
+<p align="center">    
+            <a href="https://webpack.js.org/"><img alt="Webpack" src="https://img.shields.io/badge/Webpack-4.41.6-%238DD6F9.svg"></a>
+                <a href="https://babeljs.io/"><img alt="Webpack" src="https://img.shields.io/badge/Babel%2FCore-7.8.4-%23f5da55.svg"></a>
+                <a href="https://www.npmjs.com/package/gulp-sass"><img alt="node-sass" src="https://img.shields.io/badge/node--sass-v4.13.1-ff69b4.svg"></a>
+                <a href="https://jquery.com/"><img src="https://img.shields.io/badge/jQuery-3.3.1-blue.svg" alt="jquery"></a>
+                <a href="https://lodash.com/"><img src="https://img.shields.io/badge/lodash-4.17.15-blue.svg" alt="jquery"></a>
+                <a href="https://popper.js.org/"><img src="https://img.shields.io/badge/popper.js-2.0.6-blue.svg" alt="popper.js"></a>
+                <a href="https://eslint.org/"><img src="https://img.shields.io/badge/es--lint-5.15.1-%23463fd4.svg" alt="eslint"></a>
+                <a href="https://fontawesome.com/"><img alt="Font Awesome" src="https://img.shields.io/badge/Font--Awesome-5.12.1-blue.svg"></a>
+                <a href="https://icons8.com/line-awesome"><img alt="Line Awesome" src="https://img.shields.io/badge/Line%20Awesome-1.3.0-green"></a>
+</p>
+
+![webpack logo](https://abload.de/img/webpack1tkeb.png)
+![bootstrap logo](https://abload.de/img/bootstrap-logo-vector78khf.png)
+![babel logo](https://abload.de/img/2000px-babel_logo.svgrzkxw.png)
+![sass logo](https://abload.de/img/1280px-sass_logo_colo0bjb4.png)
+
+
+<p align="center">
+  <em>
+  SASS
+  · Babel
+  · Bootstrap
+  · JQuery
+  · PopperJS
+  · Font Awesome
+  </em>
+</p>
+
+This Webpack4-Sass Boilerplate contains the following features:
+
+- Webpack4 & Dev-Server
+- TypeScript 3.7.5
+- Babel ES6 Compiler
+- Bootstrap v4 - with Theme Support
+- Font Awesome v5.7
+- Animate.css Library v3.7.2
+- JQuery v3.3.1
+- PopperJS v2
+- _lodash
+- concentrate and minify JavaScript.
+- Compile, minify, Autoprefix SASS.
+- Optimize and Cache Images
+- Preconfigured BootsWatch Template (YETI & Slate)
+- Linting for your TS, JS and SASS
+
+## Features
+
+### Webpack Loaders & Plugins
+
+This project contains the following loaders & plugins:
+
+- `node-sass` for compiling sass (SCSS)
+- `babel-loader` for compiling ES6 code
+- `babel-eslint && eslint-loader` for Linting your .js
+- `tslint` for Linting your .ts 
+- `lodash-webpack-plugin` create smaller Lodash builds by replacing feature sets of modules with noop, identity, or simpler alternatives.
+- `webpack-dev-server` for serving & Hot-Reloading
+- `css-loader` for compressing css
+- `sass-loader` for compressing and loading scss & sass
+- `url- & file-loader` for loading and optimizing images
+- `xml and csv loader` for loading data files
+- `html-loader` for loading & optimizing html files
+- `clean-webpack-plugin` for keeping your dist folder clean
+- `favicons-webpack-plugin` generate favicons form your "logo.png"
+
+
+## Getting Started
+
+### Dependencies
+
+Make sure these are installed first.
+
+- [Node.js](http://nodejs.org)
+- [Webpack](https://webpack.js.org/guides/installation/)
+
+     `npm install --g webpack`
+
+<hr/>
+
+### Quick Start
+
+1. Clone the repo :
+      `git clone https://github.com/AndyKorek/webpack-boilerplate-sass-ts-bootstrap4-fontawesome.git`
+2. In bash/terminal/command line, `cd ` into project directory.
+3. Run `npm i` to install required dependencies.
+
+4. Run the Dev Server with (with Hot Reloading) `npm run dev`
+
+<hr/>
+
+### Build the Production Folder
+`npm run build`
+
+This will:
+
+- Bundle and Minify SASS(scss) to css & Hash and Cash it
+- generate GZip and Brodli Compressed Assets
+- Bundle and Minify JS
+- Optimize Images
+- Optimize HTML
+- generate Favicons
+
+<hr/>
+
+## Documentation
+
+### Workflow structure
+
+`src` - > source directory
+
+`dist` -> build directory
+
+
+```
+
+├── src
+│   ├── assets
+│   │   └── images
+│   ├── fonts
+│   ├── sass
+│   │   ├── layout
+|   |   |     └── _features.scss
+│   │   ├── setup
+|   |   |     └── _normalize.scss
+│   │   ├── themes
+|   |   |     ├── _slate.scss
+|   |   |     └── _yeti.scss
+│   │   ├── utils
+|   |   |     ├── _mixins.scss
+|   |   |     └── _variables.scss
+│   │   ├── _globals.scss
+│   │   ├── _headings.scss
+│   │   ├── _typography.scss
+│   │   ├── _vendor.scss
+│   │   └── main.scss
+│   ├── ts
+│   │   ├── custom.ts
+│   │   ├── line-awesome.ts
+│   │   ├── vendor.ts
+│   |── .htaccess
+│   |── 404.html
+│   |── index.html
+│   └── index.ts
+
+
+
+├── dist
+│   ├── assets
+│   │   ├── images
+│   │   └── 
+│   ├── css
+│   │   ├── vendors.[contenthash].css
+│   │   └── main.contenthash].css
+│   ├── js
+│   │   ├── main.[contenthash].js
+│   │   ├── runtime.[contenthash].js
+│   │   └── vendors.[contenthash].js
+│   │   
+│   └── index.html
+
+```
+### Loading the Features you need
+
+in  `src/js/vendor/_boostrap.js` uncomment all Features you need
+
+put your custom js to `src/js/_custom.js`
+
+
+<hr/>
+
+### Instructions
+
+- Add `sass`(.scss) files to `src/_scss` folder.
+
+    - Make sure you import the scss file in `main.scss`
+      ```
+      @import "filename";
+      ```
+- Add your assets to `src/assets/`
+
+- Add `images` to `src/assets/images`
+
+## TODO list
+
+- [x] Bootstrap 4
+- [x] Webpack 4
+- [x] Jquery
+- [x] PopperJS v2
+- [x] Include ES-Lint
+- [x] Font-Awesome
+- [x] Assets Loader
+- [x] Separated location for Bundled Files
+- [x] Adding EsLint
+- [ ] Code Optimising
+- [x] Uglify and Minify JS with Terser
+
+## Licence
+
+Code released under the [MIT License](https://github.com/AndyKorek/webpack4_boilerplate/blob/master/LICENSE).
+
+*</> with* :heart: *from Germany*

+ 24 - 0
components/wifi-manager/webapp/config/.stylelintrc

@@ -0,0 +1,24 @@
+{
+  "extends": "stylelint-config-standard",
+  "rules": {
+    "no-duplicate-selectors": true,
+    "indentation": null,
+    "color-hex-case": "lower",
+    "color-hex-length": "long",
+    "selector-combinator-space-after": "never",
+    "declaration-block-trailing-semicolon": "always",
+    "declaration-colon-space-before": "never",
+    "declaration-colon-newline-after": null,
+    "comment-whitespace-inside": "always",
+    "comment-empty-line-before": null,
+    "selector-pseudo-class-parentheses-space-inside": "always",
+    "selector-list-comma-newline-after": null,
+    "media-feature-range-operator-space-before": "always",
+    "media-feature-range-operator-space-after": "always",
+    "media-feature-parentheses-space-inside": "always",
+    "media-feature-colon-space-before": "always",
+    "media-feature-colon-space-after": "always",
+    "no-eol-whitespace": null,
+    "no-missing-end-of-source-newline": null,
+    "number-leading-zero": "never"  }
+}

+ 3 - 0
components/wifi-manager/webapp/debug.log

@@ -0,0 +1,3 @@
+[1211/165128.604:ERROR:directory_reader_win.cc(43)] FindFirstFile: Le chemin d’accès spécifié est introuvable. (0x3)
+[1212/063417.746:ERROR:directory_reader_win.cc(43)] FindFirstFile: Le chemin d’accès spécifié est introuvable. (0x3)
+[1213/063413.475:ERROR:directory_reader_win.cc(43)] FindFirstFile: Le chemin d’accès spécifié est introuvable. (0x3)

+ 2 - 1
components/wifi-manager/ap.json → components/wifi-manager/webapp/mock/ap.json

@@ -8,5 +8,6 @@
 {"ssid":"The Shah 5GHz-2","chan":1,"rssi":-90,"auth":3},
 {"ssid":"SINGTEL-1D28 (2G)","chan":11,"rssi":-91,"auth":3},
 {"ssid":"dlink-F864","chan":1,"rssi":-92,"auth":4},
-{"ssid":"dlink-74F0","chan":1,"rssi":-93,"auth":4}
+{"ssid":"dlink-74F0","chan":1,"rssi":-93,"auth":4},
+{"ssid":"MyTestSSID","chan":2,"rssi":-53,"auth":4}
 ]

+ 179 - 212
components/wifi-manager/commands.json → components/wifi-manager/webapp/mock/commands.json

@@ -1,117 +1,125 @@
 {
 	"commands":	[{
-			"help":	"Squeezelite Options",
+			"help":	"WiFi",
 			"hascb":	true,
 			"argtable":	[{
-					"datatype":	"<server>[:<port>]",
-					"glossary":	"Connect to specified server, otherwise uses autodiscovery to find server",
-					"longopts":	"server",
-					"shortopts":	"s",
-					"checkbox":	false,
-					"hasvalue":	true,
-					"mincount":	0,
-					"maxcount":	1
-				}, {
-					"datatype":	"<stream>:<output>",
-					"glossary":	"Internal Stream and Output buffer sizes in Kbytes",
-					"longopts":	"buffers",
-					"shortopts":	"b",
+					"datatype":	"Fast|Comprehensive",
+					"glossary":	"Sets the WiFi Scan Mode. Use Comprehensive where more than one AP has the same name on different channels. This will ensure that the AP with the strongest signal is chosen.",
+					"longopts":	"scanmode",
 					"checkbox":	false,
 					"hasvalue":	true,
 					"mincount":	0,
 					"maxcount":	1
-				}, {
-					"datatype":	"<codec1>,<codec2>",
-					"glossary":	"Restrict codecs to those specified, otherwise load all available codecs; known codecs",
-					"longopts":	"codecs",
-					"shortopts":	"c",
-					"checkbox":	false,
-					"hasvalue":	true,
-					"mincount":	0,
-					"maxcount":	20
-				}, {
-					"datatype":	"<n>",
-					"glossary":	"Close output device when idle after timeout seconds, default is to keep it open while player is 'on",
-					"longopts":	"timeout",
-					"shortopts":	"C",
-					"checkbox":	false,
-					"hasvalue":	true,
+				}],
+			"hint":	" [--scanmode=Fast|Comprehensive]",
+			"name":	"cfg-syst-wifi"
+		}, {
+			"help":	"Get the current size of free heap memory",
+			"hascb":	false,
+			"name":	"free"
+		}, {
+			"help":	"Services",
+			"hascb":	true,
+			"argtable":	[{
+					"glossary":	"Bluetooth Speaker",
+					"longopts":	"BT_Speaker",
+					"checkbox":	true,
+					"hasvalue":	false,
 					"mincount":	0,
 					"maxcount":	1
 				}, {
-					"datatype":	"log=level",
-					"glossary":	"Set logging level, logs: all|slimproto|stream|decode|output|ir, level: info|debug|sdebug",
-					"longopts":	"loglevel",
-					"shortopts":	"d",
-					"checkbox":	false,
-					"hasvalue":	true,
+					"glossary":	"AirPlay",
+					"longopts":	"AirPlay",
+					"checkbox":	true,
+					"hasvalue":	false,
 					"mincount":	0,
 					"maxcount":	1
 				}, {
-					"datatype":	"<string>",
-					"glossary":	"Output device",
-					"longopts":	"output_device",
-					"shortopts":	"o",
+					"datatype":	"Disabled|Telnet Only|Telnet and Serial",
+					"glossary":	"Telnet server. Use only for troubleshooting",
+					"longopts":	"telnet",
+					"shortopts":	"t",
 					"checkbox":	false,
 					"hasvalue":	true,
 					"mincount":	0,
 					"maxcount":	1
-				}, {
-					"datatype":	"<string>",
-					"glossary":	"Mac address, format: ab:cd:ef:12:34:56",
-					"longopts":	"mac_addr",
-					"shortopts":	"m",
+				}],
+			"hint":	" [--BT_Speaker] [--AirPlay] [-t Disabled|Telnet Only|Telnet and Serial]",
+			"name":	"cfg-syst-services"
+		}, {
+			"help":	"Get minimum size of free heap memory found during execution",
+			"hascb":	false,
+			"name":	"heap"
+		}, {
+			"help":	"Device Name",
+			"hascb":	true,
+			"argtable":	[{
+					"datatype":	"Bureau-OLED",
+					"glossary":	"New Name",
+					"longopts":	"name",
+					"shortopts":	"n",
 					"checkbox":	false,
 					"hasvalue":	true,
 					"mincount":	0,
 					"maxcount":	1
-				}, {
-					"datatype":	"<string>",
-					"glossary":	"Squeezelite player model name sent to the server",
-					"longopts":	"modelname",
-					"shortopts":	"M",
+				}],
+			"hint":	" [-n Bureau-OLED]",
+			"name":	"cfg-syst-name"
+		}, {
+			"help":	"Get version of chip and SDK",
+			"hascb":	false,
+			"name":	"version"
+		}, {
+			"help":	"Reboot system",
+			"hascb":	false,
+			"name":	"restart"
+		}, {
+			"help":	"Reboot system to Recovery",
+			"hascb":	false,
+			"name":	"recovery"
+		}, {
+			"help":	"Reboot system to Squeezelite",
+			"hascb":	false,
+			"name":	"restart_ota"
+		}, {
+			"help":	"General Audio Options",
+			"hascb":	true,
+			"argtable":	[{
+					"datatype":	"Headphones|Subwoofer",
+					"glossary":	"On supported DAC, determines the audio jack behavior. Selecting headphones will cause the external amp to be muted on insert, while selecting Subwoofer will keep the amp active all the time.",
+					"longopts":	"jack_behavior",
+					"shortopts":	"j",
 					"checkbox":	false,
 					"hasvalue":	true,
 					"mincount":	0,
 					"maxcount":	1
-				}, {
-					"datatype":	"<string>",
-					"glossary":	"Player name",
-					"longopts":	"name",
+				}],
+			"hint":	" [-j Headphones|Subwoofer]",
+			"name":	"cfg-audio-general"
+		}, {
+			"help":	"Bluetooth Audio Output Options",
+			"hascb":	true,
+			"argtable":	[{
+					"datatype":	"name",
+					"glossary":	"Bluetooth audio device name. This applies when output mode is Bluetooth",
+					"longopts":	"sink_name",
 					"shortopts":	"n",
 					"checkbox":	false,
 					"hasvalue":	true,
-					"mincount":	0,
-					"maxcount":	1
-				}, {
-					"glossary":	"Read wave and aiff format from header, ignore server parameters",
-					"longopts":	"header_format",
-					"shortopts":	"W",
-					"checkbox":	true,
-					"hasvalue":	false,
-					"mincount":	0,
-					"maxcount":	1
-				}, {
-					"datatype":	"<rates>[:<delay>]",
-					"glossary":	"Sample rates supported, allows output to be off when squeezelite is started; rates = <maxrate>|<minrate>-<maxrate>|<rate1>,<rate2>,<rate3>; delay = optional delay switching rates in ms\n",
-					"longopts":	"rates",
-					"shortopts":	"r",
-					"checkbox":	false,
-					"hasvalue":	true,
-					"mincount":	0,
+					"mincount":	1,
 					"maxcount":	1
 				}, {
-					"datatype":	"<n>",
-					"glossary":	"Report rate to server in helo as the maximum sample rate we can support",
-					"longopts":	"max_rate",
-					"shortopts":	"Z",
+					"datatype":	"pin",
+					"glossary":	"Bluetooth security/pin code. Usually 0000. This applies when output mode is Bluetooth",
+					"longopts":	"pin_code",
+					"shortopts":	"p",
 					"checkbox":	false,
 					"hasvalue":	true,
-					"mincount":	0,
+					"mincount":	1,
 					"maxcount":	1
 				}],
-			"hint":	" [-W] [-s <server>[:<port>]] [-b <stream>:<output>] [-c <codec1>,<codec2>]... [-C <n>] [-d log=level] [-o <string>] [-m <string>] [-M <string>] [-n <string>] [-r <rates>[:<delay>]] [-Z <n>]",
-			"name":	"cfg-syst-squeezelite"
+			"hint":	" -n name -p pin",
+			"name":	"cfg-audio-bt_source"
 		}, {
 			"help":	"DAC Options",
 			"hascb":	true,
@@ -156,7 +164,7 @@
 					"mincount":	0,
 					"maxcount":	1
 				}, {
-					"glossary":	"Mute active GPIO level",
+					"glossary":	"Mute GPIO level. Checked=HIGH, Unchecked=LOW",
 					"longopts":	"mute_level",
 					"checkbox":	true,
 					"hasvalue":	false,
@@ -197,80 +205,42 @@
 			"hint":	" --model_name=TAS57xx|TAS5713|AC101|I2S --clock=<n> --wordselect=<n> --data=<n> [--mute_gpio=<n>] [--mute_level] [--dac_sda=<n>] [--dac_scl=<n>] [--dac_i2c=<n>] [--clear]",
 			"name":	"cfg-hw-dac"
 		}, {
-			"help":	"Get the current size of free heap memory",
-			"hascb":	false,
-			"name":	"free"
-		}, {
-			"help":	"Services",
+			"help":	"SPDIF Options",
 			"hascb":	true,
 			"argtable":	[{
-					"glossary":	"Bluetooth Speaker",
-					"longopts":	"BT_Speaker",
-					"checkbox":	true,
-					"hasvalue":	false,
-					"mincount":	0,
+					"datatype":	"<n>",
+					"glossary":	"Clock GPIO. e.g. 33",
+					"longopts":	"clock",
+					"checkbox":	false,
+					"hasvalue":	true,
+					"mincount":	1,
 					"maxcount":	1
 				}, {
-					"glossary":	"AirPlay",
-					"longopts":	"AirPlay",
-					"checkbox":	true,
-					"hasvalue":	false,
-					"mincount":	0,
+					"datatype":	"<n>",
+					"glossary":	"Word Select GPIO. e.g. 25",
+					"longopts":	"wordselect",
+					"checkbox":	false,
+					"hasvalue":	true,
+					"mincount":	1,
 					"maxcount":	1
 				}, {
-					"datatype":	"Disabled|Telnet Only|Telnet and Serial",
-					"glossary":	"Telnet server. Use only for troubleshooting",
-					"longopts":	"telnet",
-					"shortopts":	"t",
+					"datatype":	"<n>",
+					"glossary":	"Data GPIO. e.g. 32",
+					"longopts":	"data",
 					"checkbox":	false,
 					"hasvalue":	true,
-					"mincount":	0,
+					"mincount":	1,
 					"maxcount":	1
 				}, {
-					"glossary":	"System Statistics. Use only for troubleshooting",
-					"longopts":	"stats",
+					"glossary":	"Clear configuration",
+					"longopts":	"clear",
 					"checkbox":	true,
 					"hasvalue":	false,
 					"mincount":	0,
 					"maxcount":	1
 				}],
-			"hint":	" [--BT_Speaker] [--AirPlay] [-t Disabled|Telnet Only|Telnet and Serial] [--stats]",
-			"name":	"cfg-syst-services"
-		}, {
-			"help":	"Get minimum size of free heap memory found during execution",
-			"hascb":	false,
-			"name":	"heap"
-		}, {
-			"help":	"Device Name",
-			"hascb":	true,
-			"argtable":	[{
-					"datatype":	"\"squeezelite-test3\"",
-					"glossary":	"New Name",
-					"longopts":	"name",
-					"shortopts":	"n",
-					"checkbox":	false,
-					"hasvalue":	true,
-					"mincount":	0,
-					"maxcount":	1
-				}],
-			"hint":	" [-n \"squeezelite-test3\"]",
-			"name":	"cfg-syst-name"
-		}, {
-			"help":	"Get version of chip and SDK",
-			"hascb":	false,
-			"name":	"version"
-		}, {
-			"help":	"Software reset of the chip",
-			"hascb":	false,
-			"name":	"restart"
-		}, {
-			"help":	"Resets and boot to recovery (if available)",
-			"hascb":	false,
-			"name":	"recovery"
-		}, {
-			"help":	"Selects the ota app partition to boot from and performa a software reset of the chip",
-			"hascb":	false,
-			"name":	"restart_ota"
+			"hint":	" --clock=<n> --wordselect=<n> --data=<n> [--clear]",
+			"name":	"cfg-hw-spdif"
 		}, {
 			"help":	"I2C Bus Parameters",
 			"hascb":	true,
@@ -310,14 +280,6 @@
 					"hasvalue":	true,
 					"mincount":	0,
 					"maxcount":	1
-				}, {
-					"glossary":	"Load Existing Configuration",
-					"longopts":	"load",
-					"shortopts":	"l",
-					"checkbox":	true,
-					"hasvalue":	false,
-					"mincount":	0,
-					"maxcount":	1
 				}, {
 					"glossary":	"Clear configuration",
 					"longopts":	"clear",
@@ -326,7 +288,7 @@
 					"mincount":	0,
 					"maxcount":	1
 				}],
-			"hint":	" [-l] [-p 0|1] [-f int] [-d <n>] [-c <n>] [--clear]",
+			"hint":	" [-p 0|1] [-f int] [-d <n>] [-c <n>] [--clear]",
 			"name":	"cfg-hw-i2c"
 		}, {
 			"help":	"SPI Bus Parameters",
@@ -359,7 +321,7 @@
 					"mincount":	0,
 					"maxcount":	1
 				}, {
-					"datatype":	"int",
+					"datatype":	"1|2",
 					"glossary":	"SPI Host Number",
 					"longopts":	"host",
 					"shortopts":	"h",
@@ -375,7 +337,7 @@
 					"mincount":	0,
 					"maxcount":	1
 				}],
-			"hint":	" [-d <n>] [-k <n>] [-c <n>] [-h int] [--clear]",
+			"hint":	" [-d <n>] [-k <n>] [-c <n>] [-h 1|2] [--clear]",
 			"name":	"cfg-hw-spi"
 		}, {
 			"help":	"Scan I2C bus for devices",
@@ -491,14 +453,23 @@
 					"mincount":	0,
 					"maxcount":	1
 				}, {
-					"datatype":	"<SH1106|SSD1306|SSD1322|SSD1326|SSD1327|SSD1675|SSD1351|ST77xx|ILI9341|>",
-					"glossary":	"Driver (default SSD1306)",
+					"datatype":	"<SH1106|SSD1306|SSD1322|SSD1326|SSD1327|SSD1675|SSD1351|ST7735|ST7789|ILI9341|>",
+					"glossary":	"Driver",
 					"longopts":	"driver",
 					"shortopts":	"d",
 					"checkbox":	false,
 					"hasvalue":	true,
 					"mincount":	0,
 					"maxcount":	1
+				}, {
+					"datatype":	"1|4",
+					"glossary":	"Bit Depth (only for SSD1326 displays)",
+					"longopts":	"depth",
+					"shortopts":	"p",
+					"checkbox":	false,
+					"hasvalue":	true,
+					"mincount":	0,
+					"maxcount":	1
 				}, {
 					"datatype":	"<n>",
 					"glossary":	"I2C address (default 60)",
@@ -515,7 +486,7 @@
 					"shortopts":	"w",
 					"checkbox":	false,
 					"hasvalue":	true,
-					"mincount":	0,
+					"mincount":	1,
 					"maxcount":	1
 				}, {
 					"datatype":	"<n>",
@@ -524,7 +495,7 @@
 					"shortopts":	"h",
 					"checkbox":	false,
 					"hasvalue":	true,
-					"mincount":	0,
+					"mincount":	1,
 					"maxcount":	1
 				}, {
 					"glossary":	"Rotate 180 degrees",
@@ -550,13 +521,22 @@
 					"maxcount":	1
 				}, {
 					"datatype":	"<n>",
-					"glossary":	"Bus Speed (Default 8000000 for SPI, 250000 for I2C). SPI interface can work up to 26MHz~40MHz",
+					"glossary":	"SPI Only. Bus Speed (Default 8000000). SPI interface can work up to 26MHz~40MHz",
 					"longopts":	"speed",
 					"shortopts":	"s",
 					"checkbox":	false,
 					"hasvalue":	true,
 					"mincount":	0,
 					"maxcount":	1
+				}, {
+					"datatype":	"<n>",
+					"glossary":	"SPI Only. CS GPIO (for SPI displays)",
+					"longopts":	"cs",
+					"shortopts":	"b",
+					"checkbox":	false,
+					"hasvalue":	true,
+					"mincount":	0,
+					"maxcount":	1
 				}, {
 					"datatype":	"<n>",
 					"glossary":	"Backlight GPIO (if applicable)",
@@ -566,6 +546,14 @@
 					"hasvalue":	true,
 					"mincount":	0,
 					"maxcount":	1
+				}, {
+					"datatype":	"<n>",
+					"glossary":	"Reset GPIO",
+					"longopts":	"reset",
+					"checkbox":	false,
+					"hasvalue":	true,
+					"mincount":	0,
+					"maxcount":	1
 				}, {
 					"glossary":	"clear configuration and return",
 					"longopts":	"clear",
@@ -574,77 +562,56 @@
 					"mincount":	0,
 					"maxcount":	1
 				}],
-			"hint":	" [-r] [-t <I2C|SPI>] [-d <SH1106|SSD1306|SSD1322|SSD1326|SSD1327|SSD1675|SSD1351|ST77xx|ILI9341|>] [-a <n>] [-w <n>] [-h <n>] [--hf] [--vf] [-s <n>] [-b <n>] [--clear]",
+			"hint":	" [-r] [-t <I2C|SPI>] [-d <SH1106|SSD1306|SSD1322|SSD1326|SSD1327|SSD1675|SSD1351|ST7735|ST7789|ILI9341|>] [-p 1|4] [-a <n>] -w <n> -h <n> [--hf] [--vf] [-s <n>] [-b <n>] [-b <n>] [--reset=<n>] [--clear]",
 			"name":	"cfg-hw-display"
-		}, {
-			"help":	"Shows display options and global i2c configuration",
-			"hascb":	false,
-			"name":	"getdisplay"
-		}, {
-			"help":	"Stop the I2C bus",
-			"hascb":	false,
-			"argtable":	[{
-					"datatype":	"<0|1>",
-					"glossary":	"I2C bus port number",
-					"longopts":	"port",
-					"shortopts":	"p",
-					"checkbox":	false,
-					"hasvalue":	true,
-					"mincount":	0,
-					"maxcount":	1
-				}],
-			"hint":	" [-p <0|1>]",
-			"name":	"i2cstop"
-		}, {
-			"help":	"Check if the I2C bus is installed",
-			"hascb":	false,
-			"argtable":	[{
-					"datatype":	"<0|1>",
-					"glossary":	"Set the I2C bus port number",
-					"longopts":	"port",
-					"shortopts":	"p",
-					"checkbox":	false,
-					"hasvalue":	true,
-					"mincount":	0,
-					"maxcount":	1
-				}],
-			"hint":	" [-p <0|1>]",
-			"name":	"i2ccheck"
 		}],
 	"values":	{
-		"cfg-syst-squeezelite":	{
-			"buffers":	"500:2000",
-			"header_format":	true,
-			"loglevel":	"all=info",
-			"output_device":	"I2S",
-			"name":	"squeezelite",
-			"timeout":	30
-		},
-		"cfg-hw-dac":	{
-			"model_name":	"i2s"
+		"cfg-syst-wifi":	{
+			"scanmode":	"Fast"
 		},
 		"cfg-syst-services":	{
-			"BT_Speaker":	false,
-			"AirPlay":	false,
-			"telnet":	"Telnet and Serial",
-			"stats":	true
+			"BT_Speaker":	true,
+			"AirPlay":	true,
+			"telnet":	"Telnet Only"
 		},
 		"cfg-syst-name":	{
-			"name":	"\"squeezelite-test3\""
+			"name":	"Bureau-OLED"
+		},
+		"cfg-audio-general":	{
+			"jack_behavior":	"Subwoofer"
+		},
+		"cfg-audio-bt_source":	{
+			"sink_name":	"SMSL BT4.2",
+			"pin_code":	"0000"
+		},
+		"cfg-hw-dac":	{
+			"clock":	33,
+			"wordselect":	25,
+			"data":	32,
+			"model_name":	"I2S"
+		},
+		"cfg-hw-spdif":	{
 		},
 		"cfg-hw-i2c":	{
-			"freq":	400000
+			"speed":	400000
 		},
 		"cfg-hw-spi":	{
+			"data":	4,
+			"clk":	5,
+			"dc":	18,
+			"host":	1
 		},
 		"cfg-hw-display":	{
-			"address":	0,
-			"width":	0,
-			"height":	0,
-			"driver":	"SSD1306",
+			"width":	256,
+			"height":	64,
+			"reset":	21,
+			"driver":	"SSD1322",
+			"cs":	19,
+			"speed":	16000000,
+			"type":	"SPI",
+			"rotate":	false,
 			"hf":	false,
-			"vf":	false,
-			"rotate":	false
+			"vf":	false
 		}
 	}
 }

+ 0 - 0
components/wifi-manager/config.json → components/wifi-manager/webapp/mock/config.json


+ 22 - 0
components/wifi-manager/messages.json → components/wifi-manager/webapp/mock/messages.json

@@ -52,5 +52,27 @@
 		"class":	"MESSAGING_CLASS_STATS",
 		"sent_time":	141256,
 		"current_time":	147319
+	},
+	{
+		"message":	"Wifi connected",
+		"type":	"MESSAGING_INFO",
+		"class":	"MESSAGING_CLASS_SYSTEM",
+		"sent_time":	141256,
+		"current_time":	147319
+	},
+	{
+		"message":	"[{\n\t\t\"name\":\t\"SMSL BT4.2\",\n\t\t\"rssi\":\t-64\n\t}]",
+		"type":	"MESSAGING_INFO",
+		"class":	"MESSAGING_CLASS_BT",
+		"sent_time":	6245,
+		"current_time":	6364
+	}, {
+		"message":	"[{\n\t\t\"name\":\t\"SMSL BT4.2\",\n\t\t\"rssi\":\t-129\n\t}]",
+		"type":	"MESSAGING_INFO",
+		"class":	"MESSAGING_CLASS_BT",
+		"sent_time":	6259,
+		"current_time":	6364
 	}
+	
+	
 	]

+ 0 - 0
components/wifi-manager/messages_testing.json → components/wifi-manager/webapp/mock/messages_testing.json


+ 0 - 0
components/wifi-manager/scan.json → components/wifi-manager/webapp/mock/scan.json


+ 0 - 0
components/wifi-manager/status-messages.json → components/wifi-manager/webapp/mock/status-messages.json


+ 4 - 2
components/wifi-manager/status.json → components/wifi-manager/webapp/mock/status.json

@@ -1,6 +1,6 @@
 {
-	"project_name": "recovery",
-	"version": "custom.build",
+	"project_name": "dev-server",
+	"version": "webpack",
 	"recovery": 1,
 	"Jack": "1",
 	"Voltage": 0,
@@ -9,6 +9,8 @@
 	"is_i2c_locked": false,
 	"urc": 0,
 	"bt_status": 0,
+	"bt_sub_status": 0,
+	"rssi": -59,
 	"ssid": "MyTestSSID",
 	"ip": "192.168.10.225",
 	"netmask": "255.255.255.0",

+ 24 - 0
components/wifi-manager/webapp/mock/statusdefinition.json

@@ -0,0 +1,24 @@
+{
+	"urc": {
+		"Wifi Connection OK": 0,
+		"Wifi Failed Connect Attempt": 1,
+		"WiFi User Disconnect": 2,
+		"WiFi Lost Connection": 3
+	},
+	"bt_status": {
+		"Idle": 0,
+		"Discovering": 1,
+		"Discovered": 2,
+		"Unconnected": 3,
+		"Connecting": 4,
+		"Connected": 5,
+		"Disconnecting": 6
+	},
+	"bt_sub_status": {
+		"Default": 0,
+		"Connected - Starting": 1,
+		"Connected - Started": 2,
+		"Connected - Pause": 3,
+		"Connected - Stop": 4
+	}
+}

+ 133 - 0
components/wifi-manager/webapp/package.json

@@ -0,0 +1,133 @@
+{
+  "name": "squeezelite-esp32",
+  "version": "0.5.0",
+  "main": "src/index.html",
+  "repository": "git@github.com:sle118/squeezelite-esp32.git",
+  "author": "Andy K., Sebastien",
+  "license": "MIT",
+  "scripts": {
+    "dev": "webpack-dev-server --open --config webpack/webpack.dev.js",
+    "build": "webpack --config webpack/webpack.prod.js",
+    "prod": "webpack-dev-server --open --config webpack/webpack.prod.js"
+  },
+  "browserslist": {
+    "production": [
+      ">0.2%",
+      "not dead",
+      "not op_mini all"
+    ],
+    "development": [
+      "last 1 chrome version",
+      "last 1 firefox version",
+      "last 1 safari version"
+    ]
+  },
+  "dependencies": {
+    "@popperjs/core": "^2.0.6",
+    "@types/bootstrap": "^4.3.1",
+    "animate.css": "^3.7.2",
+    "bootstrap": "^4.5.3",
+    "bootswatch": "^4.4.1",
+    "commander": "^6.2.0",
+    "expose-loader": "^1.0.3",
+    "hamburgers": "^1.1.3",
+    "jquery": "^3.3.1",
+    "line-awesome": "^1.3.0",
+    "lodash": "^4.17.15",
+    "perfect-scrollbar": "^1.5.0",
+    "popper": "^1.0.1",
+    "react": "^17.0.1",
+    "remixicon": "^2.5.0",
+    "stylelint-config-standard": "^20.0.0",
+    "svgo": "^1.3.2",
+    "webpack-icons-installer": "^2.0.0"
+  },
+  "devDependencies": {
+    "@babel/core": "^7.12.10",
+    "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
+    "@babel/plugin-proposal-optional-chaining": "^7.12.7",
+    "@babel/plugin-transform-runtime": "^7.12.10",
+    "@babel/preset-env": "^7.12.10",
+    "@babel/preset-typescript": "^7.8.3",
+    "@fullhuman/postcss-purgecss": "^1.3.0",
+    "@types/lodash": "^4.14.149",
+    "autoprefixer": "^9.7.4",
+    "babel-eslint": "^10.0.3",
+    "babel-loader": "^8.2.2",
+    "babel-preset-minify": "^0.5.1",
+    "body-parser": "^1.19.0",
+    "browser-sync": "^2.26.7",
+    "browser-sync-webpack-plugin": "^2.2.2",
+    "browserlist": "^1.0.1",
+    "clean-webpack-plugin": "^2.0.0",
+    "compression-webpack-plugin": "^2.0.0",
+    "cross-env": "^5.2.1",
+    "css-loader": "^0.28.11",
+    "cssnano": "^4.1.10",
+    "eslint": "^7.0.0",
+    "eslint-config-google": "^0.9.1",
+    "eslint-webpack-plugin": "^2.4.1",
+    "extract-text-webpack-plugin": "^4.0.0-beta.0",
+    "favicons-webpack-plugin": "0.0.9",
+    "file-loader": "^1.1.11",
+    "glob": "^7.1.6",
+    "glob-all": "^3.2.1",
+    "html-loader": "^0.5.5",
+    "html-webpack-plugin": "^3.0.7",
+    "image-webpack-loader": "^7.0.1",
+    "imagemin-mozjpeg": "^8.0.0",
+    "imagemin-webpack-plugin": "^2.4.2",
+    "img-loader": "^3.0.1",
+    "install": "^0.10.4",
+    "less": "^3.13.0",
+    "lodash-webpack-plugin": "^0.11.5",
+    "mini-css-extract-plugin": "^0.5.0",
+    "miragejs": "^0.1.41",
+    "node-sass": "^4.13.1",
+    "offline-plugin": "^5.0.7",
+    "on-build-webpack": "^0.1.0",
+    "optimize-css-assets-webpack-plugin": "^5.0.3",
+    "postcss-loader": "^3.0.0",
+    "preload-webpack-plugin": "^2.3.0",
+    "purgecss-webpack-plugin": "^3.1.3",
+    "purify-css": "^1.2.5",
+    "purifycss-webpack": "^0.7.0",
+    "raw-loader": "^2.0.0",
+    "resolve-url-loader": "^3.1.1",
+    "sass-loader": "^6.0.7",
+    "script-ext-html-webpack-plugin": "^2.1.4",
+    "source-map-loader": "^0.2.4",
+    "style-loader": "^0.20.3",
+    "stylelint": "^13.2.0",
+    "stylelint-config-recommended": "^3.0.0",
+    "stylelint-webpack-plugin": "^1.2.3",
+    "svg-sprite-loader": "^5.2.1",
+    "svg-transform-loader": "^2.0.13",
+    "svgo-loader": "^2.2.1",
+    "terser-webpack-plugin": "^1.4.3",
+    "ts-loader": "^6.2.1",
+    "tslint": "^5.20.1",
+    "tslint-webpack-plugin": "^2.1.0",
+    "typescript": "^3.7.5",
+    "url-loader": "^1.1.2",
+    "webpack": "^4.44.2",
+    "webpack-bundle-analyzer": "^4.3.0",
+    "webpack-cli": "^3.3.11",
+    "webpack-dev-server": "^3.10.3",
+    "webpack-merge": "^4.2.2",
+    "xml-loader": "^1.2.1"
+  },
+  "keywords": [
+    "webppack4",
+    "sass",
+    "bootstrap4",
+    "jquery",
+    "popperjs",
+    "livereload",
+    "dev-server",
+    "font-awesome",
+    "es-lint",
+    "typescript",
+    "line-awesome"
+  ]
+}

+ 3 - 0
components/wifi-manager/webapp/postcss.config.js

@@ -0,0 +1,3 @@
+module.exports = {
+
+};

+ 37 - 0
components/wifi-manager/webapp/src/.htaccess

@@ -0,0 +1,37 @@
+ <IfModule mod_expires.c>
+      ExpiresActive On
+      ExpiresDefault "access plus 1 days"
+      ExpiresByType text/html "access plus 5 minutes"
+      ExpiresByType text/xml "access plus 6 hours"
+      ExpiresByType text/css "access plus 1 weeks"
+      ExpiresByType text/javascript "access plus 1 weeks"
+      ExpiresByType application/javascript "access plus 1 weeks"
+      ExpiresByType application/x-javascript "access plus 1 weeks"
+      ExpiresByType text/ecmascript "access plus 1 weeks"
+      ExpiresByType image/gif "access plus 1 years"
+      ExpiresByType image/png "access plus 1 years"
+      ExpiresByType image/jpeg "access plus 1 years"
+      ExpiresByType image/ico "access plus 1 years"
+      ExpiresByType image/icon "access plus 1 years"
+      ExpiresByType image/x-icon "access plus 1 years"
+      ExpiresByType video/x-flv "access plus 1 years"
+      ExpiresByType video/quicktime "access plus 1 years"
+      ExpiresByType application/x-shockwave-flash "access plus 1 years"
+      ExpiresByType application/pdf "access plus 1 years"
+    </IfModule>
+
+    # gzip Compression if availiable
+AddEncoding gzip .gzip
+<IfModule mod_deflate.c>
+ AddOutputFilterByType DEFLATE text/plain
+ AddOutputFilterByType DEFLATE text/html
+ AddOutputFilterByType DEFLATE text/xml
+ AddOutputFilterByType DEFLATE text/css
+ AddOutputFilterByType DEFLATE text/javascript
+ AddOutputFilterByType DEFLATE application/xml
+ AddOutputFilterByType DEFLATE application/xhtml+xml
+ AddOutputFilterByType DEFLATE application/rss+xml
+ AddOutputFilterByType DEFLATE application/javascript
+ AddOutputFilterByType DEFLATE application/x-javascript
+ AddOutputFilterByType DEFLATE application/x-shockwave-flash
+</IfModule>

BIN
components/wifi-manager/webapp/src/assets/images/200px-ControllerAppIcon.png


BIN
components/wifi-manager/webapp/src/assets/images/favicon-32x32.png


+ 0 - 0
components/wifi-manager/res/favicon.ico → components/wifi-manager/webapp/src/assets/images/favicon.ico


+ 439 - 0
components/wifi-manager/webapp/src/index.ejs

@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+	<meta charset="utf-8" />
+	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
+	<meta name="apple-mobile-web-app-capable" content="yes" />
+	<title>SqueezeESP32</title>
+
+</head>
+ 
+<body>
+	<div style="display:none">
+        <% if (htmlWebpackPlugin.files.sprites) { %>
+            <% for (var spriteFileName in htmlWebpackPlugin.files.sprites) { %>
+              <%= htmlWebpackPlugin.files.sprites[spriteFileName] %>
+            <% } %>
+          <% }  %>
+        </div>          
+	<nav class="navbar navbar-expand-sm navbar-dark bg-primary" id="mainnav">
+		<a class="navbar-brand" id="navtitle" href="#">SqueezeESP32</a>
+		<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
+			aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+			<span class="navbar-toggler-icon"></span>
+		</button>
+		<div class="collapse navbar-collapse" id="navbarSupportedContent">
+			<ul class="nav navbar-nav mr-auto">
+				<li class="nav-item"><a class="nav-link active" data-toggle="tab" href="#tab-wifi">WiFi</a></li>
+				<li class="nav-item"><a class="nav-link" data-toggle="tab" href="#tab-syslog">Status<span
+							class="badge badge-pill badge-success" id="msgcnt"></span></a></li>
+				<li class="nav-item"><a class="nav-link" data-toggle="tab" href="#tab-cfg-audio">Audio</a></li>
+				<li class="nav-item"><a class="nav-link" data-toggle="tab" href="#tab-cfg-syst">System</a></li>
+				<li class="nav-item"><a class="nav-link" data-toggle="tab" href="#tab-cfg-hw">Hardware</a></li>
+				<li class="nav-item"><a class="nav-link" data-toggle="tab" href="#tab-cfg-fw">Updates</a></li>
+				<div class="dropdown-divider"></div>
+				<li class="nav-item"><a class="nav-link" data-toggle="tab" href="#tab-nvs">NVS Editor</a></li>
+				<li class="nav-item"><a class="nav-link" data-toggle="tab" href="#tab-commands">Advanced</a></li>
+				<li class="nav-item"><a class="nav-link" data-toggle="tab" href="#tab-credits">Credits</a></li>
+			</ul>
+
+		</div>
+		<div class="info navbar-right" style="display: inline-flex;">
+			<svg class="recovery_element bg-primary" style="fill:orange; width:1.5rem; height: 1.5rem;">
+				<use xlink:href="#device-recover-fill"></use>
+			</svg>
+
+			<svg style="fill:white; width:1.5rem; height: 1.5rem;">
+				<use id="battery" xlink:href="#battery-fill"></use>
+			</svg>
+			<svg  id="o_jack"  style="fill:white; width:1.5rem; height: 1.5rem;">
+				<use  xlink:href="#headphone-fill"></use>
+			</svg>
+			<svg   style="fill:white; width:1.5rem; height: 1.5rem;">
+				<use id="o_bt"   xlink:href="#bluetooth-fill"></use>
+			</svg>	
+			<span data-toggle="tooltip" id="o_type" data-placement="top" title=""><svg
+					xmlns="http://www.w3.org/2000/svg" id="output" width="24" height="24" viewBox="0 0 24 24">
+					<g id="o_i2s" display="none">
+						<path
+							d="M2 7L2 8L2 9L2 10L2 11L2 12L2 13L2 14L2 15L2 16L2 17L3 17L3 16L3 15L3 14L3 13L3 12L3 11L3 10L3 9L3 8L2 7M6 7L6 8L6 9L7 9L7 8L8 8L9 8L10 8L10 9L11 9L11 10L11 11L10 11L10 12L9 12L9 13L8 13L8 14L7 14L7 15L6 15L6 16L6 17L7 17L8 17L9 17L10 17L11 17L12 17L12 16L11 16L10 16L9 16L8 16L8 15L9 15L9 14L10 14L10 13L11 13L11 12L12 12L12 11L12 10L12 9L12 8L11 8L11 7L10 7L9 7L8 7L6 7M16 7L16 8L15 8L15 9L15 10L15 11L16 11L16 12L17 12L18 12L18 13L19 13L20 13L21 13L21 14L21 15L20 15L20 16L19 16L18 16L17 16L16 16L16 15L15 15L15 16L15 17L16 17L17 17L18 17L19 17L20 17L21 17L21 16L22 16L22 15L22 14L22 13L21 13L21 12L20 12L20 11L19 11L18 11L17 11L16 11L16 10L16 9L17 9L17 8L18 8L19 8L20 8L21 8L21 9L22 9L22 8L22 7L21 7L20 7L19 7L18 7L16 7z" />
+					</g>
+					<g id="o_spdif" display="none">
+						<path
+							d="M3 1L3 2L2 2L2 3L2 4L2 5L3 5L3 6L4 6L5 6L5 7L6 7L7 7L8 7L8 8L8 9L7 9L7 10L6 10L5 10L4 10L3 10L3 9L2 9L2 10L2 11L3 11L4 11L5 11L6 11L7 11L8 11L8 10L9 10L9 9L9 8L9 7L8 7L8 6L7 6L7 5L6 5L5 5L4 5L3 5L3 4L3 3L4 3L4 2L5 2L6 2L7 2L8 2L8 3L9 3L9 2L9 1L8 1L7 1L6 1L5 1L3 1M13 1L13 2L13 3L13 4L12 4L12 5L12 6L12 7L12 8L11 8L11 9L11 10L11 11L10 11L10 12L10 13L11 13L11 12L11 11L12 11L12 10L12 9L12 8L13 8L13 7L13 6L13 5L14 5L14 4L14 3L14 2L15 2L15 1L13 1M16 1L16 2L16 3L16 4L16 5L16 6L16 7L16 8L16 9L16 10L16 11L17 11L17 10L17 9L17 8L17 7L18 7L19 7L20 7L21 7L21 6L22 6L22 5L22 4L22 3L22 2L21 2L21 1L20 1L19 1L18 1L16 1z" />
+						<path style="fill:#272B30;"
+							d="M17 2L17 3L17 4L17 5L17 6L18 6L19 6L20 6L20 5L21 5L21 4L21 3L20 3L20 2L19 2L17 2z" />
+						<path
+							d="M2 13L2 14L2 15L2 16L2 17L2 18L2 19L2 20L2 21L2 22L2 23L3 23L4 23L5 23L6 23L7 23L8 23L8 22L9 22L9 21L10 21L10 20L10 19L10 18L10 17L10 16L10 15L9 15L9 14L8 14L7 14L7 13L6 13L5 13L4 13L2 13M13 13L13 14L13 15L13 16L13 17L13 18L13 19L13 20L13 21L13 22L13 23L14 23L14 22L14 21L14 20L14 19L14 18L14 17L14 16L14 15L14 14L13 13M17 13L17 14L17 15L17 16L17 17L17 18L17 19L17 20L17 21L17 22L17 23L18 23L18 22L18 21L18 20L18 19L18 18L19 18L20 18L21 18L22 18L22 17L21 17L20 17L19 17L18 17L18 16L18 15L18 14L19 14L20 14L21 14L22 14L22 13L21 13L20 13L19 13L17 13z" />
+						<path style="fill:#272B30;"
+							d="M3 14L3 15L3 16L3 17L3 18L3 19L3 20L3 21L3 22L4 22L5 22L6 22L7 22L7 21L8 21L8 20L9 20L9 19L9 18L9 17L9 16L8 16L8 15L7 15L7 14L6 14L5 14L3 14z" />
+					</g>
+				</svg></span>
+				<svg   style="fill:white; width:1.5rem; height: 1.5rem;">
+					<use id="wifiStsIcon"   xlink:href="#signal-wifi-fill"></use>
+				</svg>	
+				
+
+
+		</div>
+	</nav>
+	<div id="message"></div>
+	<div id="content">
+		<div id="myTabContent" class="tab-content mt-3">
+			<div class="tab-pane fade" id="tab-cfg-hw"></div>
+			<div class="tab-pane fade" id="tab-cfg-syst"></div>
+			<div class="tab-pane fade" id="tab-cfg-gen"></div>
+			<div class="tab-pane fade" id="tab-cfg-fw">
+				<div id="boot-div">
+					<form id="boot-form" action="/recovery.json" method="post" target="dummyframe">
+						<button id="boot-button" type="submit" class="btn btn-primary">Recovery</button>
+					</form>
+				</div>
+				<h1>Check for firmware upgrade</h1>
+				<div class="buttons">
+					<input type="button" id="fwcheck" class="btn btn-info" value="Check for updates" />
+				</div>
+				<div id="searchfw" class="form-group">
+					<select class="custom-select" id="fwbranch">
+						<option selected="">Choose FW branch</option>
+					</select>
+					<input class="form-control form-control-sm" id="searchinput" type="text"
+						placeholder="search releases" id="inputSmall">
+				</div>
+				<table class="table table-hover">
+					<thead>
+						<tr>
+							<th scope="col">Firmware version</th>
+							<th scope="col">Release date/time</th>
+							<th scope="col">HW platform</th>
+							<th scope="col">IDF version</th>
+							<th scope="col">Branch</th>
+							<th scope="col">Flash this FW</th>
+						</tr>
+					</thead>
+					<tbody id="releaseTable">
+					</tbody>
+				</table>
+				<h2>Firmware URL:</h2>
+				<textarea id="fwurl" maxlength="1000"></textarea>
+				<div class="buttons">
+					<input type="button" id="flash" class="btn btn-danger" value="Flash!" /><span
+						id="flash-status"></span>
+				</div>
+				<div id="uploaddiv" class="recovery_element">
+					<p>OR</p>
+					<div class="form-group">
+						<input type="file" class="form-control-file" id="flashfilename" aria-describedby="fileHelp">
+						<div class="buttons">
+							<button type="button" class="btn btn-danger" id="fwUpload">Upload!</button>
+						</div>
+					</div>
+				</div>
+				<div id="otadiv" class="recovery_element">
+					<div class="progress" id="progress">
+						<div class="progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100"
+							style="width:0%">
+							0%
+						</div>
+					</div>
+				</div>
+			</div>
+			<div class="tab-pane fade" id="tab-nvs">
+				<table class="table table-hover">
+					<thead>
+						<tr>
+							<th scope="col">Key</th>
+							<th scope="col">Value</th>
+						</tr>
+					</thead>
+					<tbody id="nvsTable">
+					</tbody>
+				</table>
+				<div class="buttons">
+					<div id="boot-div">
+						<form id="reboot-form" action="/reboot.json" method="post" target="dummyframe">
+							<button id="reboot-button" type="submit" class="btn btn-primary">Reboot</button>
+						</form>
+					</div>
+					<input id="save-nvs" type="button" class="btn btn-success" value="Commit">
+					<input id="save-as-nvs" type="button" class="btn btn-success" value="Download config">
+					<input id="load-nvs" type="button" class="btn btn-success" value="Load File">
+					<input aria-describedby="fileHelp" onchange="onChooseFile(event, onFileLoad.bind(this))"
+						id="nvsfilename" type="file" style="display:none">
+				</div>
+			</div>
+
+			<div class="tab-pane fade" id="tab-cfg-audio">
+				<div class="card text-white bg-primary mb-3">
+					<div class="card-header">Usage Templates</div>
+					<div class="card-body">
+						<fieldset>
+							<fieldset class="form-group" id="output-tmpl">
+								<legend>Output</legend>
+								<div class="form-check">
+									<label class="form-check-label">
+										<input type="radio" class="form-check-input" name="output-tmpl" id="i2s">
+										I2S Dac
+									</label>
+								</div>
+								<div class="form-check">
+									<label class="form-check-label">
+										<input type="radio" class="form-check-input" name="output-tmpl" id="spdif">
+										SPDIF
+									</label>
+								</div>
+								<div class="form-check">
+									<label class="form-check-label">
+										<input type="radio" class="form-check-input" name="output-tmpl" id="bt">
+										Bluetooth
+									</label>
+								</div>
+							</fieldset>
+							<div class="form-group"><label for="player">Player Name</label><input type="text"
+									class="form-control " placeholder="Squeezelite" id="player"></div>
+							<div class="form-group"><label for="optional">Optional setting (e.g. for LMS IP
+									address)</label><input type="text" class="form-control" id="optional"></div>
+							<div class="form-group">
+								<div class="form-check">
+									<label class="form-check-label">
+										<input class="form-check-input" type="checkbox" id="disable-squeezelite"
+											value="" checked="">
+										Disable Squeezelite
+									</label>
+								</div>
+							</div>
+							<div class="toast show" role="alert" aria-live="assertive" aria-atomic="true"
+								style="display: none;" id="toast_cfg-audio-tmpl">
+								<div class="toast-header"><strong class="mr-auto">Result</strong><button type="button"
+										class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close"
+										onclick="hideSurrounding(this)"><span aria-hidden="true">×</span></button></div>
+								<div class="toast-body" id="msg_cfg-audio-tmpl"></div>
+							</div>
+							<button id="save-autoexec1" type="submit" class="btn btn-info" cmdname="cfg-audio-tmpl"
+								onclick="saveAutoexec1(false)">Save</button>
+							<button id="commit-autoexec1" type="submit" class="btn btn-warning" cmdname="cfg-audio-tmpl"
+								onclick="saveAutoexec1(true)">Apply</button>
+						</fieldset>
+					</div>
+				</div>
+			</div>
+			<div class="tab-pane fade active show" id="tab-wifi">
+				<div class="card text-white bg-primary mb-3">
+					<div class="card-header">WiFi Status</div>
+					<div class="card-body">
+						<table class="table table-hover">
+							<thead>
+								<tr>
+									<th scope="col">Joined</th>
+									<th scope="col">Name</th>
+									<th scope="col">Signal</th>
+									<th scope="col">Security</th>
+								</tr>
+							</thead>
+							<tbody id="wifiTable"></tbody>
+						</table>
+						<button type="button" id="updateAP" class="btn btn-info btn-sm">Scan</button>
+
+					</div>
+					<div class="modal" id="WiFiDisconnectConfirm">
+						<div class="modal-dialog modal-dialog-centered" role="document">
+							<div class="modal-content">
+								<div class="modal-header">
+									<h5 class="modal-title">Disconnect</h5>
+									<button type="button" class="close" data-dismiss="modal" aria-label="Close">
+										<span aria-hidden="true">&times;</span>
+									</button>
+								</div>
+								<div class="modal-body">
+									<p>Disconnect from network? After disconnecting, the system won't be accessible from the current address and will expose itself as access point name <span id="apName"></span> with password <span id="apPass"></span>  </p>
+								</div>
+								<div class="modal-footer connecting-success connecting-status">
+									<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
+									<button type="button" class="btn btn-warning" data-dismiss="modal"
+										onclick="handleDisconnect();">Ok</button>
+								</div>
+							</div>
+						</div>
+					</div>
+					<div class="modal" id="WifiConnectDialog">
+						<div class="modal-dialog modal-dialog-centered" role="document">
+							<div class="modal-content">
+								<div class="modal-header">
+									<h5 class="modal-title connecting connecting-init connecting-fail">Connect to WiFi</h5>
+									<h5 class="modal-title connecting-status connecting-success">Status</h5>
+									<button type="button" class="close" data-dismiss="modal" aria-label="Close">
+										<span aria-hidden="true">&times;</span>
+									</button>
+								</div>
+								<div class="modal-body">
+									<fieldset class="connecting-init connecting-fail">
+										<div class="form-group"><label for="manual_ssid">Wifi Name</label><input
+												type="text" class="form-control" placeholder="Enter Name"
+												id="manual_ssid"></div>
+										<div class="form-group"><label for="manual_pwd">Password</label><input
+												type="password" class="form-control" placeholder="Enter Name"
+												id="manual_pwd"></div>
+									</fieldset>
+									<div id="connect-wait" class="connecting">
+										<div>Connecting to <span id="ssid-wait"></span> </div>
+									<div>
+												You may lose wifi access while the esp32 recalibrates
+													its radio. Please
+													wait until your device automatically reconnects. This can take up to
+													30s.
+												</div>
+									</div>
+									<div id="connect-success" class="connecting-success connecting-status">
+										<div> Connected to Access Point : <span id="connectedToSSID"></span></div>
+										<div> Device IP address : <span id="ipAddress"></span></div>
+										<div>Subnet Mask:<span id="netmask"></span></div>
+										<div>Default Gateway:<span id="gateway"></span></div>
+									</div>
+									<div id="connect-fail" class="connecting-fail">
+										<h3 class="text-error">Connection failed</h3>
+										<p >Please double-check wifi password if any and make sure the access point has good signal.</p>
+									</div>
+								</div>
+								<div class="modal-footer ">
+									<button type="button" class="btn btn-secondary connecting-init connecting-fail connecting" data-dismiss="modal">Close</button>
+									<button type="button" id="btnJoin" class="btn btn-primary connecting-init connecting-fail"
+										onclick="handleConnect();">Join</button>
+									<button type="button" class="connecting btn btn-primary" disabled>
+										<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
+											<span class="sr-only">Connecting...</span></button>
+								</div>
+
+								<div class="modal-footer connecting-success connecting-status">
+									<button type="button" class="btn btn-warning" data-toggle="modal"
+										data-dismiss="modal" data-target="#WiFiDisconnectConfirm">Disconnect</button>
+									<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
+								</div>
+
+							</div>
+						</div>
+					</div>
+
+				</div>
+			</div>
+			<div class="tab-pane fade " id="tab-commands">
+				<fieldset id="commands-list"></fieldset>
+			</div>
+			<!-- Status -->
+			<div class="tab-pane fade " id="tab-syslog">
+				<div class="card border-primary mb-3">
+					<div class="card-header">Logs</div>
+					<div class="card-body">
+						<table class="table table-hover">
+							<thead>
+								<tr>
+									<th scope="col">Timestamp</th>
+									<th scope="col">Message</th>
+								</tr>
+							</thead>
+							<tbody id="syslogTable">
+							</tbody>
+						</table>
+						<div class="buttons">
+							<input id="clear-syslog" type="button" class="btn btn-danger btn-sm" value="Clear" />
+						</div>
+					</div>
+				</div>
+				<div class="card border-primary mb-3">
+					<div class="card-header">Pin Assignments</div>
+					<div class="card-body">
+						<table class="table table-hover">
+							<thead>
+								<tr>
+									<th scope="col">Device</th>
+									<th scope="col">Pin Name</th>
+									<th scope="col">GPIO Number</th>
+									<th scope="col">Type</th>
+								</tr>
+							</thead>
+							<tbody id="gpiotable"></tbody>
+						</table>
+					</div>
+				</div>
+				<div class="card border-primary mb-3" style="visibility: collapse;" id="tasks_sect">
+					<div class="card-header">Tasks</div>
+					<div class="card-body">
+						<table class="table table-hover">
+							<!-- console.log(msg_time.toLocaleString() + '\tname' + '\tcpu' + '\tstate' + '\tminstk' + '\tbprio' + '\tcprio' + '\tnum'); -->
+							<thead>
+								<tr>
+									<th scope="col">#</th>
+									<th scope="col">Task Name</th>
+									<th scope="col">CPU</th>
+									<th scope="col">State</th>
+									<th scope="col">Min Stack</th>
+									<th scope="col">Base Priority</th>
+									<th scope="col">Cur Priority</th>
+								</tr>
+							</thead>
+							<tbody id="tasks"></tbody>
+						</table>
+					</div>
+				</div>
+			</div>
+			<!-- syslog -->
+			<div class="tab-pane fade " id="tab-credits">
+				<div class="card text-white bg-primary mb-3">
+					<div class="card-header">Credits</div>
+					<div class="card-body">
+						<p><strong><a
+									href="https://github.com/sle118/squeezelite-esp32">squeezelite-esp32</a><br></strong>&copy;
+							2020, philippe44, sle118, daduke<br /><a href="https://opensource.org/licenses/MIT">This
+								software is released under the MIT License.</a></p>
+						<p>
+							This app would not be possible without the following libraries:
+						</p>
+						<ul>
+							<li>squeezelite, &copy; 2012-2019, Adrian Smith and Ralph Irving. Licensed under the GPL
+								License.</li>
+							<li>esp32-wifi-manager, &copy; 2017-2019, Tony Pottier. Licensed under the MIT License.</li>
+							<li>SpinKit, &copy; 2015, Tobias Ahlin. Licensed under the MIT License.</li>
+							<li>jQuery, The jQuery Foundation. Licensed under the MIT License.</li>
+							<li>cJSON, &copy; 2009-2017, Dave Gamble and cJSON contributors. Licensed under the MIT
+								License.
+							</li>
+							<li>esp32-rotary-encoder, &copy; 2011-2019, David Antliff and Ben Buxton. Licensed under the
+								GPL
+								License.</li>
+							<li>tarablessd1306, &copy; 2017-2018, Tara Keeling. Licensed under the MIT license.</li>
+						</ul>
+					</div>
+				</div>
+				<div class="card text-white bg-primary mb-3">
+					<div class="card-header">Extras/Overrides</div>
+					<div class="card-body">
+						<fieldset>
+							<div class="form-check">
+								<label class="form-check-label"><input type="checkbox" id="show-nvs"
+										class="form-check-input " value="">Show NVS Editor</label>
+							</div>
+						</fieldset>
+						<fieldset>
+							<div class="form-check">
+								<label class="form-check-label"><input type="checkbox" id="show-commands"
+										class="form-check-input " value="">Show Advanced Commands</label>
+							</div>
+						</fieldset>
+					</div>
+				</div>
+			</div>
+			<!-- credits -->
+		</div>
+
+	</div>
+	<footer class="footer bg-primary text.primary">
+		<button class="btn-warning ota_element" id="reboot_nav" type="submit" onclick="handleReboot(false);"
+			style="display: none;">Reboot</button>
+		<button class="btn-danger recovery_element" id="reboot_ota_nav" type="submit" onclick="handleReboot(true);"
+			style="display: none;">Exit Recovery</button><br>
+		<span id="foot-fw"></span><span id="foot-wifi"></span>
+	</footer>
+	</div>
+</body>
+
+</html>

+ 24 - 0
components/wifi-manager/webapp/src/index.ts

@@ -0,0 +1,24 @@
+//import $ from "jquery";
+import 'bootstrap';
+import '../src/sass/main.scss';
+import '../node_modules/remixicon/icons/Device/signal-wifi-fill.svg';
+import '../node_modules/remixicon/icons/Device/signal-wifi-3-fill.svg';
+import '../node_modules/remixicon/icons/Device/signal-wifi-2-fill.svg';
+import '../node_modules/remixicon/icons/Device/signal-wifi-1-fill.svg';
+import '../node_modules/remixicon/icons/Device/signal-wifi-line.svg';
+import '../node_modules/remixicon/icons/Device/battery-line.svg';
+import '../node_modules/remixicon/icons/Device/battery-low-line.svg';
+import '../node_modules/remixicon/icons/Device/battery-fill.svg';
+
+import '../node_modules/remixicon/icons/Media/headphone-fill.svg';
+import '../node_modules/remixicon/icons/Device/device-recover-fill.svg';
+import '../node_modules/remixicon/icons/Device/bluetooth-fill.svg';
+import '../node_modules/remixicon/icons/Device/bluetooth-connect-fill.svg';
+import '../node_modules/remixicon/icons/Media/stop-circle-fill.svg';
+import '../node_modules/remixicon/icons/Media/play-circle-fill.svg';
+import '../node_modules/remixicon/icons/Media/pause-circle-fill.svg';
+import '../node_modules/remixicon/icons/System/lock-fill.svg';
+import '../node_modules/remixicon/icons/System/lock-unlock-fill.svg';
+
+import './js/custom.js'; 
+// <%= `<svg><use xlink:href="#${htmlWebpackPlugin.files.sprites.svg.defs.symbol[s].id}"></use></svg>` %>

+ 1702 - 0
components/wifi-manager/webapp/src/js/custom.js

@@ -0,0 +1,1702 @@
+import he from 'he';
+import { Promise } from 'es6-promise';
+
+if (!String.prototype.format) {
+  Object.assign(String.prototype, {
+    format() {
+      const args = arguments;
+      return this.replace(/{(\d+)}/g, function(match, number) {
+        return typeof args[number] !== 'undefined' ? args[number] : match;
+      });
+    }, 
+  }); 
+}
+if (!String.prototype.encodeHTML) {
+  Object.assign(String.prototype, {
+    encodeHTML() {
+      return he.encode(this).replace(/\n/g, '<br />')
+    },
+  });
+}
+Object.assign(Date.prototype, {
+  toLocalShort() {
+    const opt = { dateStyle: 'short', timeStyle: 'short' };
+    return this.toLocaleString(undefined, opt);
+  },
+});
+
+const nvsTypes = {
+  NVS_TYPE_U8: 0x01,
+
+  /*! < Type uint8_t */
+  NVS_TYPE_I8: 0x11,
+
+  /*! < Type int8_t */
+  NVS_TYPE_U16: 0x02,
+
+  /*! < Type uint16_t */
+  NVS_TYPE_I16: 0x12,
+
+  /*! < Type int16_t */
+  NVS_TYPE_U32: 0x04,
+
+  /*! < Type uint32_t */
+  NVS_TYPE_I32: 0x14,
+
+  /*! < Type int32_t */
+  NVS_TYPE_U64: 0x08,
+
+  /*! < Type uint64_t */
+  NVS_TYPE_I64: 0x18,
+
+  /*! < Type int64_t */
+  NVS_TYPE_STR: 0x21,
+
+  /*! < Type string */
+  NVS_TYPE_BLOB: 0x42,
+
+  /*! < Type blob */
+  NVS_TYPE_ANY: 0xff /*! < Must be last */,
+};
+const btIcons = {
+  bt_playing: 'play-circle-fill',
+  bt_disconnected: 'bluetooth-fill',
+  bt_neutral: '',
+  bt_connected: 'bluetooth-connect-fill',
+  bt_disabled: '',
+  play_arrow:  'play-circle-fill',
+  pause: 'pause-circle-fill',
+  stop:  'stop-circle-fill',
+  '': '',
+};
+
+const btStateIcons = [
+  { desc: 'Idle', sub: ['bt_neutral'] },
+  { desc: 'Discovering', sub: ['bt_disconnected'] },
+  { desc: 'Discovered', sub: ['bt_disconnected'] },
+  { desc: 'Unconnected', sub: ['bt_disconnected'] },
+  { desc: 'Connecting', sub: ['bt_disconnected'] },
+  { 
+    desc: 'Connected',
+    sub: ['bt_connected', 'play_arrow', 'bt_playing', 'pause', 'stop'],
+  },
+  { desc: 'Disconnecting', sub: ['bt_disconnected'] },
+];
+
+const pillcolors = {
+  MESSAGING_INFO: 'badge-success',
+  MESSAGING_WARNING: 'badge-warning',
+  MESSAGING_ERROR: 'badge-danger',
+};
+const connectReturnCode = {
+  UPDATE_CONNECTION_OK : 0, 
+	UPDATE_FAILED_ATTEMPT : 1,
+	UPDATE_USER_DISCONNECT : 2,
+  UPDATE_LOST_CONNECTION : 3,
+  UPDATE_FAILED_ATTEMPT_AND_RESTORE : 4
+}
+const taskStates = {
+  0: 'eRunning',
+
+  /*! < A task is querying the state of itself, so must be running. */
+  1: 'eReady',
+
+  /*! < The task being queried is in a read or pending ready list. */
+  2: 'eBlocked',
+
+  /*! < The task being queried is in the Blocked state. */
+  3: 'eSuspended',
+
+  /*! < The task being queried is in the Suspended state, or is in the Blocked state with an infinite time out. */
+  4: 'eDeleted',
+};
+
+window.hideSurrounding = function(obj){
+  $(obj).parent().parent().hide()
+}
+
+window.handleReboot = function(ota){
+  if(ota){
+    $('#reboot_ota_nav').removeClass('active'); delayReboot(500,'', true);
+  }
+  else {
+    $('#reboot_nav').removeClass('active'); delayReboot(500,'', false);
+  }
+}
+
+function handlebtstate(data) {
+  let icon = '';
+  let tt = '';
+  if (data.bt_status !== undefined && data.bt_sub_status !== undefined) {
+    const iconsvg = btStateIcons[data.bt_status].sub[data.bt_sub_status];
+    if (iconsvg) {
+      icon = `#${btIcons[iconsvg]}`;
+      tt = btStateIcons[data.bt_status].desc;
+    } else {
+      icon = `#${btIcons.bt_connected}`;
+      tt = 'Output status';
+    }
+  }
+  $('#o_type').title = tt;
+  $('#o_bt').attr('xlink:href',icon);
+
+  
+}
+function handleTemplateTypeRadio(outtype) {
+  if (outtype === 'bt') {
+    $('#bt').prop('checked', true);
+    $('#o_bt').attr('display', 'inline');
+    $('#o_spdif').attr('display', 'none');
+    $('#o_i2s').attr('display', 'none');
+    output = 'bt';
+  } else if (outtype === 'spdif') {
+    $('#spdif').prop('checked', true);
+    $('#o_bt').attr('display', 'none');
+    $('#o_spdif').attr('display', 'inline');
+    $('#o_i2s').attr('display', 'none');
+    output = 'spdif';
+  } else {
+    $('#i2s').prop('checked', true);
+    $('#o_bt').attr('display', 'none');
+    $('#o_spdif').attr('display', 'none');
+    $('#o_i2s').attr('display', 'inline');
+    output = 'i2s';
+  }
+}
+
+function handleExceptionResponse(xhr, _ajaxOptions, thrownError) {
+  console.log(xhr.status);
+  console.log(thrownError);
+  enableStatusTimer = true;
+  if (thrownError !== '') {
+    showLocalMessage(thrownError, 'MESSAGING_ERROR');
+  }
+}
+function HideCmdMessage(cmdname) {
+  $('#toast_' + cmdname).css('display', 'none');
+  $('#toast_' + cmdname)
+    .removeClass('table-success')
+    .removeClass('table-warning')
+    .removeClass('table-danger')
+    .addClass('table-success');
+  $('#msg_' + cmdname).html('');
+}
+function showCmdMessage(cmdname, msgtype, msgtext, append = false) {
+  let color = 'table-success';
+  if (msgtype === 'MESSAGING_WARNING') {
+    color = 'table-warning';
+  } else if (msgtype === 'MESSAGING_ERROR') {
+    color = 'table-danger';
+  }
+  $('#toast_' + cmdname).css('display', 'block');
+  $('#toast_' + cmdname)
+    .removeClass('table-success')
+    .removeClass('table-warning')
+    .removeClass('table-danger')
+    .addClass(color);
+  let escapedtext = msgtext
+    .substring(0, msgtext.length - 1)
+    .encodeHTML()
+    .replace(/\n/g, '<br />');
+  escapedtext =
+    ($('#msg_' + cmdname).html().length > 0 && append
+      ? $('#msg_' + cmdname).html() + '<br/>'
+      : '') + escapedtext;
+  $('#msg_' + cmdname).html(escapedtext);
+}
+
+const releaseURL =
+  'https://api.github.com/repos/sle118/squeezelite-esp32/releases';
+let recovery = false;
+var enableStatusTimer = true;
+const commandHeader = 'squeezelite -b 500:2000 -d all=info -C 30 -W';
+let otapct, otadsc;
+let blockAjax = false;
+let blockFlashButton = false;
+let apList = null;
+//let selectedSSID = '';
+//let checkStatusInterval = null;
+let messagecount = 0;
+let messageseverity = 'MESSAGING_INFO';
+let StatusIntervalActive = false;
+let LastRecoveryState = null;
+let SystemConfig={};
+let LastCommandsState = null;
+var output = '';
+let hostName = '';
+let versionName='SqueezeESP32';
+let appTitle=versionName;
+let ConnectedToSSID={};
+let ConnectingToSSID={};
+const ConnectingToActions = {
+  'CONN' : 0,'MAN' : 1,'STS' : 2,
+}
+
+Promise.prototype.delay = function(duration) {
+  return this.then(
+    function(value) {
+      return new Promise(function(resolve) {
+        setTimeout(function() {
+          resolve(value);
+        }, duration);
+      });
+    },
+    function(reason) {
+      return new Promise(function(_resolve, reject) {
+        setTimeout(function() {
+          reject(reason);
+        }, duration);
+      });
+    }
+  );
+};
+// function stopCheckStatusInterval() {
+//   if (checkStatusInterval != null) {
+//     clearTimeout(checkStatusInterval);
+//     checkStatusInterval = null;
+//   }
+//   StatusIntervalActive = false;
+// }
+
+
+function startCheckStatusInterval() {
+  StatusIntervalActive = true;
+  setTimeout(checkStatus, 3000);
+}
+
+
+function RepeatCheckStatusInterval() {
+  if (StatusIntervalActive) {
+    startCheckStatusInterval();
+  }
+}
+
+function getConfigJson(slimMode) {
+  const config = {};
+  $('input.nvs').each(function(_index, entry) {
+    if (!slimMode) {
+      const nvsType = parseInt(entry.attributes.nvs_type.value, 10);
+      if (entry.id !== '') {
+        config[entry.id] = {};
+        if (
+          nvsType === nvsTypes.NVS_TYPE_U8 ||
+          nvsType === nvsTypes.NVS_TYPE_I8 ||
+          nvsType === nvsTypes.NVS_TYPE_U16 ||
+          nvsType === nvsTypes.NVS_TYPE_I16 ||
+          nvsType === nvsTypes.NVS_TYPE_U32 ||
+          nvsType === nvsTypes.NVS_TYPE_I32 ||
+          nvsType === nvsTypes.NVS_TYPE_U64 ||
+          nvsType === nvsTypes.NVS_TYPE_I64
+        ) {
+          config[entry.id].value = parseInt(entry.value);
+        } else {
+          config[entry.id].value = entry.value;
+        }
+        config[entry.id].type = nvsType;
+      }
+    } else {
+      config[entry.id] = entry.value;
+    }
+  });
+  const key = $('#nvs-new-key').val();
+  const val = $('#nvs-new-value').val();
+  if (key !== '') {
+    if (!slimMode) {
+      config[key] = {};
+      config[key].value = val;
+      config[key].type = 33;
+    } else {
+      config[key] = val;
+    }
+  }
+  return config;
+}
+
+// eslint-disable-next-line no-unused-vars
+function onFileLoad(elementId, event) {
+  let data = {};
+  try {
+    data = JSON.parse(elementId.srcElement.result);
+  } catch (e) {
+    alert('Parsing failed!\r\n ' + e);
+  }
+  $('input.nvs').each(function(_index, entry) {
+    if (data[entry.id]) {
+      if (data[entry.id] !== entry.value) {
+        console.log(
+          'Changed ' + entry.id + ' ' + entry.value + '==>' + data[entry.id]
+        );
+        $(this).val(data[entry.id]);
+      }
+    }
+  });
+}
+
+// eslint-disable-next-line no-unused-vars
+function onChooseFile(event, onLoadFileHandler) {
+  if (typeof window.FileReader !== 'function') {
+    throw "The file API isn't supported on this browser.";
+  }
+  const input = event.target;
+  if (!input) {
+    throw 'The browser does not properly implement the event object';
+  }
+  if (!input.files) {
+    throw 'This browser does not support the `files` property of the file input.';
+  }
+  if (!input.files[0]) {
+    return undefined;
+  }
+  const file = input.files[0];
+  let fr = new FileReader();
+  fr.onload = onLoadFileHandler;
+  fr.readAsText(file);
+  input.value = '';
+}
+function delayReboot(duration, cmdname, ota = false) {
+  const url = ota ? '/reboot_ota.json' : '/reboot.json';
+  $('tbody#tasks').empty();
+  enableStatusTimer = false;
+  $('#tasks_sect').css('visibility', 'collapse');
+  Promise.resolve({ cmdname: cmdname, url: url })
+    .delay(duration)
+    .then(function(data) {
+      if (data.cmdname.length > 0) {
+        showCmdMessage(
+          data.cmdname,
+          'MESSAGING_WARNING',
+          'System is rebooting.\n',
+          true
+        );
+      } else {
+        showLocalMessage('System is rebooting.\n', 'MESSAGING_WARNING');
+      }
+      console.log('now triggering reboot');
+      $.ajax({
+        url: data.url,
+        dataType: 'text',
+        method: 'POST',
+        cache: false,
+        contentType: 'application/json; charset=utf-8',
+        data: JSON.stringify({
+          timestamp: Date.now(),
+        }),
+        error: handleExceptionResponse,
+        complete: function() {
+          console.log('reboot call completed');
+          enableStatusTimer = true;
+          Promise.resolve(data)
+            .delay(6000)
+            .then(function(rdata) {
+              if (rdata.cmdname.length > 0) {
+                HideCmdMessage(rdata.cmdname);
+              }
+              getCommands();
+              getConfig();
+            });
+        },
+      });
+    });
+}
+// eslint-disable-next-line no-unused-vars
+window.saveAutoexec1 = function(apply) {
+  showCmdMessage('cfg-audio-tmpl', 'MESSAGING_INFO', 'Saving.\n', false);
+  let commandLine = commandHeader + ' -n "' + $('#player').val() + '"';
+  if (output === 'bt') {
+    commandLine += ' -o "BT" -R -Z 192000';
+    showCmdMessage(
+      'cfg-audio-tmpl',
+      'MESSAGING_INFO',
+      'Remember to configure the Bluetooth audio device name.\n',
+      true
+    );
+  } else if (output === 'spdif') {
+    commandLine += ' -o SPDIF -Z 192000';
+  } else {
+    commandLine += ' -o I2S';
+  }
+  if ($('#optional').val() !== '') {
+    commandLine += ' ' + $('#optional').val();
+  }
+  const data = {
+    timestamp: Date.now(),
+  };
+  data.config = {
+    autoexec1: { value: commandLine, type: 33 },
+    autoexec: {
+      value: $('#disable-squeezelite').prop('checked') ? '0' : '1',
+      type: 33,
+    },
+  };
+
+  $.ajax({
+    url: '/config.json',
+    dataType: 'text',
+    method: 'POST',
+    cache: false,
+    contentType: 'application/json; charset=utf-8',
+    data: JSON.stringify(data),
+    error: handleExceptionResponse,
+    complete: function(response) {
+      if (
+        response.responseText.result &&
+        JSON.parse(response.responseText).result === 'OK'
+      ) {
+        showCmdMessage('cfg-audio-tmpl', 'MESSAGING_INFO', 'Done.\n', true);
+        if (apply) {
+          delayReboot(1500, 'cfg-audio-tmpl');
+        }
+      } else if (response.responseText.result) {
+        showCmdMessage(
+          'cfg-audio-tmpl',
+          'MESSAGING_WARNING',
+          JSON.parse(response.responseText).Result + '\n',
+          true
+        );
+      } else {
+        showCmdMessage(
+          'cfg-audio-tmpl',
+          'MESSAGING_ERROR',
+          response.statusText + '\n'
+        );
+      }
+      console.log(response.responseText);
+    },
+  });
+  console.log('sent data:', JSON.stringify(data));
+}
+window.handleDisconnect = function(){
+   $.ajax({
+       url: '/connect.json',
+       dataType: 'text',
+       method: 'DELETE',
+       cache: false,
+       contentType: 'application/json; charset=utf-8',
+       data: JSON.stringify({
+         timestamp: Date.now(),
+       }),
+     });
+}
+
+window.handleConnect = function(){
+  ConnectingToSSID.ssid = $('#manual_ssid').val();
+  ConnectingToSSID.pwd = $('#manual_pwd').val();
+  ConnectingToSSID.dhcpname = $('#dhcp-name2').val();
+  $("*[class*='connecting']").hide();
+  $('#ssid-wait').text(ConnectingToSSID.ssid);
+  $('.connecting').show();
+
+  $.ajax({
+    url: '/connect.json',
+    dataType: 'text',
+    method: 'POST',
+    cache: false,
+    contentType: 'application/json; charset=utf-8',
+    data: JSON.stringify({
+      timestamp: Date.now(),
+      ssid: ConnectingToSSID.ssid,
+      pwd: ConnectingToSSID.pwd
+    }),
+    error: handleExceptionResponse,
+  });
+
+  // now we can re-set the intervals regardless of result
+  startCheckStatusInterval();
+
+}
+$(document).ready(function() {
+  setTimeout(refreshAP,1500);
+  $('#WifiConnectDialog').on('shown.bs.modal', function () {
+    $("*[class*='connecting']").hide();
+    if(ConnectingToSSID.Action!==ConnectingToActions.STS){
+      $('.connecting-init').show();
+      $('#manual_ssid').trigger('focus');      
+    }
+    else {
+      handleWifiDialog();
+    }
+  })
+  $('#WifiConnectDialog').on('hidden.bs.modal', function () {
+    $('#WifiConnectDialog input').val('');
+  })
+  
+  
+  $('input#show-commands')[0].checked = LastCommandsState === 1;
+  $('a[href^="#tab-commands"]').hide();
+  $('#load-nvs').on('click', function() {
+    $('#nvsfilename').trigger('click');
+  });
+  $('#clear-syslog').on('click', function() {
+    messagecount = 0;
+    messageseverity = 'MESSAGING_INFO';
+    $('#msgcnt').text('');
+    $('#syslogTable').html('');
+  });
+  
+  $('#wifiTable').on('click','tr', function() {
+    ConnectingToSSID.Action=ConnectingToActions.CONN;
+    if($(this).children('td:eq(1)').text() == ConnectedToSSID.ssid){
+      ConnectingToSSID.Action=ConnectingToActions.STS;
+       return;
+     }
+     if(!$(this).is(':last-child')){
+      ConnectingToSSID.ssid=$(this).children('td:eq(1)').text();
+      $('#manual_ssid').val(ConnectingToSSID.ssid);
+     } 
+     else {
+       ConnectingToSSID.Action=ConnectingToActions.MAN;
+       ConnectingToSSID.ssid='';
+       $('#manual_ssid').val(ConnectingToSSID.ssid);
+     }
+   });
+
+  // $('#cancel').on('click', function() {
+  //   selectedSSID = '';
+  //   $('#connect').slideUp('fast', function() {});
+  //   $('#connect_manual').slideUp('fast', function() {});
+  //   $('#wifi').slideDown('fast', function() {});
+  // });
+
+  // $('#manual_cancel').on('click', function() {
+  //   selectedSSID = '';
+  //   $('#connect').slideUp('fast', function() {});
+  //   $('#connect_manual').slideUp('fast', function() {});
+  //   $('#wifi').slideDown('fast', function() {});
+  // });
+
+  // $('#ok-details').on('click', function() {
+  //   $('#connect-details').slideUp('fast', function() {});
+  //   $('#wifi').slideDown('fast', function() {});
+  // });
+
+  $('#ok-credits').on('click', function() {
+    $('#credits').slideUp('fast', function() {});
+    $('#app').slideDown('fast', function() {});
+  });
+
+  $('#acredits').on('click', function(event) {
+    event.preventDefault();
+    $('#app').slideUp('fast', function() {});
+    $('#credits').slideDown('fast', function() {});
+  });
+
+  // $('#disconnect').on('click', function() {
+  //   $('#connect-details-wrap').addClass('blur');
+  //   $('#diag-disconnect').slideDown('fast', function() {});
+  // });
+
+  // $('#no-disconnect').on('click', function() {
+  //   $('#diag-disconnect').slideUp('fast', function() {});
+  //   $('#connect-details-wrap').removeClass('blur');
+  // });
+
+  // $('#yes-disconnect').on('click', function() {
+  //   stopCheckStatusInterval();
+  //   selectedSSID = '';
+
+  //   $('#diag-disconnect').slideUp('fast', function() {});
+  //   $('#connect-details-wrap').removeClass('blur');
+
+  //   $.ajax({
+  //     url: '/connect.json',
+  //     dataType: 'text',
+  //     method: 'DELETE',
+  //     cache: false,
+  //     contentType: 'application/json; charset=utf-8',
+  //     data: JSON.stringify({
+  //       timestamp: Date.now(),
+  //     }),
+  //   });
+
+  //   startCheckStatusInterval();
+
+  //   $('#connect-details').slideUp('fast', function() {});
+  //   $('#wifi').slideDown('fast', function() {});
+  // });
+  $('input#show-commands').on('click', function() {
+    this.checked = this.checked ? 1 : 0;
+    if (this.checked) {
+      $('a[href^="#tab-commands"]').show();
+      LastCommandsState = 1;
+    } else {
+      LastCommandsState = 0;
+      $('a[href^="#tab-commands"]').hide();
+    }
+  });
+
+  $('input#show-nvs').on('click', function() {
+    this.checked = this.checked ? 1 : 0;
+    if (this.checked) {
+      $('*[href*="-nvs"]').show();
+    } else {
+      $('*[href*="-nvs"]').hide();
+    }
+  });
+ 
+  $('#save-as-nvs').on('click', function() {
+    const config = getConfigJson(true);
+    const a = document.createElement('a');
+    a.href = URL.createObjectURL(
+      new Blob([JSON.stringify(config, null, 2)], {
+        type: 'text/plain',
+      })
+    );
+    a.setAttribute(
+      'download',
+      'nvs_config_' + hostName + '_' + Date.now() + 'json'
+    );
+    document.body.appendChild(a);
+    a.click();
+    document.body.removeChild(a);
+  });
+
+  $('#save-nvs').on('click', function() {
+    const headers = {};
+    const data = {
+      timestamp: Date.now(),
+    };
+    const config = getConfigJson(false);
+    data.config = config;
+    $.ajax({
+      url: '/config.json',
+      dataType: 'text',
+      method: 'POST',
+      cache: false,
+      headers: headers,
+      contentType: 'application/json; charset=utf-8',
+      data: JSON.stringify(data),
+      error: handleExceptionResponse,
+    });
+    console.log('sent config JSON with headers:', JSON.stringify(headers));
+    console.log('sent config JSON with data:', JSON.stringify(data));
+  });
+  $('#fwUpload').on('click', function() {
+    const uploadPath = '/flash.json';
+
+    if (!recovery) {
+      $('#flash-status').text('Rebooting to recovery.  Please try again');
+      window.handleReboot(false);
+    }
+
+    const fileInput = document.getElementById('flashfilename').files;
+    if (fileInput.length === 0) {
+      alert('No file selected!');
+    } else {
+      const file = fileInput[0];
+      const xhttp = new XMLHttpRequest();
+      xhttp.onreadystatechange = function() {
+        if (xhttp.readyState === 4) {
+          if (xhttp.status === 200) {
+            showLocalMessage(xhttp.responseText, 'MESSAGING_INFO');
+          } else if (xhttp.status === 0) {
+            showLocalMessage(
+              'Upload connection was closed abruptly!',
+              'MESSAGING_ERROR'
+            );
+          } else {
+            showLocalMessage(
+              xhttp.status + ' Error!\n' + xhttp.responseText,
+              'MESSAGING_ERROR'
+            );
+          }
+        }
+      };
+      xhttp.open('POST', uploadPath, true);
+      xhttp.send(file);
+    }
+    enableStatusTimer = true;
+  });
+  $('#flash').on('click', function() {
+    const data = {
+      timestamp: Date.now(),
+    };
+    if (blockFlashButton) {
+      return;
+    }
+    blockFlashButton = true;
+    const url = $('#fwurl').val();
+    data.config = {
+      fwurl: {
+        value: url,
+        type: 33,
+      },
+    };
+
+    $.ajax({
+      url: '/config.json',
+      dataType: 'text',
+      method: 'POST',
+      cache: false,
+      contentType: 'application/json; charset=utf-8',
+      data: JSON.stringify(data),
+      error: handleExceptionResponse,
+    });
+    enableStatusTimer = true;
+  });
+
+  $('[name=output-tmpl]').on('click', function() {
+    handleTemplateTypeRadio(this.id);
+  });
+
+  $('#fwcheck').on('click', function() {
+    $('#releaseTable').html('');
+    $('#fwbranch').empty();
+    $.getJSON(releaseURL, function(data) {
+      let i = 0;
+      const branches = [];
+      data.forEach(function(release) {
+        const namecomponents = release.name.split('#');
+        const branch = namecomponents[3];
+        if (!branches.includes(branch)) {
+          branches.push(branch);
+        }
+      });
+      let fwb;
+      branches.forEach(function(branch) {
+        fwb += '<option value="' + branch + '">' + branch + '</option>';
+      });
+      $('#fwbranch').append(fwb);
+
+      data.forEach(function(release) {
+        let url = '';
+        release.assets.forEach(function(asset) {
+          if (asset.name.match(/\.bin$/)) {
+            url = asset.browser_download_url;
+          }
+        });
+        const namecomponents = release.name.split('#');
+        const ver = namecomponents[0];
+        const idf = namecomponents[1];
+        const cfg = namecomponents[2];
+        const branch = namecomponents[3];
+
+        let body = release.body;
+        body = body.replace(/'/gi, '"');
+        body = body.replace(
+          /[\s\S]+(### Revision Log[\s\S]+)### ESP-IDF Version Used[\s\S]+/,
+          '$1'
+        );
+        body = body.replace(/- \(.+?\) /g, '- ');
+        const trclass = i++ > 6 ? ' hide' : '';
+        $('#releaseTable').append(
+          "<tr class='release" +
+            trclass +
+            "'>" +
+            "<td data-toggle='tooltip' title='" +
+            body +
+            "'>" +
+            ver +
+            '</td>' +
+            '<td>' +
+            new Date(release.created_at).toLocalShort() +
+            '</td>' +
+            '<td>' +
+            cfg +
+            '</td>' +
+            '<td>' +
+            idf +
+            '</td>' +
+            '<td>' +
+            branch +
+            '</td>' +
+            "<td><input type='button' class='btn btn-success' value='Select' data-url='" +
+            url +
+            "' onclick='setURL(this);' /></td>" +
+            '</tr>'
+        );
+      });
+      if (i > 7) {
+        $('#releaseTable').append(
+          "<tr id='showall'>" +
+            "<td colspan='6'>" +
+            "<input type='button' id='showallbutton' class='btn btn-info' value='Show older releases' />" +
+            '</td>' +
+            '</tr>'
+        );
+        $('#showallbutton').on('click', function() {
+          $('tr.hide').removeClass('hide');
+          $('tr#showall').addClass('hide');
+        });
+      }
+      $('#searchfw').css('display', 'inline');
+    }).fail(function() {
+      alert('failed to fetch release history!');
+    });
+  });
+
+  $('input#searchinput').on('input', function() {
+    const s = $('input#searchinput').val();
+    const re = new RegExp(s, 'gi');
+    if (s.length === 0) {
+      $('tr.release').removeClass('hide');
+    } else if (s.length < 3) {
+      $('tr.release').addClass('hide');
+    } else {
+      $('tr.release').addClass('hide');
+      $('tr.release').each(function() {
+        $(this)
+          .find('td')
+          .each(function() {
+            if (
+              $(this)
+                .html()
+                .match(re)
+            ) {
+              $(this)
+                .parent()
+                .removeClass('hide');
+            }
+          });
+      });
+    }
+  });
+
+  $('#fwbranch').on('change', function() {
+    const branch = this.value;
+    const re = new RegExp('^' + branch + '$', 'gi');
+    $('tr.release').addClass('hide');
+    $('tr.release').each(function() {
+      $(this)
+        .find('td')
+        .each(function() {
+          console.log($(this).html());
+          if (
+            $(this)
+              .html()
+              .match(re)
+          ) {
+            $(this)
+              .parent()
+              .removeClass('hide');
+          }
+        });
+    });
+  });
+
+  $('#boot-button').on('click', function() {
+    enableStatusTimer = true;
+  });
+  $('#reboot-button').on('click', function() {
+    enableStatusTimer = true;
+  });
+
+  $('#updateAP').on('click', function() {
+    refreshAP();
+    console.log('refresh AP');
+  });
+
+  // first time the page loads: attempt to get the connection status and start the wifi scan
+  getConfig();
+  getCommands();
+
+  // start timers
+  startCheckStatusInterval();
+});
+
+// eslint-disable-next-line no-unused-vars
+window.setURL = function(button) {
+  const url = button.dataset.url;
+  $('#fwurl').val(url);
+
+  $('[data-url^="http"]')
+    .addClass('btn-success')
+    .removeClass('btn-danger');
+  $('[data-url="' + url + '"]')
+    .addClass('btn-danger')
+    .removeClass('btn-success');
+}
+
+// function performConnect(conntype) {
+//   // stop the status refresh. This prevents a race condition where a status
+//   // request would be refreshed with wrong ip info from a previous connection
+//   // and the request would automatically shows as succesful.
+//   stopCheckStatusInterval();
+
+//   // stop refreshing wifi list
+
+//   let pwd;
+//   let dhcpname;
+//   if (conntype === 'manual') {
+//     // Grab the manual SSID and PWD
+//     selectedSSID = $('#manual_ssid').val();
+//     pwd = $('#manual_pwd').val();
+//     dhcpname = $('#dhcp-name2').val();
+//   } else {
+//     pwd = $('#pwd').val();
+//     dhcpname = $('#dhcp-name1').val();
+//   }
+
+//   // reset connection
+//   $('#connect-success').hide();
+//   $('#connect-fail').hide();
+
+//   $('#ok-connect').prop('disabled', true);
+//   $('#ssid-wait').text(selectedSSID);
+//   $('#connect').slideUp('fast', function() {});
+//   $('#connect_manual').slideUp('fast', function() {});
+
+//   $.ajax({
+//     url: '/connect.json',
+//     dataType: 'text',
+//     method: 'POST',
+//     cache: false,
+
+//     //        headers: { 'X-Custom-ssid': selectedSSID, 'X-Custom-pwd': pwd, 'X-Custom-host_name': dhcpname },
+//     contentType: 'application/json; charset=utf-8',
+//     data: JSON.stringify({
+//       timestamp: Date.now(),
+//       ssid: selectedSSID,
+//       pwd: pwd,
+//       host_name: dhcpname,
+//     }),
+//     error: handleExceptionResponse,
+//   });
+
+//   // now we can re-set the intervals regardless of result
+//   startCheckStatusInterval();
+// }
+
+function rssiToIcon(rssi) {
+  if (rssi >= -55) {
+    return `#signal-wifi-fill`;
+  } else if (rssi >= -60) {
+    return `#signal-wifi-3-fill`;
+  } else if (rssi >= -65) {
+    return `#signal-wifi-2-fill`;
+  } else if (rssi >= -70) {
+    return `#signal-wifi-1-fill`;
+  } else {   
+    return `#signal-wifi-line`;
+  }
+}
+
+function refreshAP() {
+  $.getJSON('/scan.json', async function() {
+    await sleep(2000);
+    $.getJSON('/ap.json', function(data) {
+      if (data.length > 0) {
+        // sort by signal strength
+        data.sort(function(a, b) {
+          const x = a.rssi;
+          const y = b.rssi;
+          // eslint-disable-next-line no-nested-ternary
+          return x < y ? 1 : x > y ? -1 : 0;
+        });
+        apList = data;
+        refreshAPHTML2(apList);
+
+      }
+    });
+  }); 
+}
+function formatAP(ssid, rssi, auth){
+  return `<tr data-toggle="modal" data-target="#WifiConnectDialog"><td></td><td>${ssid}</td><td>
+  
+  	<svg style="fill:white; width:1.5rem; height: 1.5rem;">
+				<use xlink:href="#${rssiToIcon(rssi)}"></use>
+			</svg>
+  </td><td>
+ 
+  <svg style="fill:white; width:1.5rem; height: 1.5rem;">
+  <use xlink:href="#lock${(auth == 0 ? '-unlock':'')}-fill"></use>
+</svg>
+
+  </td></tr>`;
+}
+function refreshAPHTML2(data) {
+  let h = '';
+  $('#wifiTable tr td:first-of-type').text('');
+  $('#wifiTable tr').removeClass('table-success table-warning');
+  if(data){
+    data.forEach(function(e) {
+      h+=formatAP(e.ssid, e.rssi, e.auth);
+    });
+    $('#wifiTable').html(h);
+  }
+  if($('.manual_add').length == 0){
+    $('#wifiTable').append(formatAP('Manual add', 0,0));
+    $('#wifiTable tr:last').addClass('table-light text-dark').addClass('manual_add');
+  }
+  if(ConnectedToSSID.ssid && ( ConnectedToSSID.urc === connectReturnCode.UPDATE_CONNECTION_OK || ConnectedToSSID.urc === connectReturnCode.UPDATE_FAILED_ATTEMPT_AND_RESTORE )){
+    const wifiSelector=`#wifiTable td:contains("${ConnectedToSSID.ssid}")`;
+    if($(wifiSelector).filter(function() {return $(this).text() === ConnectedToSSID.ssid;  }).length==0){
+      $('#wifiTable').prepend(`${formatAP(ConnectedToSSID.ssid, ConnectedToSSID.rssi ?? 0, 0)}`);
+    }
+    $(wifiSelector).filter(function() {return $(this).text() === ConnectedToSSID.ssid;  }).siblings().first().html('&check;').parent().addClass((ConnectedToSSID.urc === connectReturnCode.UPDATE_CONNECTION_OK?'table-success':'table-warning'));
+    $('span#foot-wifi').html(`, SSID: <strong>${ConnectedToSSID.ssid}</strong>, IP: <strong>${ConnectedToSSID.ip}</strong>`);    
+    $('#wifiStsIcon').attr('xlink:href',rssiToIcon(ConnectedToSSID.rssi));
+  }
+  else {
+    $('span#foot-wifi').html('');
+  }
+  
+}
+function showTask(task) {
+  console.debug(
+    this.toLocaleString() +
+      '\t' +
+      task.nme +
+      '\t' +
+      task.cpu +
+      '\t' +
+      taskStates[task.st] +
+      '\t' +
+      task.minstk +
+      '\t' +
+      task.bprio +
+      '\t' +
+      task.cprio +
+      '\t' +
+      task.num
+  );
+  $('tbody#tasks').append(
+    '<tr class="table-primary"><th scope="row">' +
+      task.num +
+      '</th><td>' +
+      task.nme +
+      '</td><td>' +
+      task.cpu +
+      '</td><td>' +
+      taskStates[task.st] +
+      '</td><td>' +
+      task.minstk +
+      '</td><td>' +
+      task.bprio +
+      '</td><td>' +
+      task.cprio +
+      '</td></tr>'
+  );
+}
+function getMessages() {
+  $.getJSON('/messages.json?1', async function(data) {
+    for (const msg of data) {
+      const msgAge = msg.current_time - msg.sent_time;
+      var msgTime = new Date();
+      msgTime.setTime(msgTime.getTime() - msgAge);
+      switch (msg.class) {
+        case 'MESSAGING_CLASS_OTA':
+          // message: "{"ota_dsc":"Erasing flash complete","ota_pct":0}"
+          var otaData = JSON.parse(msg.message);
+          if ((otaData.ota_pct ?? 0) !== 0) {
+            otapct = otaData.ota_pct;
+            $('.progress-bar')
+              .css('width', otapct + '%')
+              .attr('aria-valuenow', otapct);
+            $('.progress-bar').html(otapct + '%');
+          }
+          if ((otaData.ota_dsc ??'') !== '') {
+            otadsc = otaData.ota_dsc;
+            $('span#flash-status').html(otadsc);
+            if (msg.type === 'MESSAGING_ERROR' || otapct > 95) {
+              blockFlashButton = false;
+              enableStatusTimer = true;
+            }
+          }
+          break;
+        case 'MESSAGING_CLASS_STATS':
+          // for task states, check structure : task_state_t
+          var statsData = JSON.parse(msg.message);
+          console.debug(
+            msgTime.toLocalShort() +
+              ' - Number of running tasks: ' +
+              statsData.ntasks
+          );
+          console.debug(
+            msgTime.toLocalShort() +
+              '\tname' +
+              '\tcpu' +
+              '\tstate' +
+              '\tminstk' +
+              '\tbprio' +
+              '\tcprio' +
+              '\tnum'
+          );
+          if (statsData.tasks) {
+            if ($('#tasks_sect').css('visibility') === 'collapse') {
+              $('#tasks_sect').css('visibility', 'visible');
+            }
+            $('tbody#tasks').html('');
+            statsData.tasks
+              .sort(function(a, b) {
+                return b.cpu - a.cpu;
+              })
+              .forEach(showTask, msgTime);
+          } else if ($('#tasks_sect').css('visibility') === 'visible') {
+            $('tbody#tasks').empty();
+            $('#tasks_sect').css('visibility', 'collapse');
+          }
+          break;
+        case 'MESSAGING_CLASS_SYSTEM':
+          showMessage(msg, msgTime);
+          break;
+        case 'MESSAGING_CLASS_CFGCMD':
+          var msgparts = msg.message.split(/([^\n]*)\n(.*)/gs);
+          showCmdMessage(msgparts[1], msg.type, msgparts[2], true);
+          break;
+        case 'MESSAGING_CLASS_BT':
+          JSON.parse(msg.message).forEach(function(btEntry) {
+            showMessage({ type:msg.type, message:`BT Audio device found: ${btEntry.name} RSSI: ${btEntry.rssi} `}, msgTime);
+          });
+          break;
+        default:
+          break;
+      }
+    }
+  }).fail(handleExceptionResponse);
+
+  /*
+    Minstk is minimum stack space left
+Bprio is base priority
+cprio is current priority
+nme is name
+st is task state. I provided a "typedef" that you can use to convert to text
+cpu is cpu percent used
+*/
+}
+function handleRecoveryMode(data) {
+  const locRecovery= data.recovery ??0;
+  if (LastRecoveryState !== locRecovery) {
+    LastRecoveryState = locRecovery;
+    $('input#show-nvs')[0].checked = LastRecoveryState === 1;
+  }
+  if ($('input#show-nvs')[0].checked) {
+    $('*[href*="-nvs"]').show();
+
+  } else {
+    $('*[href*="-nvs"]').hide();
+  }
+  enableStatusTimer = true;
+  if (locRecovery === 1) {
+    recovery = true;
+    $('.recovery_element').show();
+    $('.ota_element').hide();
+    $('#boot-button').html('Reboot');
+    $('#boot-form').attr('action', '/reboot_ota.json');
+  } else {
+    recovery = false;
+    $('.recovery_element').hide();
+    $('.ota_element').show();
+    $('#boot-button').html('Recovery');
+    $('#boot-form').attr('action', '/recovery.json');
+  }
+}
+function hasConnectionChanged(data){
+// gw: "192.168.10.1"
+// ip: "192.168.10.225"
+// netmask: "255.255.255.0"
+// ssid: "MyTestSSID"
+
+  return (data.urc !== ConnectedToSSID.urc || 
+    data.ssid !== ConnectedToSSID.ssid || 
+    data.gw !== ConnectedToSSID.gw  ||
+    data.netmask !== ConnectedToSSID.netmask ||
+    data.ip !== ConnectedToSSID.ip || data.rssi !== ConnectedToSSID.rssi )
+}
+function handleWifiDialog(data){
+  if($('#WifiConnectDialog').is(':visible')){
+    if(ConnectedToSSID.ip) {
+      $('#ipAddress').text(ConnectedToSSID.ip);
+    }
+    if(ConnectedToSSID.ssid) {
+      $('#connectedToSSID' ).text(ConnectedToSSID.ssid);
+    }    
+    if(ConnectedToSSID.gw) {
+      $('#gateway' ).text(ConnectedToSSID.gw);
+    }        
+    if(ConnectedToSSID.netmask) {
+      $('#netmask' ).text(ConnectedToSSID.netmask);
+    }            
+    if(ConnectingToSSID.Action===undefined || (ConnectingToSSID.Action && ConnectingToSSID.Action == ConnectingToActions.STS)) {
+      $("*[class*='connecting']").hide();
+      $('.connecting-status').show();
+    }
+    if(SystemConfig.ap_ssid){
+      $('#apName').text(SystemConfig.ap_ssid);
+    }
+    if(SystemConfig.ap_pwd){
+      $('#apPass').text(SystemConfig.ap_pwd);
+    }    
+    if(!data)
+    {
+      return;
+    }
+    else {
+      switch (data.urc) {
+        case connectReturnCode.UPDATE_CONNECTION_OK:
+          if(data.ssid && data.ssid===ConnectingToSSID.ssid){
+            $("*[class*='connecting']").hide();
+            $('.connecting-success').show();            
+            ConnectingToSSID.Action = ConnectingToActions.STS;
+          }
+          break;
+          case connectReturnCode.UPDATE_FAILED_ATTEMPT:
+          // 
+          if(ConnectingToSSID.Action !=ConnectingToActions.STS && ConnectingToSSID.ssid == data.ssid ){
+            $("*[class*='connecting']").hide();
+            $('.connecting-fail').show();
+          }
+          break;
+          case connectReturnCode.UPDATE_LOST_CONNECTION:
+    
+          break;            
+          case connectReturnCode.UPDATE_FAILED_ATTEMPT_AND_RESTORE:
+            if(ConnectingToSSID.Action !=ConnectingToActions.STS && ConnectingToSSID.ssid != data.ssid ){
+              $("*[class*='connecting']").hide();
+              $('.connecting-fail').show();
+            }
+          break;
+        case connectReturnCode.UPDATE_USER_DISCONNECT:
+            // that's a manual disconnect
+            // if ($('#wifi-status').is(':visible')) {
+            //   $('#wifi-status').slideUp('fast', function() {});
+            //   $('span#foot-wifi').html('');
+    
+            // }                 
+          break;
+        default:
+          break;
+      }
+    }
+
+  }
+}
+function handleWifiStatus(data) {
+  if(hasConnectionChanged(data)){
+    ConnectedToSSID=data;
+    refreshAPHTML2();
+  }
+  handleWifiDialog(data);
+}
+
+function batteryToIcon(voltage) {
+        /* Assuming Li-ion 18650s as a power source, 3.9V per cell, or above is treated
+				as full charge (>75% of capacity).  3.4V is empty. The gauge is loosely
+				following the graph here:
+					https://learn.adafruit.com/li-ion-and-lipoly-batteries/voltages
+				using the 0.2C discharge profile for the rest of the values.
+			*/
+  if (voltage > 0) {
+    if (inRange(voltage, 5.8, 6.8) || inRange(voltage, 8.8, 10.2)) {
+      return `battery-low-line`;
+    } else if (inRange(voltage, 6.8, 7.4) || inRange(voltage, 10.2, 11.1)) {
+      return `battery-low-line`;
+    } else if (
+      inRange(voltage, 7.4, 7.5) ||
+      inRange(voltage, 11.1, 11.25)
+    ) {
+      return `battery-low-line`;
+    } else if (
+      inRange(voltage, 7.5, 7.8) ||
+      inRange(voltage, 11.25, 11.7)
+    ) {
+      return `battery-fill`;
+    } else {
+      return `battery-line`;
+    }
+  }
+}
+function checkStatus() {
+  RepeatCheckStatusInterval();
+  if (!enableStatusTimer) {
+    return;
+  }
+  if (blockAjax) {
+    return;
+  }
+  blockAjax = true;
+  getMessages();
+  $.getJSON('/status.json', function(data) {
+    handleRecoveryMode(data);
+    handleWifiStatus(data);
+    handlebtstate(data);
+    let pname = '';
+    if (data.project_name && data.project_name !== '') {
+      pname = data.project_name;
+    }
+    if (data.version && data.version !== '') {
+      versionName=data.version;
+      appTitle= (versionName.toLowerCase().includes('squeezeamp')?"SqueezeAmp":"SqueezeESP32");
+      $("#navtitle").text= `${appTitle}`;
+      $('span#foot-fw').html(`fw: <strong>${versionName}</strong>, mode: <strong>${pname}</strong>`);
+    } else {
+      $('span#flash-status').html('');
+    }
+    if (data.Voltage) {
+     $('#battery').attr('xlink:href', `#${batteryToIcon(data.Voltage)}`);
+     $('#battery').show();
+    } else {
+      $('#battery').hide();
+    }
+    
+    $('#o_jack').attr('display', Number(data.Jack) ? 'inline' : 'none');
+    blockAjax = false;
+  }).fail(function(xhr, ajaxOptions, thrownError) {
+    handleExceptionResponse(xhr, ajaxOptions, thrownError);
+    blockAjax = false;
+  });
+}
+// eslint-disable-next-line no-unused-vars
+window.runCommand = function(button, reboot) {
+  let cmdstring = button.attributes.cmdname.value;
+  showCmdMessage(
+    button.attributes.cmdname.value,
+    'MESSAGING_INFO',
+    'Executing.',
+    false
+  );
+  const fields = document.getElementById('flds-' + cmdstring);
+  cmdstring += ' ';
+  if (fields) {
+    const allfields = fields.querySelectorAll('select,input');
+    for (var i = 0; i < allfields.length; i++) {
+      const attr = allfields[i].attributes;
+      let qts = '';
+      let opt = '';
+      let isSelect = allfields[i].attributes.class.value === 'custom-select';
+      if ((isSelect && allfields[i].selectedIndex !== 0) || !isSelect) {
+        if (attr.longopts.value !== 'undefined') {
+          opt += '--' + attr.longopts.value;
+        } else if (attr.shortopts.value !== 'undefined') {
+          opt = '-' + attr.shortopts.value;
+        }
+
+        if (attr.hasvalue.value === 'true') {
+          if (allfields[i].value !== '') {
+            qts = /\s/.test(allfields[i].value) ? '"' : '';
+            cmdstring += opt + ' ' + qts + allfields[i].value + qts + ' ';
+          }
+        } else {
+          // this is a checkbox
+          if (allfields[i].checked) {
+            cmdstring += opt + ' ';
+          }
+        }
+      }
+    }
+  }
+  console.log(cmdstring);
+
+  const data = {
+    timestamp: Date.now(),
+  };
+  data.command = cmdstring;
+
+  $.ajax({
+    url: '/commands.json',
+    dataType: 'text',
+    method: 'POST',
+    cache: false,
+    contentType: 'application/json; charset=utf-8',
+    data: JSON.stringify(data),
+    error: handleExceptionResponse,
+    complete: function(response) {
+      // var returnedResponse = JSON.parse(response.responseText);
+      console.log(response.responseText);
+      if (
+        response.responseText &&
+        JSON.parse(response.responseText).Result === 'Success' &&
+        reboot
+      ) {
+        delayReboot(2500, button.attributes.cmdname.value);
+      }
+    },
+  });
+  enableStatusTimer = true;
+}
+function getLongOps(data, name, longopts){
+  return data.values[name]!==undefined?data.values[name][longopts]:"";
+}
+function getCommands() {
+  $.getJSON('/commands.json', function(data) {
+    console.log(data);
+    data.commands.forEach(function(command) {
+      if ($('#flds-' + command.name).length === 0) {
+        const cmdParts = command.name.split('-');
+        const isConfig = cmdParts[0] === 'cfg';
+        const targetDiv = '#tab-' + cmdParts[0] + '-' + cmdParts[1];
+        let innerhtml = '';
+
+        // innerhtml+='<tr class="table-light"><td>'+(isConfig?'<h1>':'');
+        innerhtml +=
+          '<div class="card text-white bg-primary mb-3"><div class="card-header">' +
+          command.help.encodeHTML().replace(/\n/g, '<br />') +
+          '</div><div class="card-body">';
+        innerhtml += '<fieldset id="flds-' + command.name + '">';
+        if (command.argtable) {
+          command.argtable.forEach(function(arg) {
+            let placeholder = arg.datatype || '';
+            const ctrlname = command.name + '-' + arg.longopts;
+            const curvalue =  getLongOps(data,command.name,arg.longopts);
+
+            let attributes = 'hasvalue=' + arg.hasvalue + ' ';
+
+            // attributes +='datatype="'+arg.datatype+'" ';
+            attributes += 'longopts="' + arg.longopts + '" ';
+            attributes += 'shortopts="' + arg.shortopts + '" ';
+            attributes += 'checkbox=' + arg.checkbox + ' ';
+            attributes += 'cmdname="' + command.name + '" ';
+            attributes +=
+              'id="' +
+              ctrlname +
+              '" name="' +
+              ctrlname +
+              '" hasvalue="' +
+              arg.hasvalue +
+              '"   ';
+            let extraclass = arg.mincount > 0 ? 'bg-success' : '';
+            if (arg.glossary === 'hidden') {
+              attributes += ' style="visibility: hidden;"';
+            }
+            if (arg.checkbox) {
+              innerhtml +=
+                '<div class="form-check"><label class="form-check-label">';
+              innerhtml +=
+                '<input type="checkbox" ' +
+                attributes +
+                ' class="form-check-input ' +
+                extraclass +
+                '" value="" >' +
+                arg.glossary.encodeHTML() +
+                '<small class="form-text text-muted">Previous value: ' +
+                (curvalue ? 'Checked' : 'Unchecked') +
+                '</small></label>';
+            } else {
+              innerhtml +=
+                '<div class="form-group" ><label for="' +
+                ctrlname +
+                '">' +
+                arg.glossary.encodeHTML() +
+                '</label>';
+              if (placeholder.includes('|')) {
+                extraclass = placeholder.startsWith('+') ? ' multiple ' : '';
+                placeholder = placeholder
+                  .replace('<', '')
+                  .replace('=', '')
+                  .replace('>', '');
+                innerhtml += `<select ${attributes} class="form-control ${extraclass}" >`;
+                placeholder = '--|' + placeholder;
+                placeholder.split('|').forEach(function(choice) {
+                  innerhtml += '<option >' + choice + '</option>';
+                });
+                innerhtml += '</select>';
+              } else {
+                innerhtml +=
+                  '<input type="text" class="form-control ' +
+                  extraclass +
+                  '" placeholder="' +
+                  placeholder +
+                  '" ' +
+                  attributes +
+                  '>';
+              }
+              innerhtml +=
+                '<small class="form-text text-muted">Previous value: ' +
+                (curvalue || '') +
+                '</small>';
+            }
+            innerhtml += '</div>';
+          });
+        }
+        innerhtml += '<div style="margin-top: 16px;">';
+        innerhtml +=
+          '<div class="toast show" role="alert" aria-live="assertive" aria-atomic="true" style="display: none;" id="toast_' +
+          command.name +
+          '">';
+        innerhtml +=
+          '<div class="toast-header"><strong class="mr-auto">Result</strong><button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close" onclick="$(this).parent().parent().hide()">';
+        innerhtml +=
+          '<span aria-hidden="true">×</span></button></div><div class="toast-body" id="msg_' +
+          command.name +
+          '"></div></div>';
+        if (isConfig) {
+          innerhtml +=
+            '<button type="submit" class="btn btn-info" id="btn-save-' +
+            command.name +
+            '" cmdname="' +
+            command.name +
+            '" onclick="runCommand(this,false)">Save</button>';
+          innerhtml +=
+            '<button type="submit" class="btn btn-warning" id="btn-commit-' +
+            command.name +
+            '" cmdname="' +
+            command.name +
+            '" onclick="runCommand(this,true)">Apply</button>';
+        } else {
+          innerhtml +=
+            '<button type="submit" class="btn btn-success" id="btn-run-' +
+            command.name +
+            '" cmdname="' +
+            command.name +
+            '" onclick="runCommand(this,false)">Execute</button>';
+        }
+        innerhtml += '</div></fieldset></div></div>';
+        if (isConfig) {
+          $(targetDiv).append(innerhtml);
+        } else {
+          $('#commands-list').append(innerhtml);
+        }
+      }
+    });
+
+    data.commands.forEach(function(command) {
+      $('[cmdname=' + command.name + ']:input').val('');
+      $('[cmdname=' + command.name + ']:checkbox').prop('checked', false);
+      if (command.argtable) {
+        command.argtable.forEach(function(arg) {
+          const ctrlselector = '#' + command.name + '-' + arg.longopts;
+          const ctrlValue = getLongOps(data,command.name,arg.longopts);
+          if (arg.checkbox) {
+            $(ctrlselector)[0].checked = ctrlValue;
+          } else {
+            if (ctrlValue !== undefined) {
+              $(ctrlselector)
+                .val(ctrlValue)
+                .trigger('change');
+            }
+            if (
+              $(ctrlselector)[0].value.length === 0 &&
+              (arg.datatype || '').includes('|')
+            ) {
+              $(ctrlselector)[0].value = '--';
+            }
+          }
+        });
+      }
+    });
+  }).fail(function(xhr, ajaxOptions, thrownError) {
+    handleExceptionResponse(xhr, ajaxOptions, thrownError);
+    $('#commands-list').empty();
+    blockAjax = false;
+  });
+}
+
+function getConfig() {
+  $.getJSON('/config.json', function(entries) {
+    $('#nvsTable tr').remove();
+    const data = (entries.config? entries.config : entries);
+    SystemConfig = data;
+    Object.keys(data)
+      .sort()
+      .forEach(function(key) {
+        let val = data[key].value;
+        if (key === 'autoexec') {
+          if (data.autoexec.value === '0') {
+            $('#disable-squeezelite')[0].checked = true;
+          } else {
+            $('#disable-squeezelite')[0].checked = false;
+          }
+        } else if (key === 'autoexec1') {
+          const re = /-o\s?(["][^"]*["]|[^-]+)/g;
+          const m = re.exec(val);
+          if (m[1].toUpperCase().startsWith('I2S')) {
+            handleTemplateTypeRadio('i2s');
+          } else if (m[1].toUpperCase().startsWith('SPDIF')) {
+            handleTemplateTypeRadio('spdif');
+          } else if (m[1].toUpperCase().startsWith('"BT')) {
+            handleTemplateTypeRadio('bt');
+          }
+        } else if (key === 'host_name') {
+          val = val.replaceAll('"', '');
+          $('input#dhcp-name1').val(val);
+          $('input#dhcp-name2').val(val);
+          $('#player').val(val);
+          document.title = val;
+          hostName = val;
+        } 
+        $('tbody#nvsTable').append(
+          '<tr>' +
+            '<td>' +
+            key +
+            '</td>' +
+            "<td class='value'>" +
+            "<input type='text' class='form-control nvs' id='" +
+            key +
+            "'  nvs_type=" +
+            data[key].type +
+            ' >' +
+            '</td>' +
+            '</tr>'
+        );
+        $('input#' + key).val(data[key].value);
+      });
+    $('tbody#nvsTable').append(
+      "<tr><td><input type='text' class='form-control' id='nvs-new-key' placeholder='new key'></td><td><input type='text' class='form-control' id='nvs-new-value' placeholder='new value' nvs_type=33 ></td></tr>"
+    );
+    if (entries.gpio) {
+      $('tbody#gpiotable tr').remove();
+      entries.gpio.forEach(function(gpioEntry) {
+        $('tbody#gpiotable').append(
+          '<tr class=' +
+            (gpioEntry.fixed ? 'table-secondary' : 'table-primary') +
+            '><th scope="row">' +
+            gpioEntry.group +
+            '</th><td>' +
+            gpioEntry.name +
+            '</td><td>' +
+            gpioEntry.gpio +
+            '</td><td>' +
+            (gpioEntry.fixed ? 'Fixed' : 'Configuration') +
+            '</td></tr>'
+        );
+      });
+    }
+  }).fail(function(xhr, ajaxOptions, thrownError) {
+    handleExceptionResponse(xhr, ajaxOptions, thrownError);
+    blockAjax = false;
+  });
+}
+function showLocalMessage(message, severity) {
+  const msg = {
+    message: message,
+    type: severity,
+  };
+  showMessage(msg, new Date());
+}
+
+function showMessage(msg, msgTime) {
+  let color = 'table-success';
+
+  if (msg.type === 'MESSAGING_WARNING') {
+    color = 'table-warning';
+    if (messageseverity === 'MESSAGING_INFO') {
+      messageseverity = 'MESSAGING_WARNING';
+    }
+  } else if (msg.type === 'MESSAGING_ERROR') {
+    if (
+      messageseverity === 'MESSAGING_INFO' ||
+      messageseverity === 'MESSAGING_WARNING'
+    ) {
+      messageseverity = 'MESSAGING_ERROR';
+    }
+    color = 'table-danger';
+  }
+  if (++messagecount > 0) {
+    $('#msgcnt').removeClass('badge-success');
+    $('#msgcnt').removeClass('badge-warning');
+    $('#msgcnt').removeClass('badge-danger');
+    $('#msgcnt').addClass(pillcolors[messageseverity]);
+    $('#msgcnt').text(messagecount);
+  }
+
+  $('#syslogTable').append(
+    "<tr class='" +
+      color +
+      "'>" +
+      '<td>' +
+      msgTime.toLocalShort() +
+      '</td>' +
+      '<td>' +
+      msg.message.encodeHTML() +
+      '</td>' +
+      '</tr>'
+  );
+}
+
+function inRange(x, min, max) {
+  return (x - min) * (x - max) <= 0;
+}
+
+function sleep(ms) {
+  return new Promise(resolve => setTimeout(resolve, ms));
+}
+

+ 135 - 0
components/wifi-manager/webapp/src/js/test.js

@@ -0,0 +1,135 @@
+let sd = {};
+let rf=false;
+function getStatus() {
+        const config = {};
+        window.$(`#valuesTable input:text,  #valuesTable input:checked`).each(function(_index, entry) {
+            switch (entry.attributes.dtype.value) {
+                case 'string':
+                    config[entry.name] = entry.value;
+                    break;
+                    case 'number':
+                    config[entry.name] = Number(entry.value);
+                break;
+                case 'boolean':
+                    config[entry.name] = entry.value=='true';
+                break;
+                default:
+                    break;
+            }
+            
+        });     
+        return config;       
+    }   
+
+    // function getOptions(entry)  {
+    //     let output='';
+    //     for (const property in entry) { 
+    //         output+=`<option value="${entry[property]}">${property}</option>`;
+    //     }
+    //     return output;
+    // }
+    function getRadioButton(entry){
+        let output='';
+        for (const property in sd[entry]) { 
+            output+=`
+            <div class="custom-control custom-radio">
+            <input type="radio" class="custom-control-input" id="${entry}_${sd[entry][property]}" name="${entry}" value="${sd[entry][property]}" dtype='${typeof(sd[entry][property])}'>
+            <label class="custom-control-label" for="${entry}_${sd[entry][property]}">${property}</label>
+            </div>
+            `;
+        }
+        return output;
+
+    }
+
+    window.refreshStatus = function() {
+        if(Object.keys(sd).length>0){
+            if(rf) return;
+            rf=true;
+            window.$.getJSON('/status.json', function(data) {
+                for (const property in data) {
+                    const val = data[property];
+                    let input = $(`#val_${property}, #valuesTable input[name="${property}"]`) ;
+                    if(input.length>0){
+                        if(input.is(':radio') ){
+                            $(`#${property}_${val ?? 0}`).prop('checked',true);
+                        }
+                        else {
+                            if(input.val() !==val && !input.is(":focus")){
+                                input.val(val);
+                            }
+                        }
+
+                    }
+                    else {
+                        
+                        if(sd[property]){
+                            window.$('#valuesTable').append(
+                                `<tr><td>${property}</td>
+                                <td >
+                                ${getRadioButton(property)}
+                                </td></tr>`);
+                            $(`#${property}_${val ?? 0}`).prop('checked',true);
+                        }
+                        else {
+                            window.$('#valuesTable').append(`<tr><td>${property}</td><td><input type='text' class='value form-control nvs' id="val_${property}" name='${property}' dtype='${typeof(val)}' ></input></td></tr>`);
+                            window.$(`#val_${property}`).val(val);
+                        }
+
+
+                    }
+
+                }
+            })
+            .fail(function() {
+
+            })
+            .done(function(){
+                rf=false;
+            });
+
+        }
+        else {
+            window.$.getJSON('/statusdefinition.json', function(data) {
+                sd=data;
+            })
+            .fail(function() {
+
+            })
+            .done(function(){
+            });                                
+        }
+
+    }
+    function pushStatus(){
+        const data = {
+                timestamp: Date.now(),
+                status:  getStatus()
+            };
+            window.$.ajax({
+                url: '/status.json',
+                dataType: 'text',
+                method: 'POST',
+                cache: false,
+                contentType: 'application/json; charset=utf-8',
+                data: JSON.stringify(data),
+            });
+            console.log('sent config JSON with data:', JSON.stringify(data));
+    }
+
+    window.$(document).ready(function() {
+        window.$('#save_status').on('click', function() {
+            pushStatus();
+        });            
+        window.$( "#valuesTable" ).change(function() {
+            pushStatus();
+        });            
+        
+        setInterval(window.refreshStatus, 1000);
+        $('svg >> symbol').each(function() { 
+            $('#allIcons').append( `<svg style="fill:white; width:1.5rem; height: 1.5rem;">
+            <use xlink:href="#${this.id}"></use>
+          </svg>`);
+         });
+         
+    }) ;

+ 34 - 0
components/wifi-manager/webapp/src/sass/layout/_features.scss

@@ -0,0 +1,34 @@
+.features:hover {
+  cursor: pointer;
+  animation: jello-horizontal 1.2s;
+}
+
+@keyframes jello-horizontal {
+  0% {
+    transform: scale3d(1, 1, 1);
+  }
+
+  30% {
+    transform: scale3d(1.25, .75, 1);
+  }
+
+  40% {
+    transform: scale3d(.75, 1.25, 1);
+  }
+
+  50% {
+    transform: scale3d(1.15, .85, 1);
+  }
+
+  65% {
+    transform: scale3d(.95, 1.05, 1);
+  }
+
+  75% {
+    transform: scale3d(1.05, .95, 1);
+  }
+
+  100% {
+    transform: scale3d(1, 1, 1);
+  }
+}

+ 5 - 0
components/wifi-manager/webapp/src/sass/main.scss

@@ -0,0 +1,5 @@
+@import 'themes/darkly';
+@import "utils/style";
+@import "utils/mixins";
+@import "setup/normalize";
+@import "layout/features";

+ 348 - 0
components/wifi-manager/webapp/src/sass/setup/_normalize.scss

@@ -0,0 +1,348 @@
+/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
+
+/* Document
+   ========================================================================== */
+
+/**
+ * 1. Correct the line height in all browsers.
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
+ */
+
+html {
+  line-height: 1.15; /* 1 */
+  -webkit-text-size-adjust: 100%; /* 2 */
+}
+
+/* Sections
+   ========================================================================== */
+
+/**
+ * Remove the margin in all browsers.
+ */
+
+body {
+  margin: 0;
+}
+
+/**
+ * Render the `main` element consistently in IE.
+ */
+
+main {
+  display: block;
+}
+
+/**
+ * Correct the font size and margin on `h1` elements within `section` and
+ * `article` contexts in Chrome, Firefox, and Safari.
+ */
+
+h1 {
+  font-size: 2em;
+  margin: .67em 0;
+}
+
+/* Grouping content
+   ========================================================================== */
+
+/**
+ * 1. Add the correct box sizing in Firefox.
+ * 2. Show the overflow in Edge and IE.
+ */
+
+hr {
+  box-sizing: content-box; /* 1 */
+  height: 0; /* 1 */
+  overflow: visible; /* 2 */
+}
+
+/**
+ * 1. Correct the inheritance and scaling of font size in all browsers.
+ * 2. Correct the odd `em` font sizing in all browsers.
+ */
+
+pre {
+  font-family: monospace; /* 1 */
+  font-size: 1em; /* 2 */
+}
+
+/* Text-level semantics
+   ========================================================================== */
+
+/**
+ * Remove the gray background on active links in IE 10.
+ */
+
+a {
+  background-color: transparent;
+}
+
+/**
+ * 1. Remove the bottom border in Chrome 57-
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
+ */
+
+abbr[title] {
+  border-bottom: none; /* 1 */
+  text-decoration: underline; /* 2 */
+}
+
+/**
+ * Add the correct font weight in Chrome, Edge, and Safari.
+ */
+
+b,
+strong {
+  font-weight: bolder;
+}
+
+/**
+ * 1. Correct the inheritance and scaling of font size in all browsers.
+ * 2. Correct the odd `em` font sizing in all browsers.
+ */
+
+code,
+kbd,
+samp {
+  font-family: monospace; /* 1 */
+  font-size: 1em; /* 2 */
+}
+
+/**
+ * Add the correct font size in all browsers.
+ */
+
+small {
+  font-size: 80%;
+}
+
+/**
+ * Prevent `sub` and `sup` elements from affecting the line height in
+ * all browsers.
+ */
+
+sub,
+sup {
+  font-size: 75%;
+  line-height: 0;
+  position: relative;
+  vertical-align: baseline;
+}
+
+sub {
+  bottom: -.25em;
+}
+
+sup {
+  top: -.5em;
+}
+
+/* Embedded content
+   ========================================================================== */
+
+/**
+ * Remove the border on images inside links in IE 10.
+ */
+
+img {
+  border-style: none;
+}
+
+/* Forms
+   ========================================================================== */
+
+/**
+ * 1. Change the font styles in all browsers.
+ * 2. Remove the margin in Firefox and Safari.
+ */
+
+button,
+input,
+optgroup,
+select,
+textarea {
+  font-family: inherit; /* 1 */
+  font-size: 100%; /* 1 */
+  line-height: 1.15; /* 1 */
+  margin: 0; /* 2 */
+}
+
+/**
+ * Show the overflow in IE.
+ * 1. Show the overflow in Edge.
+ */
+
+button,
+input { /* 1 */
+  overflow: visible;
+}
+
+/**
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
+ * 1. Remove the inheritance of text transform in Firefox.
+ */
+
+button,
+select { /* 1 */
+  text-transform: none;
+}
+
+/**
+ * Correct the inability to style clickable types in iOS and Safari.
+ */
+
+button,
+[type="button"],
+[type="reset"],
+[type="submit"] {
+  -webkit-appearance: button;
+}
+
+/**
+ * Remove the inner border and padding in Firefox.
+ */
+
+button::-moz-focus-inner,
+[type="button"]::-moz-focus-inner,
+[type="reset"]::-moz-focus-inner,
+[type="submit"]::-moz-focus-inner {
+  border-style: none;
+  padding: 0;
+}
+
+/**
+ * Restore the focus styles unset by the previous rule.
+ */
+
+button:-moz-focusring,
+[type="button"]:-moz-focusring,
+[type="reset"]:-moz-focusring,
+[type="submit"]:-moz-focusring {
+  outline: 1px dotted ButtonText;
+}
+
+/**
+ * Correct the padding in Firefox.
+ */
+
+fieldset {
+  padding: .35em .75em .625em;
+}
+
+/**
+ * 1. Correct the text wrapping in Edge and IE.
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
+ * 3. Remove the padding so developers are not caught out when they zero out
+ *    `fieldset` elements in all browsers.
+ */
+
+legend {
+  box-sizing: border-box; /* 1 */
+  color: inherit; /* 2 */
+  display: table; /* 1 */
+  max-width: 100%; /* 1 */
+  padding: 0; /* 3 */
+  white-space: normal; /* 1 */
+}
+
+/**
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
+ */
+
+progress {
+  vertical-align: baseline;
+}
+
+/**
+ * Remove the default vertical scrollbar in IE 10+.
+ */
+
+textarea {
+  overflow: auto;
+}
+
+/**
+ * 1. Add the correct box sizing in IE 10.
+ * 2. Remove the padding in IE 10.
+ */
+
+[type="checkbox"],
+[type="radio"] {
+  box-sizing: border-box; /* 1 */
+  padding: 0; /* 2 */
+}
+
+/**
+ * Correct the cursor style of increment and decrement buttons in Chrome.
+ */
+
+[type="number"]::-webkit-inner-spin-button,
+[type="number"]::-webkit-outer-spin-button {
+  height: auto;
+}
+
+/**
+ * 1. Correct the odd appearance in Chrome and Safari.
+ * 2. Correct the outline style in Safari.
+ */
+
+[type="search"] {
+  -webkit-appearance: textfield; /* 1 */
+  outline-offset: -2px; /* 2 */
+}
+
+/**
+ * Remove the inner padding in Chrome and Safari on macOS.
+ */
+
+[type="search"]::-webkit-search-decoration {
+  -webkit-appearance: none;
+}
+
+/**
+ * 1. Correct the inability to style clickable types in iOS and Safari.
+ * 2. Change font properties to `inherit` in Safari.
+ */
+
+::-webkit-file-upload-button {
+  -webkit-appearance: button; /* 1 */
+  font: inherit; /* 2 */
+}
+
+/* Interactive
+   ========================================================================== */
+
+/*
+ * Add the correct display in Edge, IE 10+, and Firefox.
+ */
+
+details {
+  display: block;
+}
+
+/*
+ * Add the correct display in all browsers.
+ */
+
+summary {
+  display: list-item;
+}
+
+/* Misc
+   ========================================================================== */
+
+/**
+ * Add the correct display in IE 10+.
+ */
+
+template {
+  display: none;
+}
+
+/**
+ * Add the correct display in IE 10.
+ */
+
+[hidden] {
+  display: none;
+}

+ 3 - 0
components/wifi-manager/webapp/src/sass/themes/_darkly.scss

@@ -0,0 +1,3 @@
+@import "~bootswatch/dist/darkly/variables";
+@import "~bootstrap/scss/bootstrap";
+@import "~bootswatch/dist/darkly/bootswatch";

+ 24 - 0
components/wifi-manager/webapp/src/sass/utils/_mixins.scss

@@ -0,0 +1,24 @@
+
+/* Device = Most of the Smartphones Mobiles (Portrait) */
+$screen-xxs-min: 320px;
+$screen-xxs-max: 480px;
+
+/* Device = Low Resolution Tablets, Mobiles (Landscape) */
+$screen-xs-min: 481px;
+$screen-xs-max: 767px;
+
+/* Device = Tablets, Ipads (portrait) */
+$screen-sm-min: 768px;
+$screen-sm-max: 1024px;
+
+/* Device = Laptops, Desktops */
+$screen-md-min: 1025px;
+$screen-md-max: 1280px;
+
+/* Device = Desktops */
+$screen-lg-min: 1281px;
+$screen-lg-max: 1440px;
+
+/* Higher Resolution Screens */
+$screen-xlg-min: 1441px;
+$screen-xlg-max: 2560px;

+ 52 - 57
components/wifi-manager/res/style.css → components/wifi-manager/webapp/src/sass/utils/_style.css

@@ -14,6 +14,9 @@ a:hover {
     color: #99f;
     text-decoration: none
 }
+.glyphicon {
+    font-size: 18px;
+}
 input:focus,
 select:focus,
 textarea:focus,
@@ -133,43 +136,36 @@ h3 {
     float: right;
     margin-right: 20px;
 }
-.w0 {
-    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTJDBGvsAAABzUlEQVRIS+WUTShEURTH3zyRhjQ+8hWxmCJMoSzEwsbCgi1LZRYW9pONptiwka9iI81CWFpYaEqNMkVKmpWN1IhYKN9ZDL/z3p3mxZh5g9X4168799xz/vPefedeLeuVC+3gdTgc07CsmCQ2DI2gg21Jci30wSpGt/CeghickTsHPVACDkgqp67rPgpO4E0ZZMIj7OHhxSvPtEyomcVDeFXJv+EZNvEsNa01rZfAuSUhThR2wU+ObJkbyhRNMMDaDIThBqy1MdZ3wAPawqfFC2Lj0Ab5kpBGxdAJs9TeW72ITUhCPZMjFYwwbwXpnkwlDzOIx50yXwP5c0MeggHGanNqSDqqBqQ7/Kxvg2zHAfMN8IE8uZhYO6eBnBXGKnOakLWfaQZ9jMRjSPXhZUuC5A9JjVFpKkeNSVVA0Tq8KJN0yFl4gilqbW2tm+SQKoybXIG8jcT34RSsh1Byt6iVg2ZLlRCg6JpROqEDpFheXZ5S9rcLFsl5YJwHad+MVA5y13w5lRY5oRsKjdm/Vz/7LR86zG+5wr+9NX+iOowjEO+aELEic+lv1ILppeUPosRst6QduTANgnE2mC+BnYswI1VwfYzCCL9dZij7pWkf6UeSTYAuE/QAAAAASUVORK5CYII=') no-repeat right top;
+/* .w0 {
+    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTJDBGvsAAABzUlEQVRIS+WUTShEURTH3zyRhjQ+8hWxmCJMoSzEwsbCgi1LZRYW9pONptiwka9iI81CWFpYaEqNMkVKmpWN1IhYKN9ZDL/z3p3mxZh5g9X4168799xz/vPefedeLeuVC+3gdTgc07CsmCQ2DI2gg21Jci30wSpGt/CeghickTsHPVACDkgqp67rPgpO4E0ZZMIj7OHhxSvPtEyomcVDeFXJv+EZNvEsNa01rZfAuSUhThR2wU+ObJkbyhRNMMDaDIThBqy1MdZ3wAPawqfFC2Lj0Ab5kpBGxdAJs9TeW72ITUhCPZMjFYwwbwXpnkwlDzOIx50yXwP5c0MeggHGanNqSDqqBqQ7/Kxvg2zHAfMN8IE8uZhYO6eBnBXGKnOakLWfaQZ9jMRjSPXhZUuC5A9JjVFpKkeNSVVA0Tq8KJN0yFl4gilqbW2tm+SQKoybXIG8jcT34RSsh1Byt6iVg2ZLlRCg6JpROqEDpFheXZ5S9rcLFsl5YJwHad+MVA5y13w5lRY5oRsKjdm/Vz/7LR86zG+5wr+9NX+iOowjEO+aELEic+lv1ILppeUPosRst6QduTANgnE2mC+BnYswI1VwfYzCCL9dZij7pWkf6UeSTYAuE/QAAAAASUVORK5CYII=') no-repeat left top;
     height: 24px;
-    margin-right: 20px;
 }
 .w1 {
-    background:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAALEQAACxEBf2RfkQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xNkRpr/UAAAHiSURBVEhL5dRPKINxHMfxPVskpA35F3FYEVasHBYHFwcHrhyVZ8vBfblIceEi/4qLtINwdHCQUpQVKcnJRYqIg/J3OYz399nv0YPNtuzEt149+31/v+/n4fGYLVHpup4Rnyregd+K27TIghe63+8fx7wySqsPdbAj3qzha0MOV6ETiwTd4u0HUZxydgrtKISGj0xreG4gEAgycIRXFZCOR2yTQZSebeaa4Q1s7iOiDv/GM1bJLDJv0EHjzHLAdIFNjHBGHpkbxUo9utmbQBg3sM5G2d+AR24w82XznN4QmpGjXrCExRkXfJhk9t6aRW9YDtSwOFDNE9ZNyFLzKRczOegh406FL8ElG8JDM8S1Qtaq7KhEO0Y0TVtHGHusVxCEDy5oMLNqyVrgWm5kqaYw3mdVdmqQsENE8JbAPbY43yszMqiyHOr66QayL5XH0DJeVEgyUTxhjNmPR/vtBpZyc3hHDZohV5DfRvq7OMYtrDdZY7YwFpG8yhBi6JrrMFogww7IT1mOVsxy5oHrNIqRVpWgDtnGKn7log35xurfVxfPW/7QYT57Ybz7mapqgk9gvjU79ApiW5mpRkIvLTe4oJfyK5lKOQndgvG/wXoOSb8I061Svj4G0M9nZ6z198tmeweYtIrMYP17VAAAAABJRU5ErkJggg==') no-repeat right top;
+    background:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAALEQAACxEBf2RfkQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xNkRpr/UAAAHiSURBVEhL5dRPKINxHMfxPVskpA35F3FYEVasHBYHFwcHrhyVZ8vBfblIceEi/4qLtINwdHCQUpQVKcnJRYqIg/J3OYz399nv0YPNtuzEt149+31/v+/n4fGYLVHpup4Rnyregd+K27TIghe63+8fx7wySqsPdbAj3qzha0MOV6ETiwTd4u0HUZxydgrtKISGj0xreG4gEAgycIRXFZCOR2yTQZSebeaa4Q1s7iOiDv/GM1bJLDJv0EHjzHLAdIFNjHBGHpkbxUo9utmbQBg3sM5G2d+AR24w82XznN4QmpGjXrCExRkXfJhk9t6aRW9YDtSwOFDNE9ZNyFLzKRczOegh406FL8ElG8JDM8S1Qtaq7KhEO0Y0TVtHGHusVxCEDy5oMLNqyVrgWm5kqaYw3mdVdmqQsENE8JbAPbY43yszMqiyHOr66QayL5XH0DJeVEgyUTxhjNmPR/vtBpZyc3hHDZohV5DfRvq7OMYtrDdZY7YwFpG8yhBi6JrrMFogww7IT1mOVsxy5oHrNIqRVpWgDtnGKn7log35xurfVxfPW/7QYT57Ybz7mapqgk9gvjU79ApiW5mpRkIvLTe4oJfyK5lKOQndgvG/wXoOSb8I061Svj4G0M9nZ6z198tmeweYtIrMYP17VAAAAABJRU5ErkJggg==') no-repeat left top;
     height: 24px;
-    margin-right: 20px;
 }
 .w2 {
-    background:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAALEQAACxEBf2RfkQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xNkRpr/UAAAHkSURBVEhL3dRLKERRGMDxuSPSkLzyilgo8iiUhVjYWFiwZancmSzsZSPFho28io1kISwtLKQURZGSrGykiFgo7yyG/zdzznRm5iK5Sk79uvd85/u++5hzx2Pb9q9yDLrJMWhIRB1sv98/ghlliFAXyuGFU21IbECSi9CKORrd4O0TQZyQO45mZMJCpKfZ3BcIBPooOMSravAdD9ikB63sJN1XN69kcQ8vKvknnrBMzyx9gRYCp0aCdo51DJIjr6wU2UoF2lkbxS6uYdYGWV9DtVxgMmbxjFg/apEM/ZQfyUADxqi9M3sRG5CEEib7KnjMvAaye2IbfUVupoMet6r5PDL0YjXBBY4Fai5kRxVCdscg66uQ17HDfAl9kDuXJzB3Thk5sxzzZa6DumHknN3QS+IBPvvh5ZVskN8ZU5+gz3XAlELRIp5Vk6/It/CIYWrjXm3URCkleUsV6iaXkKeR+DaOYH6EkrtCrXxoUf2iJoY8LFB0xXEA9ZBieXS5S3m/jZgi557jBGT7xvWKCxhyIP81ka/SgQ9NSDViURyDbvpTo82yrAPscl4HKxR1aRTT+BhvyhaxtPCSO6OKphfGBc6JZYaX3BnpNN1AUC7AfBrJoRUXR67X6+1BN+fp4dD/Hx7PO4o9VGuAapKIAAAAAElFTkSuQmCC') no-repeat right top;
+    background:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAALEQAACxEBf2RfkQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xNkRpr/UAAAHkSURBVEhL3dRLKERRGMDxuSPSkLzyilgo8iiUhVjYWFiwZancmSzsZSPFho28io1kISwtLKQURZGSrGykiFgo7yyG/zdzznRm5iK5Sk79uvd85/u++5hzx2Pb9q9yDLrJMWhIRB1sv98/ghlliFAXyuGFU21IbECSi9CKORrd4O0TQZyQO45mZMJCpKfZ3BcIBPooOMSravAdD9ikB63sJN1XN69kcQ8vKvknnrBMzyx9gRYCp0aCdo51DJIjr6wU2UoF2lkbxS6uYdYGWV9DtVxgMmbxjFg/apEM/ZQfyUADxqi9M3sRG5CEEib7KnjMvAaye2IbfUVupoMet6r5PDL0YjXBBY4Fai5kRxVCdscg66uQ17HDfAl9kDuXJzB3Thk5sxzzZa6DumHknN3QS+IBPvvh5ZVskN8ZU5+gz3XAlELRIp5Vk6/It/CIYWrjXm3URCkleUsV6iaXkKeR+DaOYH6EkrtCrXxoUf2iJoY8LFB0xXEA9ZBieXS5S3m/jZgi557jBGT7xvWKCxhyIP81ka/SgQ9NSDViURyDbvpTo82yrAPscl4HKxR1aRTT+BhvyhaxtPCSO6OKphfGBc6JZYaX3BnpNN1AUC7AfBrJoRUXR67X6+1BN+fp4dD/Hx7PO4o9VGuAapKIAAAAAElFTkSuQmCC') no-repeat left top;
     height: 24px;
-    margin-right: 20px;
 }
 .w3 {
-    background:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAACAElEQVRIS7XUP0gbYRjH8VSpiBZJWvEflXYQKtqACg6ig4uDg651LPQSHLpLlyDoUhdpVdBFxEG0YwcHCQgRFJSCFKcuUohY6iC0VYtD9PuE9w3vXZ74h16HD3fv733e53KX9y7ied5/pYZhUkPHQ3TBSyQS7zFvTBC9RivKoK3NCwZS3IxBLNLoBFc3yOEbtR/Qj8d4gEJPt3lVMpkcY8E+Lk2D+/iDTXrQyquwfW3zdiZ38dcU/4tzrNHzib3AAMGhU2BlsYFxauSRtaDWaMMwc1PYwU+4a3PMryMuF5gJTH4ne4dOVMLeZSkx9GCatb/cXmQpKXjOYM+EB4w7ILsn2Og28mNe0ePUNF9CzE7GCZc5NpmxkB31FLI7xpn/DHkc24xXMQb55XIH7s55Qc0Cx0YZ29A2LJyzG95S+AU3/fHySNLUjwTWl9tzG7iqWbSCC9PkNvIunGGStUWP1jcwWijOmIW2yTHkbiTfwle4L6HUfmKtvGi+fr6BowHLLPrBMYVuyGK5dfmV8nx7MUvNb44fIdu3qFdR4KiDfGsKb6WiCn145GQ+ahgmNQyTGpYwxPOWP3qHc/mE+76apaih4hmND2B3TYasJlCjUkPFS5oeORfIkhVtSY0aKqI0TSP/bjCew10+hPf6D+r5fIziDefRwFxJahgmNQyPF7kGEsc1es+A2E4AAAAASUVORK5CYII=') no-repeat right top;
+    background:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAACAElEQVRIS7XUP0gbYRjH8VSpiBZJWvEflXYQKtqACg6ig4uDg651LPQSHLpLlyDoUhdpVdBFxEG0YwcHCQgRFJSCFKcuUohY6iC0VYtD9PuE9w3vXZ74h16HD3fv733e53KX9y7ied5/pYZhUkPHQ3TBSyQS7zFvTBC9RivKoK3NCwZS3IxBLNLoBFc3yOEbtR/Qj8d4gEJPt3lVMpkcY8E+Lk2D+/iDTXrQyquwfW3zdiZ38dcU/4tzrNHzib3AAMGhU2BlsYFxauSRtaDWaMMwc1PYwU+4a3PMryMuF5gJTH4ne4dOVMLeZSkx9GCatb/cXmQpKXjOYM+EB4w7ILsn2Og28mNe0ePUNF9CzE7GCZc5NpmxkB31FLI7xpn/DHkc24xXMQb55XIH7s55Qc0Cx0YZ29A2LJyzG95S+AU3/fHySNLUjwTWl9tzG7iqWbSCC9PkNvIunGGStUWP1jcwWijOmIW2yTHkbiTfwle4L6HUfmKtvGi+fr6BowHLLPrBMYVuyGK5dfmV8nx7MUvNb44fIdu3qFdR4KiDfGsKb6WiCn145GQ+ahgmNQyTGpYwxPOWP3qHc/mE+76apaih4hmND2B3TYasJlCjUkPFS5oeORfIkhVtSY0aKqI0TSP/bjCew10+hPf6D+r5fIziDefRwFxJahgmNQyPF7kGEsc1es+A2E4AAAAASUVORK5CYII=') no-repeat left top;
     height: 24px;
-    margin-right: 20px;
-}
-.pw {
-    background:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTJDBGvsAAABIUlEQVRIS+3VsU7CUBTGcYhBJCwqwcmEJ2DkCQgzb8ADmLgYWXTzMVjcGNjYGEAXgoSRhTg5OroYIyFY/h+hWGwvtzQ0LpzkF8i5l/uRQ2kTjuPEKrC5T79vzHWJO4wxwzeGuMY5AitsQBFvmEObvNQboQBfhQk4gQ5wD+zgBrcYrHrSwzE2KkxAHVrQWB6QgiqJLB7xA+2pYaNsAWm8QAsa0Sn+1gU+oT1NHGFdtoAcJtBCSw1DuaPqQiNdly0gj1doQaMwleavPc+IJUDffKeADO7Rxxe08A4dEOQD2qPXJ1xh+VuYAirQVaNGFFPov2MM0OXm/UAUZRwCtjoEWP1vQBXuLTgKPYRKMAacoY0oIboDNLB8+PgC4hLY3B8nsQCQEf56jLJoQAAAAABJRU5ErkJggg==') no-repeat right top;
-    height: 24px;
-    margin-right: 20px;
+} */
+/* .pw {
+    background:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTJDBGvsAAABIUlEQVRIS+3VsU7CUBTGcYhBJCwqwcmEJ2DkCQgzb8ADmLgYWXTzMVjcGNjYGEAXgoSRhTg5OroYIyFY/h+hWGwvtzQ0LpzkF8i5l/uRQ2kTjuPEKrC5T79vzHWJO4wxwzeGuMY5AitsQBFvmEObvNQboQBfhQk4gQ5wD+zgBrcYrHrSwzE2KkxAHVrQWB6QgiqJLB7xA+2pYaNsAWm8QAsa0Sn+1gU+oT1NHGFdtoAcJtBCSw1DuaPqQiNdly0gj1doQaMwleavPc+IJUDffKeADO7Rxxe08A4dEOQD2qPXJ1xh+VuYAirQVaNGFFPov2MM0OXm/UAUZRwCtjoEWP1vQBXuLTgKPYRKMAacoY0oIboDNLB8+PgC4hLY3B8nsQCQEf56jLJoQAAAAABJRU5ErkJggg==') no-repeat left top;
     height: 24px;
-    margin-right: 30px;
-}
+} */
 /* SpinKit is licensed under the MIT License. Copyright (c) 2015 Tobias Ahlin */
-
 .spinner {
     width: 40px;
     height: 40px;
+  
     position: relative;
     margin: 100px auto;
-}
-.double-bounce1,
-.double-bounce2 {
+  }
+  
+  .double-bounce1, .double-bounce2 {
     width: 100%;
     height: 100%;
     border-radius: 50%;
@@ -178,35 +174,34 @@ h3 {
     position: absolute;
     top: 0;
     left: 0;
-    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
-    animation: sk-bounce 2.0s infinite ease-in-out;
-}
-.double-bounce2 {
+    
+    -webkit-animation: bounce 2.0s infinite ease-in-out;
+    animation: bounce 2.0s infinite ease-in-out;
+  }
+  
+  .double-bounce2 {
     -webkit-animation-delay: -1.0s;
     animation-delay: -1.0s;
-}
-@-webkit-keyframes sk-bounce {
-    0%, 100% {
-        -webkit-transform: scale(0.0)
-    }
-    50% {
-        -webkit-transform: scale(1.0)
-    }
-}
-@keyframes sk-bounce {
-    0%, 100% {
-        transform: scale(0.0);
-        -webkit-transform: scale(0.0);
-    }
-    50% {
-        transform: scale(1.0);
-        -webkit-transform: scale(1.0);
+  }
+  
+  @-webkit-keyframes bounce {
+    0%, 100% { -webkit-transform: scale(0.0) }
+    50% { -webkit-transform: scale(1.0) }
+  }
+  
+  @keyframes bounce {
+    0%, 100% { 
+      transform: scale(0.0);
+      -webkit-transform: scale(0.0);
+    } 50% { 
+      transform: scale(1.0);
+      -webkit-transform: scale(1.0);
     }
-}
+  }
 /* end of SpinKit */
 
 /* daduke stuff */
-input[type='text'], input[type='password'], textarea {
+input[type='text'], input[type='password'], textarea, select, option {
   background: #999;
   border: 0;
   padding: 4px;
@@ -259,8 +254,8 @@ input[type='text'], input[type='password'], textarea {
 
 .custom-switch .custom-control-input:checked ~ .custom-control-label::after {
   background-color: #fff;
-  -webkit-transform: translateX(1.5rem); //translateX(0.75rem);
-  transform: translateX(1.5rem); //translateX(0.75rem);
+  -webkit-transform: translateX(1.5rem); 
+  transform: translateX(1.5rem); 
 }
 
 textarea#autoexec1, textarea#fwurl, div#upload {
@@ -314,12 +309,13 @@ span#flash-status {
     font-size: 120%;
 }
 
-#info {
+/* #info {
     padding-top: 7px;
     float: right;
-}
+    display: grid;
+} */
 
-svg#battery {
+/* svg#battery {
     fill: #ddd;
 }
 
@@ -331,15 +327,20 @@ svg#output {
 svg#jack {
     fill: #ddd;
     padding-right: 4px;
-}
-
+} */
+/* 
 ul#navbar {
     border-bottom: 0px;
 }
+.navbar-nav {
+    float: left;
+    margin: 0;
+    padding-top: 1rem;
 
+}
 #content {
     border-top: 1px solid black;
-}
+} */
 
 .footer {
   position: fixed;
@@ -365,12 +366,6 @@ td.value {
 #boot-div {
     float: right;
 }
-
-iframe#dummyframe {
-    float: right;
-    border: none;
-}
-
 div#message {
     display: none;
     color: #000;

+ 122 - 0
components/wifi-manager/webapp/src/test.ejs

@@ -0,0 +1,122 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <title>esp32-wifi-manager testing</title>
+    <link rel="icon" type="image/png" sizes="32x32" href="assets/images/favicon-32x32.png">
+
+</head>
+
+<body>
+
+    <div style="display:none">
+        <% if (htmlWebpackPlugin.files.sprites) { %>
+            <% for (var spriteFileName in htmlWebpackPlugin.files.sprites) { %>
+                <%= htmlWebpackPlugin.files.sprites[spriteFileName] %>
+                    <% } %>
+                        <% } %>
+    </div>
+    <div id="allIcons"></div>
+    <div class="card border-primary mb-3">
+        <div class="card-header">Status Variables</div>
+        <div class="card-body">
+            <table class="table table-hover">
+                <thead>
+                    <tr>
+                        <th scope="col">Variable</th>
+                        <th scope="col">Value</th>
+                    </tr>
+                </thead>
+                <tbody id="valuesTable">
+                </tbody>
+            </table>
+            <input id="save_status" type="button" class="btn btn-success" value="Commit">
+
+        </div>
+    </div>
+
+
+
+    <div>
+        <table class="table table-hover">
+            <thead>
+                <tr>
+                    <th scope="col">#</th>
+                    <th scope="col">BT State</th>
+                    <th scope="col">Sub state #</th>
+                    <th scope="col">Sub state</th>
+                </tr>
+            </thead>
+            <tbody>
+                <tr>
+                    <td>0</td>
+                    <td>Idle</td>
+                    <td>0</td>
+                    <td>bt_neutral</td>
+                </tr>
+                <tr>
+                    <td>1</td>
+                    <td>Discovering</td>
+                    <td>0</td>
+                    <td>bt_searching</td>
+                </tr>
+                <tr>
+                    <td>2</td>
+                    <td>Discovered</td>
+                    <td>0</td>
+                    <td>bt_searching</td>
+                </tr>
+                <tr>
+                    <td>3</td>
+                    <td>Unconnected</td>
+                    <td>0</td>
+                    <td>bt_disabled</td>
+                </tr>
+                <tr>
+                    <td>4</td>
+                    <td>Connecting</td>
+                    <td>0</td>
+                    <td>bt_disabled</td>
+                </tr>
+                <tr>
+                    <td>5</td>
+                    <td>Connected</td>
+                    <td>0</td>
+                    <td>bt_connected</td>
+                </tr>
+                <tr>
+                    <td></td>
+                    <td></td>
+                    <td>1</td>
+                    <td>play_circle_outline</td>
+                </tr>
+                <tr>
+                    <td></td>
+                    <td></td>
+                    <td>2</td>
+                    <td>bt_playing</td>
+                </tr>
+                <tr>
+                    <td></td>
+                    <td></td>
+                    <td>3</td>
+                    <td>pause</td>
+                </tr>
+                <tr>
+                    <td></td>
+                    <td></td>
+                    <td>4</td>
+                    <td>stop</td>
+                </tr>
+                <tr>
+                    <td>6</td>
+                    <td>Disconnecting</td>
+                    <td>0</td>
+                    <td>bt_neutral</td>
+                </tr>
+            </tbody>
+        </table>
+    </div>
+</body>
+
+</html>

+ 23 - 0
components/wifi-manager/webapp/src/test.ts

@@ -0,0 +1,23 @@
+import 'bootstrap';
+import '../src/sass/main.scss';
+import './js/test.js';
+import '../node_modules/remixicon/icons/Device/signal-wifi-fill.svg';
+import '../node_modules/remixicon/icons/Device/signal-wifi-3-fill.svg';
+import '../node_modules/remixicon/icons/Device/signal-wifi-2-fill.svg';
+import '../node_modules/remixicon/icons/Device/signal-wifi-1-fill.svg';
+import '../node_modules/remixicon/icons/Device/signal-wifi-line.svg';
+import '../node_modules/remixicon/icons/Device/battery-line.svg';
+import '../node_modules/remixicon/icons/Device/battery-low-line.svg';
+import '../node_modules/remixicon/icons/Device/battery-fill.svg';
+
+import '../node_modules/remixicon/icons/Media/headphone-fill.svg';
+import '../node_modules/remixicon/icons/Device/device-recover-fill.svg';
+import '../node_modules/remixicon/icons/Device/bluetooth-fill.svg';
+import '../node_modules/remixicon/icons/Device/bluetooth-connect-fill.svg';
+import '../node_modules/remixicon/icons/Media/stop-circle-fill.svg';
+import '../node_modules/remixicon/icons/Media/stop-circle-line.svg';
+import '../node_modules/remixicon/icons/Logos/google-play-fill.svg';
+import '../node_modules/remixicon/icons/Media/pause-fill.svg';
+import '../node_modules/remixicon/icons/Media/stop-fill.svg';
+import '../node_modules/remixicon/icons/System/lock-fill.svg';
+import '../node_modules/remixicon/icons/System/lock-unlock-fill.svg';

+ 55 - 0
components/wifi-manager/webapp/test.js

@@ -0,0 +1,55 @@
+const stats='';
+// Merges webpack.common config with this production config
+const fs = require('fs');
+const glob = require('glob');
+var getDirectories = function (src, callback) {
+glob(src + '/**/*.gz', callback);
+};
+getDirectories('./webpack/', function (err, list) {
+if (err) {
+    console.log('Error', err);
+} else {
+    const regex = /^(.*\/)([^\/]*)$/
+    const relativeRegex = /(\w+\/[^\/]*)$/
+    const makePathRegex = /([^\.].*)$/
+    let exportDefHead=
+    '/***********************************\n'+
+    'webpack_headers\n'+
+    stats+'\n'+
+    '***********************************/\n'+
+    '#pragma once\n'+
+    '#include <inttypes.h>\n'+
+    'extern const char * resource_lookups[];\n'+
+    'extern const uint8_t * resource_map_start[];\n'+
+    'extern const uint8_t * resource_map_end[];\n';
+    let exportDef=  '// Automatically generated. Do not edit manually!.\n'+
+                    '#include <inttypes.h>\n';
+    let lookupDef='const char * resource_lookups[] = {\n';
+    let lookupMapStart='const uint8_t * resource_map_start[] = {\n';
+    let lookupMapEnd='const uint8_t * resource_map_end[] = {\n';
+    let cMake='';
+    list.forEach(fileName=>{
+        console.log(fileName);
+            let exportName=fileName.match(regex)[2].replace(/[\. \-]/gm,'_');
+            let relativeName=fileName.match(relativeRegex)[1];
+            exportDef+=	'extern const uint8_t '+exportName+'_start[] asm("_binary_'+exportName+'_start");\n'+
+                    'extern const uint8_t '+exportName+'_end[] asm("_binary_'+exportName+'_end");\n';
+            lookupDef+='\t"/'+relativeName+'",\n';
+            lookupMapStart+='\t'+ exportName+'_start,\n';
+            lookupMapEnd+= '\t'+ exportName+'_end,\n';
+            cMake+='target_add_binary_data( __idf_wifi-manager ./webapp'+fileName.match(makePathRegex)[1]+' BINARY)\n';
+            
+    });
+    lookupDef+='""\n};\n';
+    lookupMapStart=lookupMapStart.substring(0,lookupMapStart.length-2)+'\n};\n';
+    lookupMapEnd=lookupMapEnd.substring(0,lookupMapEnd.length-2)+'\n};\n';
+    try {
+        fs.writeFileSync('webapp.cmake', cMake);
+        fs.writeFileSync('webpack.c', exportDef+lookupDef+lookupMapStart+lookupMapEnd);
+        fs.writeFileSync('webpack.h', exportDefHead);
+        //file written successfully
+        } catch (err) {
+        console.error(err);
+        }        
+}
+});                

+ 1 - 0
components/wifi-manager/webapp/test.txt

@@ -0,0 +1 @@
+Some content!

+ 8 - 0
components/wifi-manager/webapp/test/test.js

@@ -0,0 +1,8 @@
+var assert = require('assert');
+describe('Array', function() {
+  describe('#indexOf()', function() {
+    it('should return -1 when the value is not present', function() {
+      assert.equal([1, 2, 3].indexOf(4), -1);
+    });
+  });
+});

+ 17 - 0
components/wifi-manager/webapp/tsconfig.json

@@ -0,0 +1,17 @@
+{
+  "compilerOptions": {
+    "baseUrl": "./",
+    "paths": { "*": ["types/*"] },
+    "outDir": "./dist/",
+    "noImplicitAny": true,
+    "sourceMap": true,
+    "module": "es6",
+    "target": "es2018",
+    "composite": true,
+//    "jsx": "react",
+    "allowJs": true
+  },
+  "exclude": [
+    "./node_modules"
+  ]
+}

+ 22 - 0
components/wifi-manager/webapp/tslint.json

@@ -0,0 +1,22 @@
+{
+  "defaultSeverity": "error",
+  "extends": [
+    "tslint:recommended"
+  ],
+  "jsRules": {},
+  "rules": {
+    "eofline": false,
+    "no-trailing-whitespace": false,
+    "comment-format": false,
+    "quotemark": false,
+    "no-console": false,
+    "one-line": false,
+    "no-consecutive-blank-lines": false,
+    "curly": false,
+    "ordered-imports": [false],
+    "object-literal-sort-keys": [false],
+    "only-arrow-functions": false,
+    "indent": false
+  },
+  "rulesDirectory": []
+}

+ 5 - 0
components/wifi-manager/webapp/webapp.cmake

@@ -0,0 +1,5 @@
+target_add_binary_data( __idf_wifi-manager ./webapp/webpack/dist/favicon-32x32.png BINARY)
+target_add_binary_data( __idf_wifi-manager ./webapp/webpack/dist/index.html.gz BINARY)
+target_add_binary_data( __idf_wifi-manager ./webapp/webpack/dist/js/index.e644c0.bundle.js.gz BINARY)
+target_add_binary_data( __idf_wifi-manager ./webapp/webpack/dist/js/node-modules.e644c0.bundle.js.gz BINARY)
+target_add_binary_data( __idf_wifi-manager ./webapp/webpack/dist/js/runtime.e644c0.bundle.js.gz BINARY)

+ 34 - 0
components/wifi-manager/webapp/webpack.c

@@ -0,0 +1,34 @@
+// Automatically generated. Do not edit manually!.
+#include <inttypes.h>
+extern const uint8_t _favicon_32x32_png_start[] asm("_binary_favicon_32x32_png_start");
+extern const uint8_t _favicon_32x32_png_end[] asm("_binary_favicon_32x32_png_end");
+extern const uint8_t _index_html_gz_start[] asm("_binary_index_html_gz_start");
+extern const uint8_t _index_html_gz_end[] asm("_binary_index_html_gz_end");
+extern const uint8_t _index_e644c0_bundle_js_gz_start[] asm("_binary_index_e644c0_bundle_js_gz_start");
+extern const uint8_t _index_e644c0_bundle_js_gz_end[] asm("_binary_index_e644c0_bundle_js_gz_end");
+extern const uint8_t _node_modules_e644c0_bundle_js_gz_start[] asm("_binary_node_modules_e644c0_bundle_js_gz_start");
+extern const uint8_t _node_modules_e644c0_bundle_js_gz_end[] asm("_binary_node_modules_e644c0_bundle_js_gz_end");
+extern const uint8_t _runtime_e644c0_bundle_js_gz_start[] asm("_binary_runtime_e644c0_bundle_js_gz_start");
+extern const uint8_t _runtime_e644c0_bundle_js_gz_end[] asm("_binary_runtime_e644c0_bundle_js_gz_end");
+const char * resource_lookups[] = {
+	"/dist/favicon-32x32.png",
+	"/dist/index.html.gz",
+	"/js/index.e644c0.bundle.js.gz",
+	"/js/node-modules.e644c0.bundle.js.gz",
+	"/js/runtime.e644c0.bundle.js.gz",
+""
+};
+const uint8_t * resource_map_start[] = {
+	_favicon_32x32_png_start,
+	_index_html_gz_start,
+	_index_e644c0_bundle_js_gz_start,
+	_node_modules_e644c0_bundle_js_gz_start,
+	_runtime_e644c0_bundle_js_gz_start
+};
+const uint8_t * resource_map_end[] = {
+	_favicon_32x32_png_end,
+	_index_html_gz_end,
+	_index_e644c0_bundle_js_gz_end,
+	_node_modules_e644c0_bundle_js_gz_end,
+	_runtime_e644c0_bundle_js_gz_end
+};

+ 72 - 0
components/wifi-manager/webapp/webpack.h

@@ -0,0 +1,72 @@
+/***********************************
+webpack_headers
+Hash: e644c04d107606ae748d
+Version: webpack 4.44.2
+Time: 6267ms
+Built at: 2020-12-21 10 h 59 min 46 s
+                                Asset       Size  Chunks                                Chunk Names
+          ./js/index.e644c0.bundle.js    230 KiB       0  [emitted] [immutable]         index
+       ./js/index.e644c0.bundle.js.br   31.3 KiB          [emitted]                     
+       ./js/index.e644c0.bundle.js.gz   40.9 KiB          [emitted]                     
+   ./js/node-modules.e644c0.bundle.js    265 KiB       1  [emitted] [immutable]  [big]  node-modules
+./js/node-modules.e644c0.bundle.js.br   76.2 KiB          [emitted]                     
+./js/node-modules.e644c0.bundle.js.gz   88.6 KiB          [emitted]                     
+        ./js/runtime.e644c0.bundle.js   1.46 KiB       2  [emitted] [immutable]         runtime
+     ./js/runtime.e644c0.bundle.js.br  644 bytes          [emitted]                     
+     ./js/runtime.e644c0.bundle.js.gz  722 bytes          [emitted]                     
+                    favicon-32x32.png  578 bytes          [emitted]                     
+                           index.html   19.5 KiB          [emitted]                     
+                        index.html.br   4.48 KiB          [emitted]                     
+                        index.html.gz   5.46 KiB          [emitted]                     
+                           sprite.svg    4.4 KiB          [emitted]                     
+                        sprite.svg.br  912 bytes          [emitted]                     
+Entrypoint index [big] = ./js/runtime.e644c0.bundle.js ./js/node-modules.e644c0.bundle.js ./js/index.e644c0.bundle.js
+ [6] ./node_modules/bootstrap/dist/js/bootstrap-exposed.js 437 bytes {1} [built]
+[11] ./src/sass/main.scss 1.55 KiB {0} [built]
+[16] ./node_modules/remixicon/icons/Device/signal-wifi-fill.svg 340 bytes {1} [built]
+[17] ./node_modules/remixicon/icons/Device/signal-wifi-3-fill.svg 344 bytes {1} [built]
+[18] ./node_modules/remixicon/icons/Device/signal-wifi-2-fill.svg 344 bytes {1} [built]
+[19] ./node_modules/remixicon/icons/Device/signal-wifi-1-fill.svg 344 bytes {1} [built]
+[20] ./node_modules/remixicon/icons/Device/signal-wifi-line.svg 340 bytes {1} [built]
+[21] ./node_modules/remixicon/icons/Device/battery-line.svg 332 bytes {1} [built]
+[22] ./node_modules/remixicon/icons/Device/battery-low-line.svg 340 bytes {1} [built]
+[23] ./node_modules/remixicon/icons/Device/battery-fill.svg 332 bytes {1} [built]
+[24] ./node_modules/remixicon/icons/Media/headphone-fill.svg 335 bytes {1} [built]
+[25] ./node_modules/remixicon/icons/Device/device-recover-fill.svg 346 bytes {1} [built]
+[26] ./node_modules/remixicon/icons/Device/bluetooth-fill.svg 336 bytes {1} [built]
+[27] ./node_modules/remixicon/icons/Device/bluetooth-connect-fill.svg 352 bytes {1} [built]
+[37] ./src/index.ts + 1 modules 52.6 KiB {0} [built]
+     | ./src/index.ts 1.36 KiB [built]
+     | ./src/js/custom.js 51.2 KiB [built]
+    + 23 hidden modules
+
+WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
+This can impact web performance.
+Assets: 
+  ./js/node-modules.e644c0.bundle.js (265 KiB)
+
+WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
+Entrypoints:
+  index (497 KiB)
+      ./js/runtime.e644c0.bundle.js
+      ./js/node-modules.e644c0.bundle.js
+      ./js/index.e644c0.bundle.js
+
+
+WARNING in webpack performance recommendations: 
+You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
+For more info visit https://webpack.js.org/guides/code-splitting/
+Child html-webpack-plugin for "index.html":
+         Asset     Size  Chunks  Chunk Names
+    index.html  556 KiB       0  
+    Entrypoint undefined = index.html
+    [0] ./node_modules/html-webpack-plugin/lib/loader.js!./src/index.ejs 21.1 KiB {0} [built]
+    [1] ./node_modules/lodash/lodash.js 530 KiB {0} [built]
+    [2] (webpack)/buildin/global.js 472 bytes {0} [built]
+    [3] (webpack)/buildin/module.js 497 bytes {0} [built]
+***********************************/
+#pragma once
+#include <inttypes.h>
+extern const char * resource_lookups[];
+extern const uint8_t * resource_map_start[];
+extern const uint8_t * resource_map_end[];

+ 0 - 0
components/wifi-manager/webapp/webpack/cmdline.js


+ 9 - 0
components/wifi-manager/webapp/webpack/postcss.config.js

@@ -0,0 +1,9 @@
+module.exports = {
+    parser: 'sugarss',
+    // syntax: 'postcss-scss',
+    plugins: {
+      'postcss-import': {},
+      'postcss-cssnext': {},
+      cssnano: {}
+    }
+  }

+ 231 - 0
components/wifi-manager/webapp/webpack/webpack.common.js

@@ -0,0 +1,231 @@
+/* eslint-disable  */
+// Common Config is used in Development and Production Mode.
+const path = require('path');
+const CleanWebpackPlugin = require('clean-webpack-plugin');
+const webpack = require('webpack');
+const HtmlWebPackPlugin = require('html-webpack-plugin');
+const LodashModuleReplacementPlugin = require('lodash-webpack-plugin');
+const ScriptExtHtmlWebpackPlugin = require('script-ext-html-webpack-plugin');
+const StylelintPlugin = require('stylelint-webpack-plugin');
+const ESLintPlugin = require('eslint-webpack-plugin');
+const SpriteLoaderPlugin = require('svg-sprite-loader/plugin');
+// Linting
+const TSLintPlugin = require('tslint-webpack-plugin');
+
+
+module.exports = {
+    entry: {
+        index: './src/index.ts'
+    },
+    output: {
+        path: path.resolve(__dirname, 'dist'),
+        filename: './js/[name].[hash:6].bundle.js'
+    },
+    module: {
+        rules: [
+            // Raw Loader
+            {
+                test: /\.txt$/,
+                use: 'raw-loader'
+            },
+            //  HTML Loader
+            {
+                test: /\.html$/,
+                use: [
+                    {
+                        loader: 'html-loader',
+                        options: {minimize: true}
+                    }
+                ]
+            },
+            //  CSS/SCSS Loader & Minimizer
+            {
+                test: /\.(sa|sc|c)ss$/,
+                use: [
+                  "style-loader",
+                  "css-loader",
+                    {
+                        loader: 'postcss-loader',
+                        options: {
+                          postcssOptions: {
+                            parser: "sugarss",
+                          },
+                      },
+                    },
+                    {
+                        loader: 'resolve-url-loader',
+                        options: {}
+                    },
+                    {
+                        loader: 'sass-loader',
+                        options: {
+                            sourceMap: true,
+                            sourceMapContents: false
+
+                        }
+                    }
+                ],
+                
+            },
+            {
+              test: /\.svg$/,
+              use: [
+                { 
+                  loader: 'svg-sprite-loader',
+                  options: { 
+                    extract: true,
+                } },
+                'svg-transform-loader',
+                {
+                  loader: 'svgo-loader',
+                  options: {
+                    plugins: [
+                      {removeTitle: true},
+                      {convertColors: {shorthex: false}},
+                      {convertPathData: false},
+                      {convertPathData:true}
+                    ]
+                  }
+                }
+              ]
+            },
+            // Image Loader
+            {
+                test: /\.(png|jpeg|jpg|webp|gif|ico)/i,
+                use: [
+                    {
+                        loader: 'url-loader',
+                        options: {
+                           // publicPath: '../',
+                            name: './assets/images/' + '[name].[ext]',
+                            limit: 10000,
+                            publicPath: '../'
+                        }
+
+                    },
+                ]
+            },
+            // Babel Loader
+            {
+                test: /\.ts(x?)$/,
+                exclude: /node_modules/,
+                loader: 'babel-loader'
+            },
+            {
+                test: /\.m?js$/,
+                exclude: /(node_modules|bower_components)/,
+                use: {
+                  loader: 'babel-loader',
+                  options: {
+                    presets: ['@babel/preset-env'],
+                    plugins: [
+                        '@babel/plugin-proposal-object-rest-spread',    
+                        '@babel/plugin-proposal-nullish-coalescing-operator',
+                        '@babel/plugin-proposal-optional-chaining',
+                        '@babel/plugin-proposal-class-properties'
+                    ]
+                  }
+                },
+            },
+            // XML Loader
+            {
+                test: /\.xml$/,
+                use: [
+                    'xml-loader'
+                ]
+            }, 
+            {
+                test: require.resolve("bootstrap"),
+                loader: "expose-loader",
+                options: {
+                  exposes: ["bootstrap"],
+                },
+              },          
+              {
+                test: require.resolve("jquery"),
+                loader: "expose-loader",
+                options: {
+                  exposes: ["$", "jQuery"],
+                },
+              },              
+              {
+                test: require.resolve("underscore"),
+                loader: "expose-loader",
+                options: {
+                  exposes: [
+                    "_.map|map",
+                    {
+                      globalName: "_.reduce",
+                      moduleLocalName: "reduce",
+                    },
+                    {
+                      globalName: ["_", "filter"],
+                      moduleLocalName: "filter",
+                    },
+                  ],
+                },
+              },
+            
+        ]
+    },
+    resolve: {
+                 extensions: ['.js', '.jsx', '.tsx', '.ts', '.json'],
+                 alias: {
+                  riSvg: 'remixicon/icons/'
+                }
+    },
+
+    plugins: [
+      new CleanWebpackPlugin(),
+        new ESLintPlugin({
+            cache: true,
+            ignore: true,
+            useEslintrc: true,
+          }),
+        new HtmlWebPackPlugin({
+            title: 'SqueezeESP32',
+            template: './src/index.ejs',
+            filename: 'index.html',
+            inject: 'body',
+            minify: {
+              html5                          : true,
+              collapseWhitespace             : true,
+              minifyCSS                      : true,
+              minifyJS                       : true,
+              minifyURLs                     : false,
+              removeAttributeQuotes          : true,
+              removeComments                 : true, // false for Vue SSR to find app placeholder
+              removeEmptyAttributes          : true,
+              removeOptionalTags             : true,
+              removeRedundantAttributes      : true,
+              removeScriptTypeAttributes     : true,
+              removeStyleLinkTypeAttributese : true,
+              useShortDoctype                : true
+            },
+            favicon: "./src/assets/images/favicon-32x32.png",
+            excludeChunks: ['test'],
+        }),
+        
+        new ScriptExtHtmlWebpackPlugin({
+            defaultAttribute: 'defer'
+        }),
+
+        // // Load Lodash Features Separately https://www.npmjs.com/package/lodash-webpack-plugin
+        new LodashModuleReplacementPlugin({
+            'collections': true,
+            'paths': true,
+        }),
+        new TSLintPlugin({
+          files: ['./src/ts/*.ts']
+      }),        
+         new StylelintPlugin( {
+            files: ['./src/sass/*.s?(a|c)ss'],
+            configFile: './config/.stylelintrc',
+            emitError: true,
+            emitWarning: true,
+            failOnError: false,
+            fix: true
+        }),
+        new SpriteLoaderPlugin({plainSprite: true})
+    ],
+};

+ 235 - 0
components/wifi-manager/webapp/webpack/webpack.dev.js

@@ -0,0 +1,235 @@
+/* eslint-disable  */
+var path = require('path');
+const merge = require('webpack-merge');
+const common = require('./webpack.common.js');
+const bodyParser = require('body-parser')
+const MiniCssExtractPlugin = require('mini-css-extract-plugin');
+const { config } = require('process');
+const HtmlWebPackPlugin = require('html-webpack-plugin');
+const SpriteLoaderPlugin = require('svg-sprite-loader/plugin');
+const { Command } = require('commander');
+let  cmdLines= { };
+const data = {
+    messages: require("../mock/messages.json"),
+    messagequeue: require("../mock/messages.json"),
+    commands: require("../mock/commands.json"),
+    scan: require("../mock/scan.json"),
+    ap: require("../mock/ap.json"),
+    config: require("../mock/config.json"),
+    statusdefinition: require("../mock/statusdefinition.json"),
+    status: require("../mock/status.json")
+};
+const messagingTypes= {
+	MESSAGING_INFO : 'MESSAGING_INFO',
+	MESSAGING_WARNING : 'MESSAGING_WARNING',
+	MESSAGING_ERROR : 'MESSAGING_ERROR'
+};
+const messagingClass= {
+	MESSAGING_CLASS_OTA : 'MESSAGING_CLASS_OTA',
+	MESSAGING_CLASS_SYSTEM : 'MESSAGING_CLASS_SYSTEM',
+	MESSAGING_CLASS_STATS : 'MESSAGING_CLASS_STATS',
+	MESSAGING_CLASS_CFGCMD: 'MESSAGING_CLASS_CFGCMD',
+	MESSAGING_CLASS_BT: 'MESSAGING_CLASS_BT'
+} ;
+function requeueMessages(){
+    data.messagequeue.push(...data.messages);
+    console.log(`Re-queued ${data.messages.length} messages. Total queue length is: ${data.messagequeue.length}`);
+}
+function sendMessaging(cmdname,msgtype,msgClass,msg){
+    let message_txt=`${cmdname}\n${msg}`;
+    var d = new Date();
+    var n = d.getMilliseconds();
+    data.messagequeue.push({
+        message:	message_txt,
+        type:	msgtype,
+        class:	msgClass,
+        sent_time:	n,
+        current_time:	n});
+    console.log(`Queued message ~${data.messagequeue.length} type ${msgtype}, class ${msgClass}: ${message_txt}`);
+}
+Array.prototype.filter = function(fun /*, thisp*/) {
+    var len = this.length >>> 0;
+    if (typeof fun != "function")
+      throw new TypeError();
+
+    var res = [];
+    var thisp = arguments[1];
+    for (var i = 0; i < len; i++) {
+      if (i in this) {
+        var val = this[i];
+        if (fun.call(thisp, val, i, this))
+          res.push(val);
+      }
+    }
+    return res;
+  };
+for(const cmdIdx in data.commands.commands){
+    const cmd = data.commands.commands[cmdIdx];
+    //console.log(`Creating command structure for ${cmd.name}`);
+    cmdLines[cmd.name] = {
+        cmd: new Command(),
+    };
+    cmdLines[cmd.name].cmd
+        .storeOptionsAsProperties(false)
+        .name(cmd.name)
+        .exitOverride();
+    for(const argIdx in cmd.argtable){
+        const arg=cmd.argtable[argIdx];
+        const optstr=((arg.shortopts?'-'+arg.shortopts:'')+ 
+        (arg.shortopts && arg.longopts?', ':'')+
+        (arg.longopts?'--'+arg.longopts:'') + 
+        (arg.hasvalue?`${(arg.shortopts || arg.longopts?' ':'')}<${arg.datatype.replace(/[<>]/gm,'')}>`:''));
+        //console.log(`   Option: ${optstr}, Glossary: ${arg.glossary}`);
+        if(arg.mincount>0){
+            cmdLines[cmd.name].cmd.requiredOption( optstr,arg.glossary);
+        }
+        else {
+            cmdLines[cmd.name].cmd.option( optstr,arg.glossary);
+        }
+    }
+}
+const connectReturnCode = {
+    UPDATE_CONNECTION_OK : 0, 
+      UPDATE_FAILED_ATTEMPT : 1,
+      UPDATE_USER_DISCONNECT : 2,
+      UPDATE_LOST_CONNECTION : 3,
+      UPDATE_FAILED_ATTEMPT_AND_RESTORE : 4
+  }
+module.exports = merge(common, {
+    mode: 'development',
+    devtool: 'inline-source-map',
+    entry: {
+        test: './src/test.ts'
+    },    
+    devServer: {
+        contentBase: path.join(__dirname, 'dist'),
+        publicPath: '/',
+        port: 9100,
+        host: 'desktop-n8u8515',//your ip address
+        disableHostCheck: true,
+        overlay: true,
+
+        before: function(app) {
+            app.use(bodyParser.json()) // for parsing application/json
+            app.use(bodyParser.urlencoded({ extended: true })) // for parsing application/x-www-form-urlencoded
+            app.get('/ap.json', function(req, res) { res.json( data.ap ); });
+            app.get('/scan.json', function(req, res) { res.json( data.scan ); });
+            app.get('/config.json', function(req, res) { res.json( data.config ); });
+            app.get('/status.json', function(req, res) { res.json( data.status ); });
+            app.get('/messages.json', function(req, res) { 
+                res.json( data.messagequeue ) ; 
+                data.messagequeue=[];
+            });
+            
+            app.get('/statusdefinition.json', function(req, res) { res.json( data.statusdefinition ); });
+            app.get('/commands.json', function(req, res) { res.json( data.commands ); });
+            app.post('/commands.json', function(req, res) { 
+                console.log(req.body.command);
+                try {
+                    const cmdName=req.body.command.split(" ")[0];
+                    const args=('node '+req.body.command).split(" ");
+                    let cmd=cmdLines[cmdName].cmd;
+                    if(cmd){
+                        cmd.parse(args);
+                        const msg=`Received Options: ${JSON.stringify(cmd.opts())}\n`;
+                        console.log('Options: ', cmd.opts());
+                        console.log('Remaining arguments: ', cmd.args);
+                        sendMessaging(cmdName,messagingTypes.MESSAGING_INFO,messagingClass.MESSAGING_CLASS_CFGCMD,msg);
+                    }                    
+                } catch (error) {
+                    console.error(error);
+                }
+                res.json( { 'Result' : 'Success' } ); 
+            });
+            app.post('/config.json', function(req, res) { 
+                console.log(req.body);
+                console.log(data.config);
+                for (const property in req.body.config) {
+                    console.log(`${property}: ${req.body.config[property].value}`);
+                    if(data.config[property]=== undefined){
+                        console.log(`Added config value ${property} [${req.body.config[property].value}]`);
+                        data.config[property] = {value: req.body.config[property].value};
+                    }
+                    else if (data.config[property].value!=req.body.config[property].value){
+                        console.log(`Updated config value ${property}\nFrom: ${data.config[property].value}\nTo: ${req.body.config[property].value}]`);
+                        data.config[property].value=req.body.config[property].value;
+                    }
+                  }
+                res.json( {} ); 
+            });
+            app.post('/status.json', function(req, res) { 
+
+                for (const property in req.body.status) {
+                    if(data.status[property]=== undefined){
+                        console.log(`Added status value ${property} [${req.body.status[property]}]`);
+                        data.status[property] = {value: req.body.status[property]};
+                    }
+                    else if (data.status[property]!==req.body.status[property]){
+                        console.log(`Updated status value ${property}\nFrom: ${data.status[property]}\nTo: ${req.body.status[property]}`);
+                        data.status[property]=req.body.status[property];
+                    }
+                  }
+                res.json( {} ); 
+            });            
+            app.post('/connect.json', function(req, res) { 
+                setTimeout(function(r){
+                if(r.body.ssid.search('fail')>=0){
+                    if(data.status.ssid){
+                        // in this case, the same ssid will be reused - the ESP32 would restore its previous state on failure
+                        data.status.urc=connectReturnCode.UPDATE_FAILED_ATTEMPT_AND_RESTORE;
+                    }
+                    else {
+                        data.status.urc=connectReturnCode.UPDATE_FAILED_ATTEMPT;
+                    }
+                }
+                else {
+                    data.status.ssid=r.body.ssid;
+                    data.status.urc=connectReturnCode.UPDATE_CONNECTION_OK;
+                }
+                }, 1000, req);
+                res.json( {} );
+             });
+            app.post('/reboot_ota.json', function(req, res) { 
+                data.status.recovery=0;
+                requeueMessages();
+                res.json( {} ); 
+            });
+            app.post('/reboot.json', function(req, res) { 
+                res.json( {} ); 
+                requeueMessages();
+            });
+            app.post('/recovery.json', function(req, res) { 
+                data.status.recovery=1;
+                requeueMessages();
+                res.json( { } ); 
+            });
+            app.post('/flash.json', function(req, res) { 
+                if(data.status.recovery>0){
+                    res.json({});
+                  }
+                  else {
+                    res.status(404).end(); 
+                  }  
+            });                  
+            app.delete('/connect.json', function(req, res) { 
+                data.status.ssid='';
+                res.json( {} ); });
+            app.get('/reboot', function(req, res) { res.json( {} ); });
+        },
+    },
+    plugins: [
+        new MiniCssExtractPlugin({
+            filename: 'css/[name].css',
+            chunkFilename: 'css/[id].css' ,
+        }),
+        new HtmlWebPackPlugin({
+            title: 'SqueezeESP32-test',
+            template: './src/test.ejs',
+            filename: 'test',
+            minify: false,
+            excludeChunks: ['index'],
+        }),        
+        new SpriteLoaderPlugin({plainSprite: true})
+
+    ],
+});

+ 182 - 0
components/wifi-manager/webapp/webpack/webpack.prod.js

@@ -0,0 +1,182 @@
+/* eslint-disable  */
+// Merges webpack.common config with this production config
+const merge = require('webpack-merge');
+const common = require('./webpack.common.js');
+
+const webpack = require('webpack');
+const CleanWebpackPlugin = require('clean-webpack-plugin');
+
+// Optimisations and Compression
+const MiniCssExtractPlugin = require('mini-css-extract-plugin');
+const TerserPlugin = require('terser-webpack-plugin');
+const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
+const CompressionPlugin = require('compression-webpack-plugin');
+const ImageminPlugin = require('imagemin-webpack-plugin').default;
+const imageminMozjpeg = require('imagemin-mozjpeg');
+const fs = require('fs');
+const glob = require('glob');
+var WebpackOnBuildPlugin = require('on-build-webpack');
+const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
+const path = require('path')
+const ExtractTextPlugin = require('extract-text-webpack-plugin')
+const PurgecssPlugin = require('purgecss-webpack-plugin')
+
+// Optional
+const FaviconsWebpackPlugin = require('favicons-webpack-plugin');
+const PATHS = {
+    src: path.join(__dirname, 'src')
+  }
+module.exports = merge(common, {
+    mode: 'production',
+    stats: 'errors-only',
+    optimization: {
+        minimizer: [
+            new TerserPlugin({
+                test: /\.js(\?.*)?$/i,
+                exclude: /node_modules/,
+                cache: true,
+                parallel: 4,
+                sourceMap: true,
+            }),
+            new OptimizeCSSAssetsPlugin({})
+        ],
+        runtimeChunk: 'single',
+        splitChunks: {
+            chunks: 'all',
+            // maxInitialRequests: Infinity,
+            // minSize: 0,
+            cacheGroups: {
+                vendor: {
+                    test: /node_modules/, // you may add "vendor.js" here if you want to
+                    name: "node-modules",
+                    chunks: "initial",
+                    enforce: true
+                },
+            }
+        },
+    },
+    plugins: [
+        new MiniCssExtractPlugin({
+            filename: 'css/[name].[hash:6].css',
+            chunkFilename: 'css/[name].[contenthash].css',
+
+        }),
+        new ExtractTextPlugin('[name].css?[hash]'),
+    new PurgecssPlugin({
+      paths: glob.sync(`${PATHS.src}/*`),
+      whitelist: ['whitelisted']
+    }),
+        new CleanWebpackPlugin(),
+        new CompressionPlugin({
+            test: /\.(js|css|html|svg)$/,
+            filename: '[path].br[query]',
+            algorithm: 'brotliCompress',
+            compressionOptions: { level: 11 },
+            threshold: 100,
+            minRatio: 0.8,
+            deleteOriginalAssets: false
+        }),
+        new CompressionPlugin({
+            filename: '[path].gz[query]',
+            algorithm: 'gzip',
+            test: /\.js$|\.css$|\.html$/,
+            threshold: 100,
+            minRatio: 0.8,
+        }),
+        new ImageminPlugin({
+            test: /\.(jpe?g|png|gif|svg)$/i,
+            // lossLess gif compressor
+            gifsicle: {
+                optimizationLevel: 9
+            },
+            // lossy png compressor, remove for default lossLess
+            pngquant: ({
+                quality: '75'
+            }),
+            // lossy jpg compressor
+            plugins: [imageminMozjpeg({
+                quality: '75'
+            })]
+        }), 
+        // new FaviconsWebpackPlugin({
+        //     // Your source logo
+        //     logo: './src/assets/images/200px-ControllerAppIcon.png',
+        //     // // The prefix for all image files (might be a folder or a name)
+        //     //prefix: 'assets/icons_[hash:6]/',
+        //     prefix: 'icons_[hash:6]/',
+        //     // // Emit all stats of the generated icons
+        //     //emitStats: false,
+        //     // // The name of the json containing all favicon information
+        //     // statsFilename: 'iconstats-[hash].json',
+        //     // // Generate a cache file with control hashes and
+        //     // // don't rebuild the favicons until those hashes change
+        //     persistentCache: true,
+        //     // // Inject the html into the html-webpack-plugin
+        //     inject: true,
+        //     // // favicon background color (see https://github.com/haydenbleasel/favicons#usage)
+        //     background: '#fff',
+        //     // // which icons should be generated (see https://github.com/haydenbleasel/favicons#usage)
+        //      icons: {
+        //     //   android: false,
+        //     //   appleIcon: false,
+        //        favicons: true
+        //     //   firefox: true,
+        //     //   windows: false
+        //     }
+        // }),
+        new WebpackOnBuildPlugin(function(stats) {
+                var getDirectories = function (src, callback) {
+                    glob(`${src}/**/*(*.gz|favicon-32x32.png)`, callback);
+                  };
+                getDirectories('./webpack/dist', function (err, list) {
+                    if (err) {
+                        console.log('Error', err);
+                    } else {
+                        const regex = /^(.*\/)([^\/]*)$/
+                        const relativeRegex = /(\w+\/[^\/]*)$/
+                        const makePathRegex = /([^\.].*)$/
+                        let exportDefHead=
+                        '/***********************************\n'+
+                        'webpack_headers\n'+
+                        stats+'\n'+
+                        '***********************************/\n'+
+                        '#pragma once\n'+
+                        '#include <inttypes.h>\n'+
+                        'extern const char * resource_lookups[];\n'+
+                        'extern const uint8_t * resource_map_start[];\n'+
+                        'extern const uint8_t * resource_map_end[];\n';
+                        let exportDef=  '// Automatically generated. Do not edit manually!.\n'+
+                                        '#include <inttypes.h>\n';
+                        let lookupDef='const char * resource_lookups[] = {\n';
+                        let lookupMapStart='const uint8_t * resource_map_start[] = {\n';
+                        let lookupMapEnd='const uint8_t * resource_map_end[] = {\n';
+                        let cMake='';
+                        list.forEach(fileName=>{
+                              let exportName=fileName.match(regex)[2].replace(/[\. \-]/gm,'_');
+                              let relativeName=fileName.match(relativeRegex)[1];
+                              exportDef+=	'extern const uint8_t _'+exportName+'_start[] asm("_binary_'+exportName+'_start");\n'+
+                                        'extern const uint8_t _'+exportName+'_end[] asm("_binary_'+exportName+'_end");\n';
+                              lookupDef+='\t"/'+relativeName+'",\n';
+                              lookupMapStart+='\t_'+ exportName+'_start,\n';
+                              lookupMapEnd+= '\t_'+ exportName+'_end,\n';
+                              cMake+='target_add_binary_data( __idf_wifi-manager ./webapp'+fileName.match(makePathRegex)[1]+' BINARY)\n';
+                        });
+
+                        lookupDef+='""\n};\n';
+                        lookupMapStart=lookupMapStart.substring(0,lookupMapStart.length-2)+'\n};\n';
+                        lookupMapEnd=lookupMapEnd.substring(0,lookupMapEnd.length-2)+'\n};\n';
+                        try {
+                            fs.writeFileSync('webapp.cmake', cMake);
+                            fs.writeFileSync('webpack.c', exportDef+lookupDef+lookupMapStart+lookupMapEnd);
+                            fs.writeFileSync('webpack.h', exportDefHead);
+                            //file written successfully
+                          } catch (e) {
+                            console.error(e);
+                          }        
+                    }
+                    });                
+               }),
+               new BundleAnalyzerPlugin()               
+    ]
+});
+

+ 26 - 11
components/wifi-manager/wifi_manager.c

@@ -153,6 +153,9 @@ const int WIFI_MANAGER_SCAN_BIT = BIT7;
 /* @brief When set, means user requested for a disconnect */
 const int WIFI_MANAGER_REQUEST_DISCONNECT_BIT = BIT8;
 
+/* @brief When set, means user requested connecting to a new network and it failed */
+const int WIFI_MANAGER_REQUEST_STA_CONNECT_FAILED_BIT = BIT9;
+
 
 char * get_disconnect_code_desc(uint8_t reason){
 	switch (reason) {
@@ -539,8 +542,9 @@ void wifi_manager_generate_ip_info_json(update_reason_code_t update_reason_code)
 
 	cJSON_AddNumberToObject(ip_info_cjson, "urc", update_reason_code);
 	if(config){
-		cJSON_AddItemToObject(ip_info_cjson, "ssid", cJSON_CreateString((char *)config->sta.ssid));
-
+		if(update_reason_code == UPDATE_CONNECTION_OK || update_reason_code == UPDATE_LOST_CONNECTION || update_reason_code == UPDATE_FAILED_ATTEMPT){
+			cJSON_AddItemToObject(ip_info_cjson, "ssid", cJSON_CreateString((char *)config->sta.ssid));
+		}
 		if(update_reason_code == UPDATE_CONNECTION_OK){
 			/* rest of the information is copied after the ssid */
 			tcpip_adapter_ip_info_t ip_info;
@@ -548,8 +552,12 @@ void wifi_manager_generate_ip_info_json(update_reason_code_t update_reason_code)
 			cJSON_AddItemToObject(ip_info_cjson, "ip", cJSON_CreateString(ip4addr_ntoa((ip4_addr_t *)&ip_info.ip)));
 			cJSON_AddItemToObject(ip_info_cjson, "netmask", cJSON_CreateString(ip4addr_ntoa((ip4_addr_t *)&ip_info.netmask)));
 			cJSON_AddItemToObject(ip_info_cjson, "gw", cJSON_CreateString(ip4addr_ntoa((ip4_addr_t *)&ip_info.gw)));
+			wifi_ap_record_t ap;
+			esp_wifi_sta_get_ap_info(&ap);
+			cJSON_AddItemToObject(ip_info_cjson, "rssi", cJSON_CreateNumber(ap.rssi));
 		}
 	}
+
 	ESP_LOGV(TAG,  "wifi_manager_generate_ip_info_json done");
 }
 #define LOCAL_MAC_SIZE 20
@@ -1273,6 +1281,7 @@ void wifi_manager( void * pvParameters ){
 				if((BaseType_t)msg.param == CONNECTION_REQUEST_USER) {
 					ESP_LOGD(TAG,   "MESSAGE: ORDER_CONNECT_STA - Connection request with no nvs connection saved yet");
 					xEventGroupSetBits(wifi_manager_event_group, WIFI_MANAGER_REQUEST_STA_CONNECT_BIT);
+					xEventGroupClearBits(wifi_manager_event_group,WIFI_MANAGER_REQUEST_STA_CONNECT_FAILED_BIT);
 				}
 				else if((BaseType_t)msg.param == CONNECTION_REQUEST_RESTORE_CONNECTION) {
 					ESP_LOGD(TAG,   "MESSAGE: ORDER_CONNECT_STA - Connection request after restoring the AP configuration");
@@ -1296,12 +1305,12 @@ void wifi_manager( void * pvParameters ){
 						/* start DHCP client if not started*/
 						tcpip_adapter_dhcp_status_t status;
 						ESP_LOGD(TAG,   "wifi_manager: Checking if DHCP client for STA interface is running");
-						ESP_ERROR_CHECK(tcpip_adapter_dhcpc_get_status(TCPIP_ADAPTER_IF_STA, &status));
+						ESP_ERROR_CHECK_WITHOUT_ABORT(tcpip_adapter_dhcpc_get_status(TCPIP_ADAPTER_IF_STA, &status));
 						if (status!=TCPIP_ADAPTER_DHCP_STARTED) {
 							ESP_LOGD(TAG,   "wifi_manager: Start DHCP client for STA interface");
-							ESP_ERROR_CHECK(tcpip_adapter_dhcpc_start(TCPIP_ADAPTER_IF_STA));
-//						}
-					}
+							ESP_ERROR_CHECK_WITHOUT_ABORT(tcpip_adapter_dhcpc_start(TCPIP_ADAPTER_IF_STA));
+						}
+					//}
 				}
 
 				uxBits = xEventGroupGetBits(wifi_manager_event_group);
@@ -1420,26 +1429,32 @@ void wifi_manager( void * pvParameters ){
 
 				uxBits = xEventGroupGetBits(wifi_manager_event_group);
 				if( uxBits & WIFI_MANAGER_REQUEST_STA_CONNECT_BIT ){
+					xEventGroupClearBits(wifi_manager_event_group, WIFI_MANAGER_REQUEST_STA_CONNECT_BIT);
 					ESP_LOGW(TAG,   "WiFi Disconnected while processing user connect request.  Wrong password?");
 					/* there are no retries when it's a user requested connection by design. This avoids a user hanging too much
 					 * in case they typed a wrong password for instance. Here we simply clear the request bit and move on */
-					xEventGroupClearBits(wifi_manager_event_group, WIFI_MANAGER_REQUEST_STA_CONNECT_BIT);
+					
 					if(wifi_manager_lock_json_buffer( portMAX_DELAY )){
 						wifi_manager_generate_ip_info_json( UPDATE_FAILED_ATTEMPT );
 						wifi_manager_unlock_json_buffer();
 					}
-
+					wifi_mode_t mode;
+					esp_wifi_get_mode(&mode);
+					if( WIFI_MODE_STA ==mode ){
+						xEventGroupSetBits(wifi_manager_event_group,WIFI_MANAGER_REQUEST_STA_CONNECT_FAILED_BIT);
+						// if wifi was STA, attempt to reload the previous network connection
+						ESP_LOGW(TAG,"Attempting to restore previous network"); 
+						wifi_manager_send_message(ORDER_LOAD_AND_RESTORE_STA, NULL);
+					}
 				}
 				else if (uxBits & WIFI_MANAGER_REQUEST_DISCONNECT_BIT){
 					ESP_LOGD(TAG,   "WiFi disconnected by user");
 					/* user manually requested a disconnect so the lost connection is a normal event. Clear the flag and restart the AP */
 					xEventGroupClearBits(wifi_manager_event_group, WIFI_MANAGER_REQUEST_DISCONNECT_BIT);
-
 					if(wifi_manager_lock_json_buffer( portMAX_DELAY )){
 						wifi_manager_generate_ip_info_json( UPDATE_USER_DISCONNECT );
 						wifi_manager_unlock_json_buffer();
 					}
-
 					/* erase configuration */
 					if(wifi_manager_config_sta){
 						ESP_LOGI(TAG,   "Erasing WiFi Configuration.");
@@ -1521,7 +1536,7 @@ void wifi_manager( void * pvParameters ){
 				/* refresh JSON with the new IP */
 				if(wifi_manager_lock_json_buffer( portMAX_DELAY )){
 					/* generate the connection info with success */
-					wifi_manager_generate_ip_info_json( UPDATE_CONNECTION_OK );
+					wifi_manager_generate_ip_info_json( uxBits & WIFI_MANAGER_REQUEST_STA_CONNECT_FAILED_BIT?UPDATE_FAILED_ATTEMPT_AND_RESTORE:UPDATE_CONNECTION_OK );
 					wifi_manager_unlock_json_buffer();
 				}
 				else {

+ 3 - 1
components/wifi-manager/wifi_manager.h

@@ -215,7 +215,9 @@ typedef enum update_reason_code_t {
 	UPDATE_CONNECTION_OK = 0,
 	UPDATE_FAILED_ATTEMPT = 1,
 	UPDATE_USER_DISCONNECT = 2,
-	UPDATE_LOST_CONNECTION = 3
+	UPDATE_LOST_CONNECTION = 3,
+	UPDATE_FAILED_ATTEMPT_AND_RESTORE = 4,
+
 }update_reason_code_t;
 
 typedef enum connection_request_made_by_code_t{

+ 6 - 2
components/wifi-manager/wifi_manager_http_server.c

@@ -38,8 +38,12 @@ rest_server_context_t *rest_context = NULL;
 RingbufHandle_t messaging=NULL;
 
 void register_common_handlers(httpd_handle_t server){
-	httpd_uri_t res_get = { .uri = "/res/*", .method = HTTP_GET, .handler = resource_filehandler, .user_ctx = rest_context };
-	httpd_register_uri_handler(server, &res_get);
+	httpd_uri_t css_get = { .uri = "/css/*", .method = HTTP_GET, .handler = resource_filehandler, .user_ctx = rest_context };
+	httpd_register_uri_handler(server, &css_get);
+	httpd_uri_t js_get = { .uri = "/js/*", .method = HTTP_GET, .handler = resource_filehandler, .user_ctx = rest_context };
+	httpd_register_uri_handler(server, &js_get);
+	httpd_uri_t icon_get = { .uri = "/icons*", .method = HTTP_GET, .handler = resource_filehandler, .user_ctx = rest_context };
+	httpd_register_uri_handler(server, &icon_get);	
 
 }
 void register_regular_handlers(httpd_handle_t server){

+ 24 - 2
main/esp_app_main.c

@@ -45,6 +45,7 @@
 #include "gds_font.h"
 #include "display.h"
 #include "accessors.h"
+#include "cmd_system.h"
 static const char certs_namespace[] = "certificates";
 static const char certs_key[] = "blob";
 static const char certs_version[] = "version";
@@ -59,6 +60,7 @@ const int CONNECTED_BIT = BIT0;
 static const char TAG[] = "esp_app_main";
 #define DEFAULT_HOST_NAME "squeezelite"
 char * fwurl = NULL;
+RTC_NOINIT_ATTR uint32_t RebootCounter ;
 
 static bool bWifiConnected=false;
 extern const uint8_t server_cert_pem_start[] asm("_binary_github_pem_start");
@@ -384,10 +386,30 @@ void register_default_nvs(){
 	ESP_LOGD(TAG,"Done setting default values in nvs.");
 }
 
+uint32_t halSTORAGE_RebootCounterRead(void) { return RebootCounter ; }
+uint32_t halSTORAGE_RebootCounterUpdate(int32_t xValue) { return (RebootCounter = (xValue != 0) ? (RebootCounter + xValue) : 0) ; }
+
+void handle_ap_connect(){
+	start_telnet(NULL);
+	halSTORAGE_RebootCounterUpdate(0);
+}
 void app_main()
 {
 	const esp_partition_t *running = esp_ota_get_running_partition();
 	is_recovery_running = (running->subtype == ESP_PARTITION_SUBTYPE_APP_FACTORY);
+	esp_reset_reason_t xReason = esp_reset_reason();
+	ESP_LOGI(TAG,"Reset reason is: %u", xReason);
+	if(!is_recovery_running && xReason != ESP_RST_SW && xReason != ESP_RST_POWERON )  {
+		/* unscheduled restart (HW, Watchdog or similar) thus increment dynamic
+	 	* counter then log current boot statistics as a warning */
+		uint32_t Counter = halSTORAGE_RebootCounterUpdate(1) ;		// increment counter
+		ESP_LOGI(TAG,"Reboot counter=%u\n", Counter) ;
+		if (Counter == 5) {
+			// before we change the partition, update the info for current running partition.
+			halSTORAGE_RebootCounterUpdate(0);
+			guided_factory();
+		}
+	}
 
 	char * fwurl = NULL;
 	ESP_LOGI(TAG,"Starting app_main");
@@ -464,8 +486,8 @@ void app_main()
 		wifi_manager_set_callback(EVENT_STA_DISCONNECTED, &cb_connection_sta_disconnected);
 		/* Start the telnet service after we are certain that the network stack has been properly initialized.
 		 * This can be either after we're started the AP mode, or after we've started the STA mode  */
-		wifi_manager_set_callback(ORDER_START_AP, &start_telnet);
-		wifi_manager_set_callback(ORDER_CONNECT_STA, &start_telnet);
+		wifi_manager_set_callback(ORDER_START_AP, &handle_ap_connect);
+		wifi_manager_set_callback(ORDER_CONNECT_STA, &handle_ap_connect);
 	}
 	console_start();
 	if(fwurl && strlen(fwurl)>0){

+ 349 - 16
sdkconfig

@@ -75,14 +75,24 @@ CONFIG_LOGGING_SLIMPROTO="info"
 CONFIG_LOGGING_STREAM="info"
 CONFIG_LOGGING_DECODE="info"
 CONFIG_LOGGING_OUTPUT="info"
+CONFIG_MUTE_GPIO_LEVEL=0
+CONFIG_DAC_CONFIG=""
+CONFIG_SPDIF_CONFIG=""
+CONFIG_SPI_CONFIG=""
+CONFIG_DISPLAY_CONFIG=""
+CONFIG_DAC_CONTROLSET=""
 # CONFIG_SQUEEZEAMP is not set
 # CONFIG_A1S is not set
+# CONFIG_TWATCH2020 is not set
 CONFIG_BASIC_I2C_BT=y
 CONFIG_I2S_NUM=0
-CONFIG_I2S_BCK_IO=33
-CONFIG_I2S_WS_IO=25
-CONFIG_I2S_DO_IO=32
+CONFIG_I2S_BCK_IO=-1
+CONFIG_I2S_WS_IO=-1
+CONFIG_I2S_DO_IO=-1
 CONFIG_I2S_DI_IO=-1
+CONFIG_I2C_SDA=-1
+CONFIG_I2C_SCL=-1
+CONFIG_MUTE_GPIO=-1
 CONFIG_SDIF_NUM=0
 CONFIG_SPDIF_BCK_IO=-1
 CONFIG_SPDIF_WS_IO=-1
@@ -97,9 +107,7 @@ CONFIG_BT_SINK_PIN=1234
 CONFIG_AIRPLAY_SINK=y
 CONFIG_AIRPLAY_NAME="ESP32-AirPlay"
 CONFIG_AIRPLAY_PORT="5000"
-CONFIG_DISPLAY_CONFIG=""
 CONFIG_I2C_CONFIG=""
-CONFIG_SPI_CONFIG=""
 CONFIG_SET_GPIO=""
 CONFIG_ROTARY_ENCODER=""
 CONFIG_LED_GREEN_GPIO=-1
@@ -117,7 +125,7 @@ CONFIG_DEFAULT_AP_GATEWAY="192.168.4.1"
 CONFIG_DEFAULT_AP_NETMASK="255.255.255.0"
 CONFIG_DEFAULT_AP_MAX_CONNECTIONS=4
 CONFIG_DEFAULT_AP_BEACON_INTERVAL=100
-CONFIG_DEFAULT_COMMAND_LINE="squeezelite -o I2S -b 500:2000 -d all=info -C 30"
+CONFIG_DEFAULT_COMMAND_LINE="squeezelite -o I2S -b 500:2000 -d all=info -C 30 -W"
 # CONFIG_COMPILER_OPTIMIZATION_LEVEL_DEBUG is not set
 CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE=y
 CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y
@@ -174,7 +182,175 @@ CONFIG_BT_A2DP_ENABLE=y
 # CONFIG_BT_HFP_ENABLE is not set
 CONFIG_BT_SSP_ENABLED=y
 # CONFIG_BT_BLE_ENABLED is not set
-CONFIG_BT_STACK_NO_LOG=y
+# CONFIG_BT_STACK_NO_LOG is not set
+# CONFIG_BT_LOG_HCI_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_HCI_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_HCI_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_HCI_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_HCI_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_HCI_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_HCI_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_HCI_TRACE_LEVEL=2
+# CONFIG_BT_LOG_BTM_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_BTM_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_BTM_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_BTM_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_BTM_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_BTM_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_BTM_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_BTM_TRACE_LEVEL=2
+# CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_L2CAP_TRACE_LEVEL=2
+# CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL=2
+# CONFIG_BT_LOG_SDP_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_SDP_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_SDP_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_SDP_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_SDP_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_SDP_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_SDP_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_SDP_TRACE_LEVEL=2
+# CONFIG_BT_LOG_GAP_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_GAP_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_GAP_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_GAP_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_GAP_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_GAP_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_GAP_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_GAP_TRACE_LEVEL=2
+# CONFIG_BT_LOG_BNEP_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_BNEP_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_BNEP_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_BNEP_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_BNEP_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_BNEP_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_BNEP_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_BNEP_TRACE_LEVEL=2
+# CONFIG_BT_LOG_PAN_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_PAN_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_PAN_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_PAN_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_PAN_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_PAN_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_PAN_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_PAN_TRACE_LEVEL=2
+# CONFIG_BT_LOG_A2D_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_A2D_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_A2D_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_A2D_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_A2D_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_A2D_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_A2D_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_A2D_TRACE_LEVEL=2
+# CONFIG_BT_LOG_AVDT_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_AVDT_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_AVDT_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_AVDT_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_AVDT_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_AVDT_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_AVDT_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_AVDT_TRACE_LEVEL=2
+# CONFIG_BT_LOG_AVCT_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_AVCT_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_AVCT_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_AVCT_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_AVCT_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_AVCT_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_AVCT_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_AVCT_TRACE_LEVEL=2
+# CONFIG_BT_LOG_AVRC_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_AVRC_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_AVRC_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_AVRC_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_AVRC_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_AVRC_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_AVRC_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_AVRC_TRACE_LEVEL=2
+# CONFIG_BT_LOG_MCA_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_MCA_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_MCA_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_MCA_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_MCA_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_MCA_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_MCA_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_MCA_TRACE_LEVEL=2
+# CONFIG_BT_LOG_HID_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_HID_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_HID_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_HID_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_HID_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_HID_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_HID_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_HID_TRACE_LEVEL=2
+# CONFIG_BT_LOG_APPL_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_APPL_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_APPL_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_APPL_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_APPL_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_APPL_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_APPL_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_APPL_TRACE_LEVEL=2
+# CONFIG_BT_LOG_GATT_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_GATT_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_GATT_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_GATT_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_GATT_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_GATT_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_GATT_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_GATT_TRACE_LEVEL=2
+# CONFIG_BT_LOG_SMP_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_SMP_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_SMP_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_SMP_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_SMP_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_SMP_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_SMP_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_SMP_TRACE_LEVEL=2
+# CONFIG_BT_LOG_BTIF_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_BTIF_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_BTIF_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_BTIF_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_BTIF_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_BTIF_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_BTIF_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_BTIF_TRACE_LEVEL=2
+# CONFIG_BT_LOG_BTC_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_BTC_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_BTC_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_BTC_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_BTC_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_BTC_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_BTC_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_BTC_TRACE_LEVEL=2
+# CONFIG_BT_LOG_OSI_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_OSI_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_OSI_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_OSI_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_OSI_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_OSI_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_OSI_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_OSI_TRACE_LEVEL=2
+# CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_NONE is not set
+# CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_ERROR is not set
+CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_WARNING=y
+# CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_API is not set
+# CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_EVENT is not set
+# CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BT_LOG_BLUFI_TRACE_LEVEL=2
 CONFIG_BT_ACL_CONNECTIONS=4
 CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST=y
 CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY=y
@@ -416,12 +592,8 @@ CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1
 CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2432
 CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10
 CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0
-CONFIG_FREERTOS_USE_TRACE_FACILITY=y
-CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y
-CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y
-CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y
-CONFIG_FREERTOS_RUN_TIME_STATS_USING_ESP_TIMER=y
-# CONFIG_FREERTOS_RUN_TIME_STATS_USING_CPU_CLK is not set
+# CONFIG_FREERTOS_USE_TRACE_FACILITY is not set
+# CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS is not set
 # CONFIG_FREERTOS_DEBUG_INTERNALS is not set
 CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER=y
 # CONFIG_FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE is not set
@@ -434,11 +606,11 @@ CONFIG_HEAP_TRACING_OFF=y
 # CONFIG_HEAP_TRACING is not set
 # CONFIG_LOG_DEFAULT_LEVEL_NONE is not set
 # CONFIG_LOG_DEFAULT_LEVEL_ERROR is not set
-CONFIG_LOG_DEFAULT_LEVEL_WARN=y
-# CONFIG_LOG_DEFAULT_LEVEL_INFO is not set
+# CONFIG_LOG_DEFAULT_LEVEL_WARN is not set
+CONFIG_LOG_DEFAULT_LEVEL_INFO=y
 # CONFIG_LOG_DEFAULT_LEVEL_DEBUG is not set
 # CONFIG_LOG_DEFAULT_LEVEL_VERBOSE is not set
-CONFIG_LOG_DEFAULT_LEVEL=2
+CONFIG_LOG_DEFAULT_LEVEL=3
 CONFIG_LOG_COLORS=y
 CONFIG_LWIP_LOCAL_HOSTNAME="squeezelite-esp32"
 # CONFIG_LWIP_L2_TO_L3_COPY is not set
@@ -707,6 +879,167 @@ CONFIG_BTU_TASK_STACK_SIZE=4096
 CONFIG_CLASSIC_BT_ENABLED=y
 CONFIG_A2DP_ENABLE=y
 # CONFIG_HFP_ENABLE is not set
+# CONFIG_HCI_TRACE_LEVEL_NONE is not set
+# CONFIG_HCI_TRACE_LEVEL_ERROR is not set
+CONFIG_HCI_TRACE_LEVEL_WARNING=y
+# CONFIG_HCI_TRACE_LEVEL_API is not set
+# CONFIG_HCI_TRACE_LEVEL_EVENT is not set
+# CONFIG_HCI_TRACE_LEVEL_DEBUG is not set
+# CONFIG_HCI_TRACE_LEVEL_VERBOSE is not set
+CONFIG_HCI_INITIAL_TRACE_LEVEL=2
+# CONFIG_BTM_TRACE_LEVEL_NONE is not set
+# CONFIG_BTM_TRACE_LEVEL_ERROR is not set
+CONFIG_BTM_TRACE_LEVEL_WARNING=y
+# CONFIG_BTM_TRACE_LEVEL_API is not set
+# CONFIG_BTM_TRACE_LEVEL_EVENT is not set
+# CONFIG_BTM_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BTM_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BTM_INITIAL_TRACE_LEVEL=2
+# CONFIG_L2CAP_TRACE_LEVEL_NONE is not set
+# CONFIG_L2CAP_TRACE_LEVEL_ERROR is not set
+CONFIG_L2CAP_TRACE_LEVEL_WARNING=y
+# CONFIG_L2CAP_TRACE_LEVEL_API is not set
+# CONFIG_L2CAP_TRACE_LEVEL_EVENT is not set
+# CONFIG_L2CAP_TRACE_LEVEL_DEBUG is not set
+# CONFIG_L2CAP_TRACE_LEVEL_VERBOSE is not set
+CONFIG_L2CAP_INITIAL_TRACE_LEVEL=2
+# CONFIG_RFCOMM_TRACE_LEVEL_NONE is not set
+# CONFIG_RFCOMM_TRACE_LEVEL_ERROR is not set
+CONFIG_RFCOMM_TRACE_LEVEL_WARNING=y
+# CONFIG_RFCOMM_TRACE_LEVEL_API is not set
+# CONFIG_RFCOMM_TRACE_LEVEL_EVENT is not set
+# CONFIG_RFCOMM_TRACE_LEVEL_DEBUG is not set
+# CONFIG_RFCOMM_TRACE_LEVEL_VERBOSE is not set
+CONFIG_RFCOMM_INITIAL_TRACE_LEVEL=2
+# CONFIG_SDP_TRACE_LEVEL_NONE is not set
+# CONFIG_SDP_TRACE_LEVEL_ERROR is not set
+CONFIG_SDP_TRACE_LEVEL_WARNING=y
+# CONFIG_SDP_TRACE_LEVEL_API is not set
+# CONFIG_SDP_TRACE_LEVEL_EVENT is not set
+# CONFIG_SDP_TRACE_LEVEL_DEBUG is not set
+# CONFIG_SDP_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BTH_LOG_SDP_INITIAL_TRACE_LEVEL=2
+# CONFIG_GAP_TRACE_LEVEL_NONE is not set
+# CONFIG_GAP_TRACE_LEVEL_ERROR is not set
+CONFIG_GAP_TRACE_LEVEL_WARNING=y
+# CONFIG_GAP_TRACE_LEVEL_API is not set
+# CONFIG_GAP_TRACE_LEVEL_EVENT is not set
+# CONFIG_GAP_TRACE_LEVEL_DEBUG is not set
+# CONFIG_GAP_TRACE_LEVEL_VERBOSE is not set
+CONFIG_GAP_INITIAL_TRACE_LEVEL=2
+CONFIG_BNEP_INITIAL_TRACE_LEVEL=2
+# CONFIG_PAN_TRACE_LEVEL_NONE is not set
+# CONFIG_PAN_TRACE_LEVEL_ERROR is not set
+CONFIG_PAN_TRACE_LEVEL_WARNING=y
+# CONFIG_PAN_TRACE_LEVEL_API is not set
+# CONFIG_PAN_TRACE_LEVEL_EVENT is not set
+# CONFIG_PAN_TRACE_LEVEL_DEBUG is not set
+# CONFIG_PAN_TRACE_LEVEL_VERBOSE is not set
+CONFIG_PAN_INITIAL_TRACE_LEVEL=2
+# CONFIG_A2D_TRACE_LEVEL_NONE is not set
+# CONFIG_A2D_TRACE_LEVEL_ERROR is not set
+CONFIG_A2D_TRACE_LEVEL_WARNING=y
+# CONFIG_A2D_TRACE_LEVEL_API is not set
+# CONFIG_A2D_TRACE_LEVEL_EVENT is not set
+# CONFIG_A2D_TRACE_LEVEL_DEBUG is not set
+# CONFIG_A2D_TRACE_LEVEL_VERBOSE is not set
+CONFIG_A2D_INITIAL_TRACE_LEVEL=2
+# CONFIG_AVDT_TRACE_LEVEL_NONE is not set
+# CONFIG_AVDT_TRACE_LEVEL_ERROR is not set
+CONFIG_AVDT_TRACE_LEVEL_WARNING=y
+# CONFIG_AVDT_TRACE_LEVEL_API is not set
+# CONFIG_AVDT_TRACE_LEVEL_EVENT is not set
+# CONFIG_AVDT_TRACE_LEVEL_DEBUG is not set
+# CONFIG_AVDT_TRACE_LEVEL_VERBOSE is not set
+CONFIG_AVDT_INITIAL_TRACE_LEVEL=2
+# CONFIG_AVCT_TRACE_LEVEL_NONE is not set
+# CONFIG_AVCT_TRACE_LEVEL_ERROR is not set
+CONFIG_AVCT_TRACE_LEVEL_WARNING=y
+# CONFIG_AVCT_TRACE_LEVEL_API is not set
+# CONFIG_AVCT_TRACE_LEVEL_EVENT is not set
+# CONFIG_AVCT_TRACE_LEVEL_DEBUG is not set
+# CONFIG_AVCT_TRACE_LEVEL_VERBOSE is not set
+CONFIG_AVCT_INITIAL_TRACE_LEVEL=2
+# CONFIG_AVRC_TRACE_LEVEL_NONE is not set
+# CONFIG_AVRC_TRACE_LEVEL_ERROR is not set
+CONFIG_AVRC_TRACE_LEVEL_WARNING=y
+# CONFIG_AVRC_TRACE_LEVEL_API is not set
+# CONFIG_AVRC_TRACE_LEVEL_EVENT is not set
+# CONFIG_AVRC_TRACE_LEVEL_DEBUG is not set
+# CONFIG_AVRC_TRACE_LEVEL_VERBOSE is not set
+CONFIG_AVRC_INITIAL_TRACE_LEVEL=2
+# CONFIG_MCA_TRACE_LEVEL_NONE is not set
+# CONFIG_MCA_TRACE_LEVEL_ERROR is not set
+CONFIG_MCA_TRACE_LEVEL_WARNING=y
+# CONFIG_MCA_TRACE_LEVEL_API is not set
+# CONFIG_MCA_TRACE_LEVEL_EVENT is not set
+# CONFIG_MCA_TRACE_LEVEL_DEBUG is not set
+# CONFIG_MCA_TRACE_LEVEL_VERBOSE is not set
+CONFIG_MCA_INITIAL_TRACE_LEVEL=2
+# CONFIG_HID_TRACE_LEVEL_NONE is not set
+# CONFIG_HID_TRACE_LEVEL_ERROR is not set
+CONFIG_HID_TRACE_LEVEL_WARNING=y
+# CONFIG_HID_TRACE_LEVEL_API is not set
+# CONFIG_HID_TRACE_LEVEL_EVENT is not set
+# CONFIG_HID_TRACE_LEVEL_DEBUG is not set
+# CONFIG_HID_TRACE_LEVEL_VERBOSE is not set
+CONFIG_HID_INITIAL_TRACE_LEVEL=2
+# CONFIG_APPL_TRACE_LEVEL_NONE is not set
+# CONFIG_APPL_TRACE_LEVEL_ERROR is not set
+CONFIG_APPL_TRACE_LEVEL_WARNING=y
+# CONFIG_APPL_TRACE_LEVEL_API is not set
+# CONFIG_APPL_TRACE_LEVEL_EVENT is not set
+# CONFIG_APPL_TRACE_LEVEL_DEBUG is not set
+# CONFIG_APPL_TRACE_LEVEL_VERBOSE is not set
+CONFIG_APPL_INITIAL_TRACE_LEVEL=2
+# CONFIG_GATT_TRACE_LEVEL_NONE is not set
+# CONFIG_GATT_TRACE_LEVEL_ERROR is not set
+CONFIG_GATT_TRACE_LEVEL_WARNING=y
+# CONFIG_GATT_TRACE_LEVEL_API is not set
+# CONFIG_GATT_TRACE_LEVEL_EVENT is not set
+# CONFIG_GATT_TRACE_LEVEL_DEBUG is not set
+# CONFIG_GATT_TRACE_LEVEL_VERBOSE is not set
+CONFIG_GATT_INITIAL_TRACE_LEVEL=2
+# CONFIG_SMP_TRACE_LEVEL_NONE is not set
+# CONFIG_SMP_TRACE_LEVEL_ERROR is not set
+CONFIG_SMP_TRACE_LEVEL_WARNING=y
+# CONFIG_SMP_TRACE_LEVEL_API is not set
+# CONFIG_SMP_TRACE_LEVEL_EVENT is not set
+# CONFIG_SMP_TRACE_LEVEL_DEBUG is not set
+# CONFIG_SMP_TRACE_LEVEL_VERBOSE is not set
+CONFIG_SMP_INITIAL_TRACE_LEVEL=2
+# CONFIG_BTIF_TRACE_LEVEL_NONE is not set
+# CONFIG_BTIF_TRACE_LEVEL_ERROR is not set
+CONFIG_BTIF_TRACE_LEVEL_WARNING=y
+# CONFIG_BTIF_TRACE_LEVEL_API is not set
+# CONFIG_BTIF_TRACE_LEVEL_EVENT is not set
+# CONFIG_BTIF_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BTIF_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BTIF_INITIAL_TRACE_LEVEL=2
+# CONFIG_BTC_TRACE_LEVEL_NONE is not set
+# CONFIG_BTC_TRACE_LEVEL_ERROR is not set
+CONFIG_BTC_TRACE_LEVEL_WARNING=y
+# CONFIG_BTC_TRACE_LEVEL_API is not set
+# CONFIG_BTC_TRACE_LEVEL_EVENT is not set
+# CONFIG_BTC_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BTC_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BTC_INITIAL_TRACE_LEVEL=2
+# CONFIG_OSI_TRACE_LEVEL_NONE is not set
+# CONFIG_OSI_TRACE_LEVEL_ERROR is not set
+CONFIG_OSI_TRACE_LEVEL_WARNING=y
+# CONFIG_OSI_TRACE_LEVEL_API is not set
+# CONFIG_OSI_TRACE_LEVEL_EVENT is not set
+# CONFIG_OSI_TRACE_LEVEL_DEBUG is not set
+# CONFIG_OSI_TRACE_LEVEL_VERBOSE is not set
+CONFIG_OSI_INITIAL_TRACE_LEVEL=2
+# CONFIG_BLUFI_TRACE_LEVEL_NONE is not set
+# CONFIG_BLUFI_TRACE_LEVEL_ERROR is not set
+CONFIG_BLUFI_TRACE_LEVEL_WARNING=y
+# CONFIG_BLUFI_TRACE_LEVEL_API is not set
+# CONFIG_BLUFI_TRACE_LEVEL_EVENT is not set
+# CONFIG_BLUFI_TRACE_LEVEL_DEBUG is not set
+# CONFIG_BLUFI_TRACE_LEVEL_VERBOSE is not set
+CONFIG_BLUFI_INITIAL_TRACE_LEVEL=2
 # CONFIG_BLE_HOST_QUEUE_CONGESTION_CHECK is not set
 CONFIG_SMP_ENABLE=y
 CONFIG_BLE_ESTABLISH_LINK_CONNECTION_TIMEOUT=30

Some files were not shown because too many files changed in this diff