appmap 0.71.0 → 0.72.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -2
- data/CHANGELOG.md +36 -0
- data/Rakefile +6 -17
- data/appmap.gemspec +0 -6
- data/ext/appmap/extconf.rb +1 -1
- data/lib/appmap/builtin_hooks/json.yml +6 -2
- data/lib/appmap/builtin_hooks/marshal.yml +8 -0
- data/lib/appmap/builtin_hooks/{yaml.yml → psych.yml} +9 -3
- data/lib/appmap/command/index.rb +1 -1
- data/lib/appmap/command/inspect.rb +1 -1
- data/lib/appmap/gem_hooks/activerecord.yml +2 -0
- data/lib/appmap/gem_hooks/rails.yml +2 -0
- data/lib/appmap/gem_hooks/railties.yml +2 -0
- data/lib/appmap/gem_hooks/sprockets.yml +2 -0
- data/lib/appmap/hook/method.rb +7 -2
- data/lib/appmap/node_cli.rb +2 -2
- data/lib/appmap/util.rb +9 -3
- data/lib/appmap/version.rb +1 -1
- data/package.json +1 -1
- data/release.sh +0 -1
- data/spec/config_spec.rb +86 -221
- data/spec/fixtures/depends/revoke_api_key.appmap.json +3 -3
- data/spec/fixtures/depends/user_page_scenario.appmap.json +2 -2
- data/spec/fixtures/hook/prepended_override.rb +14 -0
- data/spec/fixtures/rails6_users_app/Dockerfile +8 -1
- data/spec/fixtures/rails6_users_app/package.json +8 -0
- data/spec/fixtures/rails6_users_app/yarn.lock +2020 -0
- data/spec/hook_spec.rb +26 -0
- data/spec/rails_recording_spec.rb +2 -1
- data/spec/swagger/swagger_spec.rb +66 -13
- data/yarn.lock +1254 -86
- metadata +10 -3071
- data/node_modules/@appland/appmap/CHANGELOG.md +0 -136
- data/node_modules/@appland/appmap/package.json +0 -50
- data/node_modules/@appland/appmap/src/agentInstaller/buildToolInstallerBase.js +0 -28
- data/node_modules/@appland/appmap/src/agentInstaller/commandStruct.js +0 -17
- data/node_modules/@appland/appmap/src/agentInstaller/installAgentStep.js +0 -30
- data/node_modules/@appland/appmap/src/agentInstaller/javaAgentInstaller.js +0 -321
- data/node_modules/@appland/appmap/src/agentInstaller/pythonAgentInstaller.js +0 -174
- data/node_modules/@appland/appmap/src/agentInstaller/rubyAgentInstaller.js +0 -129
- data/node_modules/@appland/appmap/src/agentInstaller/types.d.ts +0 -76
- data/node_modules/@appland/appmap/src/appMapCatalog.js +0 -39
- data/node_modules/@appland/appmap/src/appland/getAppMap.js +0 -55
- data/node_modules/@appland/appmap/src/appland/listAppMaps.js +0 -58
- data/node_modules/@appland/appmap/src/appland/settings.js +0 -62
- data/node_modules/@appland/appmap/src/appland/types.d.ts +0 -16
- data/node_modules/@appland/appmap/src/cli.js +0 -729
- data/node_modules/@appland/appmap/src/database.js +0 -197
- data/node_modules/@appland/appmap/src/depends.js +0 -157
- data/node_modules/@appland/appmap/src/errors/abortError.js +0 -5
- data/node_modules/@appland/appmap/src/errors/validationError.js +0 -5
- data/node_modules/@appland/appmap/src/fingerprint/algorithms.js +0 -71
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/base.js +0 -58
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/classDependencies.js +0 -36
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/classes.js +0 -14
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/eventTree.js +0 -19
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/httpClientRequests.js +0 -18
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/httpServerRequests.js +0 -18
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/info.js +0 -55
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/labels.js +0 -10
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/packageDependencies.js +0 -36
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/packages.js +0 -14
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/sqlNormalized.js +0 -19
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/sqlTables.js +0 -24
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/trace.js +0 -57
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/unique.js +0 -8
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/update.js +0 -85
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize.js +0 -70
- data/node_modules/@appland/appmap/src/fingerprint/fingerprintDirectoryCommand.js +0 -30
- data/node_modules/@appland/appmap/src/fingerprint/fingerprintQueue.js +0 -30
- data/node_modules/@appland/appmap/src/fingerprint/fingerprintWatchCommand.js +0 -64
- data/node_modules/@appland/appmap/src/fingerprint/fingerprinter.js +0 -186
- data/node_modules/@appland/appmap/src/fingerprint/index.js +0 -24
- data/node_modules/@appland/appmap/src/functionStats.js +0 -168
- data/node_modules/@appland/appmap/src/inspect/fields.js +0 -66
- data/node_modules/@appland/appmap/src/inspect/filter.js +0 -105
- data/node_modules/@appland/appmap/src/inspect/home.js +0 -64
- data/node_modules/@appland/appmap/src/inspect/print.js +0 -231
- data/node_modules/@appland/appmap/src/inspect/reset.js +0 -10
- data/node_modules/@appland/appmap/src/inspect/types.d.ts +0 -11
- data/node_modules/@appland/appmap/src/inspect/undoFilter.js +0 -10
- data/node_modules/@appland/appmap/src/inspect.js +0 -7
- data/node_modules/@appland/appmap/src/inventoryCommand.js +0 -59
- data/node_modules/@appland/appmap/src/search/codeObjectMatcher.js +0 -75
- data/node_modules/@appland/appmap/src/search/constants.js +0 -5
- data/node_modules/@appland/appmap/src/search/findCodeObjects.js +0 -293
- data/node_modules/@appland/appmap/src/search/findEvents.js +0 -184
- data/node_modules/@appland/appmap/src/search/matchFilter.js +0 -65
- data/node_modules/@appland/appmap/src/search/matchSpec.js +0 -198
- data/node_modules/@appland/appmap/src/search/trigram.js +0 -107
- data/node_modules/@appland/appmap/src/search/types.d.ts +0 -107
- data/node_modules/@appland/appmap/src/search/utils.js +0 -4
- data/node_modules/@appland/appmap/src/swagger/README.md +0 -75
- data/node_modules/@appland/appmap/src/swagger/command.js +0 -42
- data/node_modules/@appland/appmap/src/swagger/method.js +0 -173
- data/node_modules/@appland/appmap/src/swagger/model.js +0 -54
- data/node_modules/@appland/appmap/src/swagger/path.js +0 -38
- data/node_modules/@appland/appmap/src/swagger/response.js +0 -34
- data/node_modules/@appland/appmap/src/swagger/schema.js +0 -38
- data/node_modules/@appland/appmap/src/swagger/securitySchemes.js +0 -60
- data/node_modules/@appland/appmap/src/swagger/settings.js +0 -9
- data/node_modules/@appland/appmap/src/swagger/util.js +0 -79
- data/node_modules/@appland/appmap/src/utils.js +0 -165
- data/node_modules/@appland/appmap/tests/unit/agentInstall/python.js +0 -0
- data/node_modules/@appland/appmap/tests/unit/agentInstall/python.spec.js +0 -109
- data/node_modules/@appland/appmap/tests/unit/depends.spec.js +0 -63
- data/node_modules/@appland/appmap/tests/unit/fingerprint/canonicalize.spec.js +0 -42
- data/node_modules/@appland/appmap/tests/unit/fingerprint/sql.spec.js +0 -40
- data/node_modules/@appland/appmap/tests/unit/fixtures/python/pip/requirements.txt +0 -2
- data/node_modules/@appland/appmap/tests/unit/fixtures/python/poetry/poetry.lock +0 -2
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/app/controllers/organizations_controller.rb +0 -1
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/app/models/configuration.rb +0 -1
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/app/models/show.rb +0 -1
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/app/models/user.rb +0 -1
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/canonicalize/revoke_api_key.info.json +0 -170
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/canonicalize/revoke_api_key.trace.json +0 -213
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/canonicalize/revoke_api_key.update.json +0 -54
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/revoke_api_key.appmap.json +0 -884
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/user_page_scenario.appmap.json +0 -1750
- data/node_modules/@appland/appmap/tests/unit/inspect.spec.js +0 -105
- data/node_modules/@appland/models/CHANGELOG.md +0 -90
- data/node_modules/@appland/models/README.md +0 -8
- data/node_modules/@appland/models/dist/index.cjs +0 -4250
- data/node_modules/@appland/models/dist/index.js +0 -4193
- data/node_modules/@appland/models/package.json +0 -50
- data/node_modules/@tootallnate/once/dist/index.d.ts +0 -14
- data/node_modules/@tootallnate/once/dist/index.js +0 -39
- data/node_modules/@tootallnate/once/dist/index.js.map +0 -1
- data/node_modules/@tootallnate/once/package.json +0 -45
- data/node_modules/abab/CHANGELOG.md +0 -45
- data/node_modules/abab/LICENSE.md +0 -13
- data/node_modules/abab/README.md +0 -51
- data/node_modules/abab/index.d.ts +0 -2
- data/node_modules/abab/index.js +0 -9
- data/node_modules/abab/lib/atob.js +0 -97
- data/node_modules/abab/lib/btoa.js +0 -58
- data/node_modules/abab/package.json +0 -42
- data/node_modules/acorn/CHANGELOG.md +0 -744
- data/node_modules/acorn/LICENSE +0 -21
- data/node_modules/acorn/README.md +0 -280
- data/node_modules/acorn/bin/acorn +0 -4
- data/node_modules/acorn/dist/acorn.d.ts +0 -211
- data/node_modules/acorn/dist/acorn.js +0 -5525
- data/node_modules/acorn/dist/acorn.mjs +0 -5494
- data/node_modules/acorn/dist/acorn.mjs.d.ts +0 -2
- data/node_modules/acorn/dist/bin.js +0 -65
- data/node_modules/acorn/package.json +0 -46
- data/node_modules/acorn-globals/LICENSE +0 -19
- data/node_modules/acorn-globals/README.md +0 -81
- data/node_modules/acorn-globals/index.js +0 -179
- data/node_modules/acorn-globals/node_modules/acorn/CHANGELOG.md +0 -620
- data/node_modules/acorn-globals/node_modules/acorn/LICENSE +0 -21
- data/node_modules/acorn-globals/node_modules/acorn/README.md +0 -269
- data/node_modules/acorn-globals/node_modules/acorn/bin/acorn +0 -4
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.d.ts +0 -209
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js +0 -5186
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js.map +0 -1
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs +0 -5155
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs.d.ts +0 -2
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs.map +0 -1
- data/node_modules/acorn-globals/node_modules/acorn/dist/bin.js +0 -64
- data/node_modules/acorn-globals/node_modules/acorn/package.json +0 -35
- data/node_modules/acorn-globals/package.json +0 -35
- data/node_modules/acorn-walk/CHANGELOG.md +0 -131
- data/node_modules/acorn-walk/LICENSE +0 -19
- data/node_modules/acorn-walk/README.md +0 -126
- data/node_modules/acorn-walk/dist/walk.d.ts +0 -112
- data/node_modules/acorn-walk/dist/walk.js +0 -463
- data/node_modules/acorn-walk/dist/walk.js.map +0 -1
- data/node_modules/acorn-walk/dist/walk.mjs +0 -443
- data/node_modules/acorn-walk/dist/walk.mjs.map +0 -1
- data/node_modules/acorn-walk/package.json +0 -34
- data/node_modules/agent-base/README.md +0 -145
- data/node_modules/agent-base/dist/src/index.d.ts +0 -78
- data/node_modules/agent-base/dist/src/index.js +0 -203
- data/node_modules/agent-base/dist/src/index.js.map +0 -1
- data/node_modules/agent-base/dist/src/promisify.d.ts +0 -4
- data/node_modules/agent-base/dist/src/promisify.js +0 -18
- data/node_modules/agent-base/dist/src/promisify.js.map +0 -1
- data/node_modules/agent-base/package.json +0 -64
- data/node_modules/agent-base/src/index.ts +0 -345
- data/node_modules/agent-base/src/promisify.ts +0 -33
- data/node_modules/ansi-regex/index.d.ts +0 -37
- data/node_modules/ansi-regex/index.js +0 -10
- data/node_modules/ansi-regex/license +0 -9
- data/node_modules/ansi-regex/package.json +0 -55
- data/node_modules/ansi-regex/readme.md +0 -78
- data/node_modules/ansi-styles/index.d.ts +0 -345
- data/node_modules/ansi-styles/index.js +0 -163
- data/node_modules/ansi-styles/license +0 -9
- data/node_modules/ansi-styles/package.json +0 -56
- data/node_modules/ansi-styles/readme.md +0 -152
- data/node_modules/anymatch/LICENSE +0 -15
- data/node_modules/anymatch/README.md +0 -87
- data/node_modules/anymatch/index.d.ts +0 -19
- data/node_modules/anymatch/index.js +0 -104
- data/node_modules/anymatch/package.json +0 -48
- data/node_modules/argparse/CHANGELOG.md +0 -185
- data/node_modules/argparse/LICENSE +0 -21
- data/node_modules/argparse/README.md +0 -257
- data/node_modules/argparse/index.js +0 -3
- data/node_modules/argparse/lib/action/append/constant.js +0 -47
- data/node_modules/argparse/lib/action/append.js +0 -53
- data/node_modules/argparse/lib/action/count.js +0 -40
- data/node_modules/argparse/lib/action/help.js +0 -47
- data/node_modules/argparse/lib/action/store/constant.js +0 -43
- data/node_modules/argparse/lib/action/store/false.js +0 -27
- data/node_modules/argparse/lib/action/store/true.js +0 -26
- data/node_modules/argparse/lib/action/store.js +0 -50
- data/node_modules/argparse/lib/action/subparsers.js +0 -149
- data/node_modules/argparse/lib/action/version.js +0 -47
- data/node_modules/argparse/lib/action.js +0 -146
- data/node_modules/argparse/lib/action_container.js +0 -482
- data/node_modules/argparse/lib/argparse.js +0 -14
- data/node_modules/argparse/lib/argument/error.js +0 -50
- data/node_modules/argparse/lib/argument/exclusive.js +0 -54
- data/node_modules/argparse/lib/argument/group.js +0 -75
- data/node_modules/argparse/lib/argument_parser.js +0 -1161
- data/node_modules/argparse/lib/const.js +0 -21
- data/node_modules/argparse/lib/help/added_formatters.js +0 -87
- data/node_modules/argparse/lib/help/formatter.js +0 -795
- data/node_modules/argparse/lib/namespace.js +0 -76
- data/node_modules/argparse/lib/utils.js +0 -57
- data/node_modules/argparse/package.json +0 -34
- data/node_modules/async/CHANGELOG.md +0 -331
- data/node_modules/async/LICENSE +0 -19
- data/node_modules/async/README.md +0 -60
- data/node_modules/async/all.js +0 -54
- data/node_modules/async/allLimit.js +0 -46
- data/node_modules/async/allSeries.js +0 -45
- data/node_modules/async/any.js +0 -56
- data/node_modules/async/anyLimit.js +0 -47
- data/node_modules/async/anySeries.js +0 -46
- data/node_modules/async/apply.js +0 -55
- data/node_modules/async/applyEach.js +0 -57
- data/node_modules/async/applyEachSeries.js +0 -37
- data/node_modules/async/asyncify.js +0 -118
- data/node_modules/async/auto.js +0 -267
- data/node_modules/async/autoInject.js +0 -156
- data/node_modules/async/bower.json +0 -17
- data/node_modules/async/cargo.js +0 -63
- data/node_modules/async/cargoQueue.js +0 -71
- data/node_modules/async/compose.js +0 -55
- data/node_modules/async/concat.js +0 -47
- data/node_modules/async/concatLimit.js +0 -60
- data/node_modules/async/concatSeries.js +0 -41
- data/node_modules/async/constant.js +0 -55
- data/node_modules/async/detect.js +0 -61
- data/node_modules/async/detectLimit.js +0 -48
- data/node_modules/async/detectSeries.js +0 -47
- data/node_modules/async/dir.js +0 -43
- data/node_modules/async/dist/async.js +0 -4846
- data/node_modules/async/dist/async.min.js +0 -1
- data/node_modules/async/dist/async.mjs +0 -4734
- data/node_modules/async/doDuring.js +0 -68
- data/node_modules/async/doUntil.js +0 -46
- data/node_modules/async/doWhilst.js +0 -68
- data/node_modules/async/during.js +0 -78
- data/node_modules/async/each.js +0 -88
- data/node_modules/async/eachLimit.js +0 -50
- data/node_modules/async/eachOf.js +0 -116
- data/node_modules/async/eachOfLimit.js +0 -47
- data/node_modules/async/eachOfSeries.js +0 -39
- data/node_modules/async/eachSeries.js +0 -44
- data/node_modules/async/ensureAsync.js +0 -67
- data/node_modules/async/every.js +0 -54
- data/node_modules/async/everyLimit.js +0 -46
- data/node_modules/async/everySeries.js +0 -45
- data/node_modules/async/filter.js +0 -53
- data/node_modules/async/filterLimit.js +0 -45
- data/node_modules/async/filterSeries.js +0 -43
- data/node_modules/async/find.js +0 -61
- data/node_modules/async/findLimit.js +0 -48
- data/node_modules/async/findSeries.js +0 -47
- data/node_modules/async/flatMap.js +0 -47
- data/node_modules/async/flatMapLimit.js +0 -60
- data/node_modules/async/flatMapSeries.js +0 -41
- data/node_modules/async/foldl.js +0 -77
- data/node_modules/async/foldr.js +0 -41
- data/node_modules/async/forEach.js +0 -88
- data/node_modules/async/forEachLimit.js +0 -50
- data/node_modules/async/forEachOf.js +0 -116
- data/node_modules/async/forEachOfLimit.js +0 -47
- data/node_modules/async/forEachOfSeries.js +0 -39
- data/node_modules/async/forEachSeries.js +0 -44
- data/node_modules/async/forever.js +0 -68
- data/node_modules/async/groupBy.js +0 -54
- data/node_modules/async/groupByLimit.js +0 -71
- data/node_modules/async/groupBySeries.js +0 -36
- data/node_modules/async/index.js +0 -588
- data/node_modules/async/inject.js +0 -77
- data/node_modules/async/internal/DoublyLinkedList.js +0 -92
- data/node_modules/async/internal/Heap.js +0 -120
- data/node_modules/async/internal/applyEach.js +0 -29
- data/node_modules/async/internal/asyncEachOfLimit.js +0 -75
- data/node_modules/async/internal/awaitify.js +0 -27
- data/node_modules/async/internal/breakLoop.js +0 -10
- data/node_modules/async/internal/consoleFunc.js +0 -27
- data/node_modules/async/internal/createTester.js +0 -40
- data/node_modules/async/internal/eachOfLimit.js +0 -90
- data/node_modules/async/internal/filter.js +0 -55
- data/node_modules/async/internal/getIterator.js +0 -11
- data/node_modules/async/internal/initialParams.js +0 -14
- data/node_modules/async/internal/isArrayLike.js +0 -10
- data/node_modules/async/internal/iterator.js +0 -54
- data/node_modules/async/internal/map.js +0 -30
- data/node_modules/async/internal/once.js +0 -17
- data/node_modules/async/internal/onlyOnce.js +0 -15
- data/node_modules/async/internal/parallel.js +0 -34
- data/node_modules/async/internal/promiseCallback.js +0 -23
- data/node_modules/async/internal/queue.js +0 -291
- data/node_modules/async/internal/range.js +0 -14
- data/node_modules/async/internal/reject.js +0 -26
- data/node_modules/async/internal/setImmediate.js +0 -30
- data/node_modules/async/internal/withoutIndex.js +0 -10
- data/node_modules/async/internal/wrapAsync.js +0 -34
- data/node_modules/async/log.js +0 -41
- data/node_modules/async/map.js +0 -62
- data/node_modules/async/mapLimit.js +0 -45
- data/node_modules/async/mapSeries.js +0 -44
- data/node_modules/async/mapValues.js +0 -62
- data/node_modules/async/mapValuesLimit.js +0 -61
- data/node_modules/async/mapValuesSeries.js +0 -37
- data/node_modules/async/memoize.js +0 -91
- data/node_modules/async/nextTick.js +0 -52
- data/node_modules/async/package.json +0 -82
- data/node_modules/async/parallel.js +0 -91
- data/node_modules/async/parallelLimit.js +0 -41
- data/node_modules/async/priorityQueue.js +0 -84
- data/node_modules/async/queue.js +0 -167
- data/node_modules/async/race.js +0 -67
- data/node_modules/async/reduce.js +0 -77
- data/node_modules/async/reduceRight.js +0 -41
- data/node_modules/async/reflect.js +0 -78
- data/node_modules/async/reflectAll.js +0 -93
- data/node_modules/async/reject.js +0 -53
- data/node_modules/async/rejectLimit.js +0 -45
- data/node_modules/async/rejectSeries.js +0 -43
- data/node_modules/async/retry.js +0 -159
- data/node_modules/async/retryable.js +0 -77
- data/node_modules/async/select.js +0 -53
- data/node_modules/async/selectLimit.js +0 -45
- data/node_modules/async/selectSeries.js +0 -43
- data/node_modules/async/seq.js +0 -79
- data/node_modules/async/series.js +0 -86
- data/node_modules/async/setImmediate.js +0 -45
- data/node_modules/async/some.js +0 -56
- data/node_modules/async/someLimit.js +0 -47
- data/node_modules/async/someSeries.js +0 -46
- data/node_modules/async/sortBy.js +0 -88
- data/node_modules/async/timeout.js +0 -89
- data/node_modules/async/times.js +0 -50
- data/node_modules/async/timesLimit.js +0 -43
- data/node_modules/async/timesSeries.js +0 -32
- data/node_modules/async/transform.js +0 -81
- data/node_modules/async/tryEach.js +0 -78
- data/node_modules/async/unmemoize.js +0 -25
- data/node_modules/async/until.js +0 -61
- data/node_modules/async/waterfall.js +0 -105
- data/node_modules/async/whilst.js +0 -78
- data/node_modules/async/wrapSync.js +0 -118
- data/node_modules/asynckit/LICENSE +0 -21
- data/node_modules/asynckit/README.md +0 -233
- data/node_modules/asynckit/bench.js +0 -76
- data/node_modules/asynckit/index.js +0 -6
- data/node_modules/asynckit/lib/abort.js +0 -29
- data/node_modules/asynckit/lib/async.js +0 -34
- data/node_modules/asynckit/lib/defer.js +0 -26
- data/node_modules/asynckit/lib/iterate.js +0 -75
- data/node_modules/asynckit/lib/readable_asynckit.js +0 -91
- data/node_modules/asynckit/lib/readable_parallel.js +0 -25
- data/node_modules/asynckit/lib/readable_serial.js +0 -25
- data/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
- data/node_modules/asynckit/lib/state.js +0 -37
- data/node_modules/asynckit/lib/streamify.js +0 -141
- data/node_modules/asynckit/lib/terminator.js +0 -29
- data/node_modules/asynckit/package.json +0 -63
- data/node_modules/asynckit/parallel.js +0 -43
- data/node_modules/asynckit/serial.js +0 -17
- data/node_modules/asynckit/serialOrdered.js +0 -75
- data/node_modules/asynckit/stream.js +0 -21
- data/node_modules/at-least-node/LICENSE +0 -6
- data/node_modules/at-least-node/README.md +0 -25
- data/node_modules/at-least-node/index.js +0 -5
- data/node_modules/at-least-node/package.json +0 -32
- data/node_modules/balanced-match/LICENSE.md +0 -21
- data/node_modules/balanced-match/README.md +0 -97
- data/node_modules/balanced-match/index.js +0 -62
- data/node_modules/balanced-match/package.json +0 -48
- data/node_modules/binary-extensions/binary-extensions.json +0 -260
- data/node_modules/binary-extensions/binary-extensions.json.d.ts +0 -3
- data/node_modules/binary-extensions/index.d.ts +0 -14
- data/node_modules/binary-extensions/index.js +0 -1
- data/node_modules/binary-extensions/license +0 -9
- data/node_modules/binary-extensions/package.json +0 -38
- data/node_modules/binary-extensions/readme.md +0 -41
- data/node_modules/brace-expansion/LICENSE +0 -21
- data/node_modules/brace-expansion/README.md +0 -129
- data/node_modules/brace-expansion/index.js +0 -201
- data/node_modules/brace-expansion/package.json +0 -47
- data/node_modules/braces/CHANGELOG.md +0 -184
- data/node_modules/braces/LICENSE +0 -21
- data/node_modules/braces/README.md +0 -593
- data/node_modules/braces/index.js +0 -170
- data/node_modules/braces/lib/compile.js +0 -57
- data/node_modules/braces/lib/constants.js +0 -57
- data/node_modules/braces/lib/expand.js +0 -113
- data/node_modules/braces/lib/parse.js +0 -333
- data/node_modules/braces/lib/stringify.js +0 -32
- data/node_modules/braces/lib/utils.js +0 -112
- data/node_modules/braces/package.json +0 -77
- data/node_modules/browser-process-hrtime/LICENSE +0 -9
- data/node_modules/browser-process-hrtime/README.md +0 -27
- data/node_modules/browser-process-hrtime/index.d.ts +0 -4
- data/node_modules/browser-process-hrtime/index.js +0 -28
- data/node_modules/browser-process-hrtime/package.json +0 -15
- data/node_modules/chokidar/LICENSE +0 -21
- data/node_modules/chokidar/README.md +0 -308
- data/node_modules/chokidar/index.js +0 -973
- data/node_modules/chokidar/lib/constants.js +0 -65
- data/node_modules/chokidar/lib/fsevents-handler.js +0 -524
- data/node_modules/chokidar/lib/nodefs-handler.js +0 -646
- data/node_modules/chokidar/package.json +0 -78
- data/node_modules/chokidar/types/index.d.ts +0 -187
- data/node_modules/cli-progress/CHANGES.md +0 -169
- data/node_modules/cli-progress/LICENSE.md +0 -24
- data/node_modules/cli-progress/README.md +0 -446
- data/node_modules/cli-progress/cli-progress.js +0 -21
- data/node_modules/cli-progress/lib/eta.js +0 -73
- data/node_modules/cli-progress/lib/format-bar.js +0 -11
- data/node_modules/cli-progress/lib/format-time.js +0 -34
- data/node_modules/cli-progress/lib/format-value.js +0 -22
- data/node_modules/cli-progress/lib/formatter.js +0 -80
- data/node_modules/cli-progress/lib/generic-bar.js +0 -212
- data/node_modules/cli-progress/lib/multi-bar.js +0 -201
- data/node_modules/cli-progress/lib/options.js +0 -95
- data/node_modules/cli-progress/lib/single-bar.js +0 -124
- data/node_modules/cli-progress/lib/terminal.js +0 -159
- data/node_modules/cli-progress/package.json +0 -46
- data/node_modules/cli-progress/presets/index.js +0 -11
- data/node_modules/cli-progress/presets/legacy.js +0 -6
- data/node_modules/cli-progress/presets/rect.js +0 -5
- data/node_modules/cli-progress/presets/shades-classic.js +0 -6
- data/node_modules/cli-progress/presets/shades-grey.js +0 -8
- data/node_modules/cliui/CHANGELOG.md +0 -121
- data/node_modules/cliui/LICENSE.txt +0 -14
- data/node_modules/cliui/README.md +0 -141
- data/node_modules/cliui/build/index.cjs +0 -302
- data/node_modules/cliui/build/lib/index.js +0 -287
- data/node_modules/cliui/build/lib/string-utils.js +0 -27
- data/node_modules/cliui/index.mjs +0 -13
- data/node_modules/cliui/package.json +0 -83
- data/node_modules/color-convert/CHANGELOG.md +0 -54
- data/node_modules/color-convert/LICENSE +0 -21
- data/node_modules/color-convert/README.md +0 -68
- data/node_modules/color-convert/conversions.js +0 -839
- data/node_modules/color-convert/index.js +0 -81
- data/node_modules/color-convert/package.json +0 -48
- data/node_modules/color-convert/route.js +0 -97
- data/node_modules/color-name/LICENSE +0 -8
- data/node_modules/color-name/README.md +0 -11
- data/node_modules/color-name/index.js +0 -152
- data/node_modules/color-name/package.json +0 -28
- data/node_modules/colors/LICENSE +0 -25
- data/node_modules/colors/README.md +0 -221
- data/node_modules/colors/examples/normal-usage.js +0 -82
- data/node_modules/colors/examples/safe-string.js +0 -79
- data/node_modules/colors/index.d.ts +0 -136
- data/node_modules/colors/lib/colors.js +0 -211
- data/node_modules/colors/lib/custom/trap.js +0 -46
- data/node_modules/colors/lib/custom/zalgo.js +0 -110
- data/node_modules/colors/lib/extendStringPrototype.js +0 -110
- data/node_modules/colors/lib/index.js +0 -13
- data/node_modules/colors/lib/maps/america.js +0 -10
- data/node_modules/colors/lib/maps/rainbow.js +0 -12
- data/node_modules/colors/lib/maps/random.js +0 -11
- data/node_modules/colors/lib/maps/zebra.js +0 -5
- data/node_modules/colors/lib/styles.js +0 -95
- data/node_modules/colors/lib/system/has-flag.js +0 -35
- data/node_modules/colors/lib/system/supports-colors.js +0 -151
- data/node_modules/colors/package.json +0 -45
- data/node_modules/colors/safe.d.ts +0 -48
- data/node_modules/colors/safe.js +0 -10
- data/node_modules/colors/themes/generic-logging.js +0 -12
- data/node_modules/combined-stream/License +0 -19
- data/node_modules/combined-stream/Readme.md +0 -138
- data/node_modules/combined-stream/lib/combined_stream.js +0 -208
- data/node_modules/combined-stream/package.json +0 -25
- data/node_modules/combined-stream/yarn.lock +0 -17
- data/node_modules/concat-map/LICENSE +0 -18
- data/node_modules/concat-map/README.markdown +0 -62
- data/node_modules/concat-map/example/map.js +0 -6
- data/node_modules/concat-map/index.js +0 -13
- data/node_modules/concat-map/package.json +0 -43
- data/node_modules/concat-map/test/map.js +0 -39
- data/node_modules/console-table-printer/CHANGELOG.md +0 -96
- data/node_modules/console-table-printer/LICENSE +0 -21
- data/node_modules/console-table-printer/README.md +0 -180
- data/node_modules/console-table-printer/dist/index.d.ts +0 -4
- data/node_modules/console-table-printer/dist/index.js +0 -10
- data/node_modules/console-table-printer/dist/src/console-table-printer.d.ts +0 -14
- data/node_modules/console-table-printer/dist/src/console-table-printer.js +0 -32
- data/node_modules/console-table-printer/dist/src/internalTable/input-converter.d.ts +0 -6
- data/node_modules/console-table-printer/dist/src/internalTable/input-converter.js +0 -15
- data/node_modules/console-table-printer/dist/src/internalTable/internal-table-printer.d.ts +0 -4
- data/node_modules/console-table-printer/dist/src/internalTable/internal-table-printer.js +0 -115
- data/node_modules/console-table-printer/dist/src/internalTable/internal-table.d.ts +0 -25
- data/node_modules/console-table-printer/dist/src/internalTable/internal-table.js +0 -80
- data/node_modules/console-table-printer/dist/src/internalTable/table-pre-processors.d.ts +0 -3
- data/node_modules/console-table-printer/dist/src/internalTable/table-pre-processors.js +0 -43
- data/node_modules/console-table-printer/dist/src/models/common.d.ts +0 -10
- data/node_modules/console-table-printer/dist/src/models/common.js +0 -2
- data/node_modules/console-table-printer/dist/src/models/external-table.d.ts +0 -26
- data/node_modules/console-table-printer/dist/src/models/external-table.js +0 -2
- data/node_modules/console-table-printer/dist/src/models/internal-table.d.ts +0 -21
- data/node_modules/console-table-printer/dist/src/models/internal-table.js +0 -2
- data/node_modules/console-table-printer/dist/src/utils/colored-console-line.d.ts +0 -8
- data/node_modules/console-table-printer/dist/src/utils/colored-console-line.js +0 -29
- data/node_modules/console-table-printer/dist/src/utils/console-utils.d.ts +0 -2
- data/node_modules/console-table-printer/dist/src/utils/console-utils.js +0 -8
- data/node_modules/console-table-printer/dist/src/utils/string-utils.d.ts +0 -4
- data/node_modules/console-table-printer/dist/src/utils/string-utils.js +0 -54
- data/node_modules/console-table-printer/dist/src/utils/table-constants.d.ts +0 -10
- data/node_modules/console-table-printer/dist/src/utils/table-constants.js +0 -49
- data/node_modules/console-table-printer/dist/src/utils/table-helpers.d.ts +0 -26
- data/node_modules/console-table-printer/dist/src/utils/table-helpers.js +0 -91
- data/node_modules/console-table-printer/package.json +0 -51
- data/node_modules/cross-env/CHANGELOG.md +0 -5
- data/node_modules/cross-env/LICENSE +0 -20
- data/node_modules/cross-env/README.md +0 -291
- data/node_modules/cross-env/package.json +0 -54
- data/node_modules/cross-env/src/bin/cross-env-shell.js +0 -5
- data/node_modules/cross-env/src/bin/cross-env.js +0 -5
- data/node_modules/cross-env/src/command.js +0 -32
- data/node_modules/cross-env/src/index.js +0 -95
- data/node_modules/cross-env/src/is-windows.js +0 -2
- data/node_modules/cross-env/src/variable.js +0 -69
- data/node_modules/cross-spawn/CHANGELOG.md +0 -130
- data/node_modules/cross-spawn/LICENSE +0 -21
- data/node_modules/cross-spawn/README.md +0 -96
- data/node_modules/cross-spawn/index.js +0 -39
- data/node_modules/cross-spawn/lib/enoent.js +0 -59
- data/node_modules/cross-spawn/lib/parse.js +0 -91
- data/node_modules/cross-spawn/lib/util/escape.js +0 -45
- data/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
- data/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
- data/node_modules/cross-spawn/package.json +0 -73
- data/node_modules/crypto-js/CONTRIBUTING.md +0 -28
- data/node_modules/crypto-js/LICENSE +0 -24
- data/node_modules/crypto-js/README.md +0 -249
- data/node_modules/crypto-js/aes.js +0 -234
- data/node_modules/crypto-js/bower.json +0 -35
- data/node_modules/crypto-js/cipher-core.js +0 -890
- data/node_modules/crypto-js/core.js +0 -797
- data/node_modules/crypto-js/crypto-js.js +0 -6059
- data/node_modules/crypto-js/docs/QuickStartGuide.wiki +0 -470
- data/node_modules/crypto-js/enc-base64.js +0 -136
- data/node_modules/crypto-js/enc-hex.js +0 -18
- data/node_modules/crypto-js/enc-latin1.js +0 -18
- data/node_modules/crypto-js/enc-utf16.js +0 -149
- data/node_modules/crypto-js/enc-utf8.js +0 -18
- data/node_modules/crypto-js/evpkdf.js +0 -134
- data/node_modules/crypto-js/format-hex.js +0 -66
- data/node_modules/crypto-js/format-openssl.js +0 -18
- data/node_modules/crypto-js/hmac-md5.js +0 -18
- data/node_modules/crypto-js/hmac-ripemd160.js +0 -18
- data/node_modules/crypto-js/hmac-sha1.js +0 -18
- data/node_modules/crypto-js/hmac-sha224.js +0 -18
- data/node_modules/crypto-js/hmac-sha256.js +0 -18
- data/node_modules/crypto-js/hmac-sha3.js +0 -18
- data/node_modules/crypto-js/hmac-sha384.js +0 -18
- data/node_modules/crypto-js/hmac-sha512.js +0 -18
- data/node_modules/crypto-js/hmac.js +0 -143
- data/node_modules/crypto-js/index.js +0 -18
- data/node_modules/crypto-js/lib-typedarrays.js +0 -76
- data/node_modules/crypto-js/md5.js +0 -268
- data/node_modules/crypto-js/mode-cfb.js +0 -80
- data/node_modules/crypto-js/mode-ctr-gladman.js +0 -116
- data/node_modules/crypto-js/mode-ctr.js +0 -58
- data/node_modules/crypto-js/mode-ecb.js +0 -40
- data/node_modules/crypto-js/mode-ofb.js +0 -54
- data/node_modules/crypto-js/package.json +0 -38
- data/node_modules/crypto-js/pad-ansix923.js +0 -49
- data/node_modules/crypto-js/pad-iso10126.js +0 -44
- data/node_modules/crypto-js/pad-iso97971.js +0 -40
- data/node_modules/crypto-js/pad-nopadding.js +0 -30
- data/node_modules/crypto-js/pad-pkcs7.js +0 -18
- data/node_modules/crypto-js/pad-zeropadding.js +0 -47
- data/node_modules/crypto-js/pbkdf2.js +0 -145
- data/node_modules/crypto-js/rabbit-legacy.js +0 -190
- data/node_modules/crypto-js/rabbit.js +0 -192
- data/node_modules/crypto-js/rc4.js +0 -139
- data/node_modules/crypto-js/ripemd160.js +0 -267
- data/node_modules/crypto-js/sha1.js +0 -150
- data/node_modules/crypto-js/sha224.js +0 -80
- data/node_modules/crypto-js/sha256.js +0 -199
- data/node_modules/crypto-js/sha3.js +0 -326
- data/node_modules/crypto-js/sha384.js +0 -83
- data/node_modules/crypto-js/sha512.js +0 -326
- data/node_modules/crypto-js/tripledes.js +0 -779
- data/node_modules/crypto-js/x64-core.js +0 -304
- data/node_modules/cssom/LICENSE.txt +0 -20
- data/node_modules/cssom/README.mdown +0 -67
- data/node_modules/cssom/lib/CSSDocumentRule.js +0 -39
- data/node_modules/cssom/lib/CSSFontFaceRule.js +0 -36
- data/node_modules/cssom/lib/CSSHostRule.js +0 -37
- data/node_modules/cssom/lib/CSSImportRule.js +0 -132
- data/node_modules/cssom/lib/CSSKeyframeRule.js +0 -37
- data/node_modules/cssom/lib/CSSKeyframesRule.js +0 -39
- data/node_modules/cssom/lib/CSSMediaRule.js +0 -41
- data/node_modules/cssom/lib/CSSOM.js +0 -3
- data/node_modules/cssom/lib/CSSRule.js +0 -43
- data/node_modules/cssom/lib/CSSStyleDeclaration.js +0 -148
- data/node_modules/cssom/lib/CSSStyleRule.js +0 -190
- data/node_modules/cssom/lib/CSSStyleSheet.js +0 -88
- data/node_modules/cssom/lib/CSSSupportsRule.js +0 -36
- data/node_modules/cssom/lib/CSSValue.js +0 -43
- data/node_modules/cssom/lib/CSSValueExpression.js +0 -344
- data/node_modules/cssom/lib/MatcherList.js +0 -62
- data/node_modules/cssom/lib/MediaList.js +0 -61
- data/node_modules/cssom/lib/StyleSheet.js +0 -17
- data/node_modules/cssom/lib/clone.js +0 -71
- data/node_modules/cssom/lib/index.js +0 -21
- data/node_modules/cssom/lib/parse.js +0 -463
- data/node_modules/cssom/package.json +0 -18
- data/node_modules/cssstyle/LICENSE +0 -20
- data/node_modules/cssstyle/README.md +0 -15
- data/node_modules/cssstyle/lib/CSSStyleDeclaration.js +0 -260
- data/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js +0 -556
- data/node_modules/cssstyle/lib/allExtraProperties.js +0 -67
- data/node_modules/cssstyle/lib/allProperties.js +0 -462
- data/node_modules/cssstyle/lib/allWebkitProperties.js +0 -194
- data/node_modules/cssstyle/lib/constants.js +0 -6
- data/node_modules/cssstyle/lib/implementedProperties.js +0 -90
- data/node_modules/cssstyle/lib/named_colors.json +0 -152
- data/node_modules/cssstyle/lib/parsers.js +0 -722
- data/node_modules/cssstyle/lib/parsers.test.js +0 -139
- data/node_modules/cssstyle/lib/properties/azimuth.js +0 -67
- data/node_modules/cssstyle/lib/properties/background.js +0 -19
- data/node_modules/cssstyle/lib/properties/backgroundAttachment.js +0 -24
- data/node_modules/cssstyle/lib/properties/backgroundColor.js +0 -36
- data/node_modules/cssstyle/lib/properties/backgroundImage.js +0 -32
- data/node_modules/cssstyle/lib/properties/backgroundPosition.js +0 -58
- data/node_modules/cssstyle/lib/properties/backgroundRepeat.js +0 -32
- data/node_modules/cssstyle/lib/properties/border.js +0 -33
- data/node_modules/cssstyle/lib/properties/borderBottom.js +0 -17
- data/node_modules/cssstyle/lib/properties/borderBottomColor.js +0 -16
- data/node_modules/cssstyle/lib/properties/borderBottomStyle.js +0 -21
- data/node_modules/cssstyle/lib/properties/borderBottomWidth.js +0 -16
- data/node_modules/cssstyle/lib/properties/borderCollapse.js +0 -26
- data/node_modules/cssstyle/lib/properties/borderColor.js +0 -30
- data/node_modules/cssstyle/lib/properties/borderLeft.js +0 -17
- data/node_modules/cssstyle/lib/properties/borderLeftColor.js +0 -16
- data/node_modules/cssstyle/lib/properties/borderLeftStyle.js +0 -21
- data/node_modules/cssstyle/lib/properties/borderLeftWidth.js +0 -16
- data/node_modules/cssstyle/lib/properties/borderRight.js +0 -17
- data/node_modules/cssstyle/lib/properties/borderRightColor.js +0 -16
- data/node_modules/cssstyle/lib/properties/borderRightStyle.js +0 -21
- data/node_modules/cssstyle/lib/properties/borderRightWidth.js +0 -16
- data/node_modules/cssstyle/lib/properties/borderSpacing.js +0 -41
- data/node_modules/cssstyle/lib/properties/borderStyle.js +0 -38
- data/node_modules/cssstyle/lib/properties/borderTop.js +0 -17
- data/node_modules/cssstyle/lib/properties/borderTopColor.js +0 -16
- data/node_modules/cssstyle/lib/properties/borderTopStyle.js +0 -21
- data/node_modules/cssstyle/lib/properties/borderTopWidth.js +0 -17
- data/node_modules/cssstyle/lib/properties/borderWidth.js +0 -46
- data/node_modules/cssstyle/lib/properties/bottom.js +0 -14
- data/node_modules/cssstyle/lib/properties/clear.js +0 -16
- data/node_modules/cssstyle/lib/properties/clip.js +0 -47
- data/node_modules/cssstyle/lib/properties/color.js +0 -14
- data/node_modules/cssstyle/lib/properties/cssFloat.js +0 -12
- data/node_modules/cssstyle/lib/properties/flex.js +0 -45
- data/node_modules/cssstyle/lib/properties/flexBasis.js +0 -28
- data/node_modules/cssstyle/lib/properties/flexGrow.js +0 -19
- data/node_modules/cssstyle/lib/properties/flexShrink.js +0 -19
- data/node_modules/cssstyle/lib/properties/float.js +0 -12
- data/node_modules/cssstyle/lib/properties/floodColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/font.js +0 -43
- data/node_modules/cssstyle/lib/properties/fontFamily.js +0 -33
- data/node_modules/cssstyle/lib/properties/fontSize.js +0 -38
- data/node_modules/cssstyle/lib/properties/fontStyle.js +0 -18
- data/node_modules/cssstyle/lib/properties/fontVariant.js +0 -18
- data/node_modules/cssstyle/lib/properties/fontWeight.js +0 -33
- data/node_modules/cssstyle/lib/properties/height.js +0 -24
- data/node_modules/cssstyle/lib/properties/left.js +0 -14
- data/node_modules/cssstyle/lib/properties/lightingColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/lineHeight.js +0 -26
- data/node_modules/cssstyle/lib/properties/margin.js +0 -68
- data/node_modules/cssstyle/lib/properties/marginBottom.js +0 -13
- data/node_modules/cssstyle/lib/properties/marginLeft.js +0 -13
- data/node_modules/cssstyle/lib/properties/marginRight.js +0 -13
- data/node_modules/cssstyle/lib/properties/marginTop.js +0 -13
- data/node_modules/cssstyle/lib/properties/opacity.js +0 -14
- data/node_modules/cssstyle/lib/properties/outlineColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/padding.js +0 -61
- data/node_modules/cssstyle/lib/properties/paddingBottom.js +0 -13
- data/node_modules/cssstyle/lib/properties/paddingLeft.js +0 -13
- data/node_modules/cssstyle/lib/properties/paddingRight.js +0 -13
- data/node_modules/cssstyle/lib/properties/paddingTop.js +0 -13
- data/node_modules/cssstyle/lib/properties/right.js +0 -14
- data/node_modules/cssstyle/lib/properties/stopColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/textLineThroughColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/textOverlineColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/textUnderlineColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/top.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitBorderAfterColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitBorderBeforeColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitBorderEndColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitBorderStartColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitColumnRuleColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitMatchNearestMailBlockquoteColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitTapHighlightColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitTextEmphasisColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitTextFillColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitTextStrokeColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/width.js +0 -24
- data/node_modules/cssstyle/lib/properties.js +0 -1833
- data/node_modules/cssstyle/lib/utils/colorSpace.js +0 -21
- data/node_modules/cssstyle/lib/utils/getBasicPropertyDescriptor.js +0 -14
- data/node_modules/cssstyle/node_modules/cssom/LICENSE.txt +0 -20
- data/node_modules/cssstyle/node_modules/cssom/README.mdown +0 -67
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSDocumentRule.js +0 -39
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSFontFaceRule.js +0 -36
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSHostRule.js +0 -37
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSImportRule.js +0 -132
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSKeyframeRule.js +0 -37
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSKeyframesRule.js +0 -39
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSMediaRule.js +0 -41
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSOM.js +0 -3
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSRule.js +0 -43
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSStyleDeclaration.js +0 -148
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSStyleRule.js +0 -190
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSStyleSheet.js +0 -88
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSSupportsRule.js +0 -36
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSValue.js +0 -43
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSValueExpression.js +0 -344
- data/node_modules/cssstyle/node_modules/cssom/lib/MatcherList.js +0 -62
- data/node_modules/cssstyle/node_modules/cssom/lib/MediaList.js +0 -61
- data/node_modules/cssstyle/node_modules/cssom/lib/StyleSheet.js +0 -17
- data/node_modules/cssstyle/node_modules/cssom/lib/clone.js +0 -82
- data/node_modules/cssstyle/node_modules/cssom/lib/index.js +0 -21
- data/node_modules/cssstyle/node_modules/cssom/lib/parse.js +0 -464
- data/node_modules/cssstyle/node_modules/cssom/package.json +0 -18
- data/node_modules/cssstyle/package.json +0 -72
- data/node_modules/data-urls/LICENSE.txt +0 -7
- data/node_modules/data-urls/README.md +0 -64
- data/node_modules/data-urls/lib/parser.js +0 -74
- data/node_modules/data-urls/lib/utils.js +0 -23
- data/node_modules/data-urls/package.json +0 -53
- data/node_modules/debug/LICENSE +0 -19
- data/node_modules/debug/README.md +0 -455
- data/node_modules/debug/package.json +0 -59
- data/node_modules/debug/src/browser.js +0 -269
- data/node_modules/debug/src/common.js +0 -274
- data/node_modules/debug/src/index.js +0 -10
- data/node_modules/debug/src/node.js +0 -263
- data/node_modules/decimal.js/CHANGELOG.md +0 -231
- data/node_modules/decimal.js/LICENCE.md +0 -23
- data/node_modules/decimal.js/README.md +0 -246
- data/node_modules/decimal.js/decimal.d.ts +0 -300
- data/node_modules/decimal.js/decimal.js +0 -4934
- data/node_modules/decimal.js/decimal.mjs +0 -4898
- data/node_modules/decimal.js/package.json +0 -40
- data/node_modules/deep-is/LICENSE +0 -22
- data/node_modules/deep-is/README.markdown +0 -70
- data/node_modules/deep-is/example/cmp.js +0 -11
- data/node_modules/deep-is/index.js +0 -102
- data/node_modules/deep-is/package.json +0 -61
- data/node_modules/deep-is/test/NaN.js +0 -16
- data/node_modules/deep-is/test/cmp.js +0 -23
- data/node_modules/deep-is/test/neg-vs-pos-0.js +0 -15
- data/node_modules/delayed-stream/License +0 -19
- data/node_modules/delayed-stream/Makefile +0 -7
- data/node_modules/delayed-stream/Readme.md +0 -141
- data/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
- data/node_modules/delayed-stream/package.json +0 -27
- data/node_modules/diff/CONTRIBUTING.md +0 -39
- data/node_modules/diff/LICENSE +0 -31
- data/node_modules/diff/README.md +0 -208
- data/node_modules/diff/dist/diff.js +0 -1582
- data/node_modules/diff/lib/convert/dmp.js +0 -32
- data/node_modules/diff/lib/convert/xml.js +0 -42
- data/node_modules/diff/lib/diff/array.js +0 -45
- data/node_modules/diff/lib/diff/base.js +0 -304
- data/node_modules/diff/lib/diff/character.js +0 -37
- data/node_modules/diff/lib/diff/css.js +0 -41
- data/node_modules/diff/lib/diff/json.js +0 -163
- data/node_modules/diff/lib/diff/line.js +0 -89
- data/node_modules/diff/lib/diff/sentence.js +0 -41
- data/node_modules/diff/lib/diff/word.js +0 -108
- data/node_modules/diff/lib/index.es6.js +0 -1553
- data/node_modules/diff/lib/index.js +0 -216
- data/node_modules/diff/lib/index.mjs +0 -1553
- data/node_modules/diff/lib/patch/apply.js +0 -238
- data/node_modules/diff/lib/patch/create.js +0 -267
- data/node_modules/diff/lib/patch/merge.js +0 -613
- data/node_modules/diff/lib/patch/parse.js +0 -167
- data/node_modules/diff/lib/util/array.js +0 -32
- data/node_modules/diff/lib/util/distance-iterator.js +0 -57
- data/node_modules/diff/lib/util/params.js +0 -24
- data/node_modules/diff/package.json +0 -87
- data/node_modules/diff/release-notes.md +0 -303
- data/node_modules/diff/runtime.js +0 -3
- data/node_modules/domexception/LICENSE.txt +0 -21
- data/node_modules/domexception/README.md +0 -31
- data/node_modules/domexception/index.js +0 -7
- data/node_modules/domexception/lib/DOMException-impl.js +0 -22
- data/node_modules/domexception/lib/DOMException.js +0 -205
- data/node_modules/domexception/lib/legacy-error-codes.json +0 -27
- data/node_modules/domexception/lib/utils.js +0 -115
- data/node_modules/domexception/node_modules/webidl-conversions/LICENSE.md +0 -12
- data/node_modules/domexception/node_modules/webidl-conversions/README.md +0 -79
- data/node_modules/domexception/node_modules/webidl-conversions/lib/index.js +0 -361
- data/node_modules/domexception/node_modules/webidl-conversions/package.json +0 -30
- data/node_modules/domexception/package.json +0 -42
- data/node_modules/domexception/webidl2js-wrapper.js +0 -15
- data/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- data/node_modules/emoji-regex/README.md +0 -73
- data/node_modules/emoji-regex/es2015/index.js +0 -6
- data/node_modules/emoji-regex/es2015/text.js +0 -6
- data/node_modules/emoji-regex/index.d.ts +0 -23
- data/node_modules/emoji-regex/index.js +0 -6
- data/node_modules/emoji-regex/package.json +0 -50
- data/node_modules/emoji-regex/text.js +0 -6
- data/node_modules/escalade/dist/index.js +0 -22
- data/node_modules/escalade/dist/index.mjs +0 -22
- data/node_modules/escalade/index.d.ts +0 -3
- data/node_modules/escalade/license +0 -9
- data/node_modules/escalade/package.json +0 -61
- data/node_modules/escalade/readme.md +0 -211
- data/node_modules/escalade/sync/index.d.ts +0 -2
- data/node_modules/escalade/sync/index.js +0 -18
- data/node_modules/escalade/sync/index.mjs +0 -18
- data/node_modules/escodegen/LICENSE.BSD +0 -21
- data/node_modules/escodegen/README.md +0 -84
- data/node_modules/escodegen/bin/escodegen.js +0 -77
- data/node_modules/escodegen/bin/esgenerate.js +0 -64
- data/node_modules/escodegen/escodegen.js +0 -2647
- data/node_modules/escodegen/package.json +0 -62
- data/node_modules/esprima/ChangeLog +0 -235
- data/node_modules/esprima/LICENSE.BSD +0 -21
- data/node_modules/esprima/README.md +0 -46
- data/node_modules/esprima/bin/esparse.js +0 -139
- data/node_modules/esprima/bin/esvalidate.js +0 -236
- data/node_modules/esprima/dist/esprima.js +0 -6709
- data/node_modules/esprima/package.json +0 -112
- data/node_modules/estraverse/LICENSE.BSD +0 -19
- data/node_modules/estraverse/README.md +0 -153
- data/node_modules/estraverse/estraverse.js +0 -801
- data/node_modules/estraverse/gulpfile.js +0 -70
- data/node_modules/estraverse/package.json +0 -40
- data/node_modules/esutils/LICENSE.BSD +0 -19
- data/node_modules/esutils/README.md +0 -174
- data/node_modules/esutils/lib/ast.js +0 -144
- data/node_modules/esutils/lib/code.js +0 -135
- data/node_modules/esutils/lib/keyword.js +0 -165
- data/node_modules/esutils/lib/utils.js +0 -33
- data/node_modules/esutils/package.json +0 -44
- data/node_modules/fast-levenshtein/LICENSE.md +0 -25
- data/node_modules/fast-levenshtein/README.md +0 -104
- data/node_modules/fast-levenshtein/levenshtein.js +0 -136
- data/node_modules/fast-levenshtein/package.json +0 -39
- data/node_modules/fill-range/LICENSE +0 -21
- data/node_modules/fill-range/README.md +0 -237
- data/node_modules/fill-range/index.js +0 -249
- data/node_modules/fill-range/package.json +0 -69
- data/node_modules/form-data/License +0 -19
- data/node_modules/form-data/README.md.bak +0 -356
- data/node_modules/form-data/Readme.md +0 -356
- data/node_modules/form-data/index.d.ts +0 -62
- data/node_modules/form-data/lib/browser.js +0 -2
- data/node_modules/form-data/lib/form_data.js +0 -498
- data/node_modules/form-data/lib/populate.js +0 -10
- data/node_modules/form-data/package.json +0 -68
- data/node_modules/fs-extra/CHANGELOG.md +0 -902
- data/node_modules/fs-extra/LICENSE +0 -15
- data/node_modules/fs-extra/README.md +0 -264
- data/node_modules/fs-extra/lib/copy/copy.js +0 -232
- data/node_modules/fs-extra/lib/copy/index.js +0 -6
- data/node_modules/fs-extra/lib/copy-sync/copy-sync.js +0 -166
- data/node_modules/fs-extra/lib/copy-sync/index.js +0 -5
- data/node_modules/fs-extra/lib/empty/index.js +0 -48
- data/node_modules/fs-extra/lib/ensure/file.js +0 -69
- data/node_modules/fs-extra/lib/ensure/index.js +0 -23
- data/node_modules/fs-extra/lib/ensure/link.js +0 -61
- data/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -99
- data/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -31
- data/node_modules/fs-extra/lib/ensure/symlink.js +0 -63
- data/node_modules/fs-extra/lib/fs/index.js +0 -130
- data/node_modules/fs-extra/lib/index.js +0 -27
- data/node_modules/fs-extra/lib/json/index.js +0 -16
- data/node_modules/fs-extra/lib/json/jsonfile.js +0 -11
- data/node_modules/fs-extra/lib/json/output-json-sync.js +0 -12
- data/node_modules/fs-extra/lib/json/output-json.js +0 -12
- data/node_modules/fs-extra/lib/mkdirs/index.js +0 -14
- data/node_modules/fs-extra/lib/mkdirs/make-dir.js +0 -141
- data/node_modules/fs-extra/lib/move/index.js +0 -6
- data/node_modules/fs-extra/lib/move/move.js +0 -65
- data/node_modules/fs-extra/lib/move-sync/index.js +0 -5
- data/node_modules/fs-extra/lib/move-sync/move-sync.js +0 -47
- data/node_modules/fs-extra/lib/output/index.js +0 -40
- data/node_modules/fs-extra/lib/path-exists/index.js +0 -12
- data/node_modules/fs-extra/lib/remove/index.js +0 -9
- data/node_modules/fs-extra/lib/remove/rimraf.js +0 -302
- data/node_modules/fs-extra/lib/util/stat.js +0 -139
- data/node_modules/fs-extra/lib/util/utimes.js +0 -26
- data/node_modules/fs-extra/package.json +0 -70
- data/node_modules/fs.realpath/LICENSE +0 -43
- data/node_modules/fs.realpath/README.md +0 -33
- data/node_modules/fs.realpath/index.js +0 -66
- data/node_modules/fs.realpath/old.js +0 -303
- data/node_modules/fs.realpath/package.json +0 -26
- data/node_modules/get-caller-file/LICENSE.md +0 -6
- data/node_modules/get-caller-file/README.md +0 -41
- data/node_modules/get-caller-file/index.d.ts +0 -2
- data/node_modules/get-caller-file/index.js +0 -22
- data/node_modules/get-caller-file/index.js.map +0 -1
- data/node_modules/get-caller-file/package.json +0 -42
- data/node_modules/glob/LICENSE +0 -21
- data/node_modules/glob/README.md +0 -375
- data/node_modules/glob/changelog.md +0 -67
- data/node_modules/glob/common.js +0 -234
- data/node_modules/glob/glob.js +0 -788
- data/node_modules/glob/package.json +0 -51
- data/node_modules/glob/sync.js +0 -484
- data/node_modules/glob-parent/CHANGELOG.md +0 -110
- data/node_modules/glob-parent/LICENSE +0 -15
- data/node_modules/glob-parent/README.md +0 -137
- data/node_modules/glob-parent/index.js +0 -42
- data/node_modules/glob-parent/package.json +0 -48
- data/node_modules/graceful-fs/LICENSE +0 -15
- data/node_modules/graceful-fs/README.md +0 -133
- data/node_modules/graceful-fs/clone.js +0 -23
- data/node_modules/graceful-fs/graceful-fs.js +0 -373
- data/node_modules/graceful-fs/legacy-streams.js +0 -118
- data/node_modules/graceful-fs/package.json +0 -50
- data/node_modules/graceful-fs/polyfills.js +0 -346
- data/node_modules/html-encoding-sniffer/LICENSE.txt +0 -7
- data/node_modules/html-encoding-sniffer/README.md +0 -38
- data/node_modules/html-encoding-sniffer/lib/html-encoding-sniffer.js +0 -295
- data/node_modules/html-encoding-sniffer/package.json +0 -30
- data/node_modules/http-proxy-agent/README.md +0 -74
- data/node_modules/http-proxy-agent/dist/agent.d.ts +0 -32
- data/node_modules/http-proxy-agent/dist/agent.js +0 -145
- data/node_modules/http-proxy-agent/dist/agent.js.map +0 -1
- data/node_modules/http-proxy-agent/dist/index.d.ts +0 -21
- data/node_modules/http-proxy-agent/dist/index.js +0 -14
- data/node_modules/http-proxy-agent/dist/index.js.map +0 -1
- data/node_modules/http-proxy-agent/package.json +0 -57
- data/node_modules/https-proxy-agent/README.md +0 -137
- data/node_modules/https-proxy-agent/dist/agent.d.ts +0 -30
- data/node_modules/https-proxy-agent/dist/agent.js +0 -180
- data/node_modules/https-proxy-agent/dist/agent.js.map +0 -1
- data/node_modules/https-proxy-agent/dist/index.d.ts +0 -23
- data/node_modules/https-proxy-agent/dist/index.js +0 -14
- data/node_modules/https-proxy-agent/dist/index.js.map +0 -1
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +0 -7
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -66
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +0 -1
- data/node_modules/https-proxy-agent/package.json +0 -56
- data/node_modules/iconv-lite/Changelog.md +0 -162
- data/node_modules/iconv-lite/LICENSE +0 -21
- data/node_modules/iconv-lite/README.md +0 -156
- data/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
- data/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
- data/node_modules/iconv-lite/encodings/index.js +0 -22
- data/node_modules/iconv-lite/encodings/internal.js +0 -188
- data/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
- data/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
- data/node_modules/iconv-lite/encodings/sbcs-data.js +0 -174
- data/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
- data/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
- data/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
- data/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
- data/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
- data/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
- data/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
- data/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
- data/node_modules/iconv-lite/encodings/utf16.js +0 -177
- data/node_modules/iconv-lite/encodings/utf7.js +0 -290
- data/node_modules/iconv-lite/lib/bom-handling.js +0 -52
- data/node_modules/iconv-lite/lib/extend-node.js +0 -217
- data/node_modules/iconv-lite/lib/index.d.ts +0 -24
- data/node_modules/iconv-lite/lib/index.js +0 -153
- data/node_modules/iconv-lite/lib/streams.js +0 -121
- data/node_modules/iconv-lite/package.json +0 -46
- data/node_modules/inflight/LICENSE +0 -15
- data/node_modules/inflight/README.md +0 -37
- data/node_modules/inflight/inflight.js +0 -54
- data/node_modules/inflight/package.json +0 -29
- data/node_modules/inherits/LICENSE +0 -16
- data/node_modules/inherits/README.md +0 -42
- data/node_modules/inherits/inherits.js +0 -9
- data/node_modules/inherits/inherits_browser.js +0 -27
- data/node_modules/inherits/package.json +0 -29
- data/node_modules/is-binary-path/index.d.ts +0 -17
- data/node_modules/is-binary-path/index.js +0 -7
- data/node_modules/is-binary-path/license +0 -9
- data/node_modules/is-binary-path/package.json +0 -40
- data/node_modules/is-binary-path/readme.md +0 -34
- data/node_modules/is-extglob/LICENSE +0 -21
- data/node_modules/is-extglob/README.md +0 -107
- data/node_modules/is-extglob/index.js +0 -20
- data/node_modules/is-extglob/package.json +0 -69
- data/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
- data/node_modules/is-fullwidth-code-point/index.js +0 -50
- data/node_modules/is-fullwidth-code-point/license +0 -9
- data/node_modules/is-fullwidth-code-point/package.json +0 -42
- data/node_modules/is-fullwidth-code-point/readme.md +0 -39
- data/node_modules/is-glob/LICENSE +0 -21
- data/node_modules/is-glob/README.md +0 -206
- data/node_modules/is-glob/index.js +0 -48
- data/node_modules/is-glob/package.json +0 -81
- data/node_modules/is-number/LICENSE +0 -21
- data/node_modules/is-number/README.md +0 -187
- data/node_modules/is-number/index.js +0 -18
- data/node_modules/is-number/package.json +0 -82
- data/node_modules/is-potential-custom-element-name/LICENSE-MIT.txt +0 -20
- data/node_modules/is-potential-custom-element-name/README.md +0 -40
- data/node_modules/is-potential-custom-element-name/index.js +0 -9
- data/node_modules/is-potential-custom-element-name/package.json +0 -35
- data/node_modules/isexe/LICENSE +0 -15
- data/node_modules/isexe/README.md +0 -51
- data/node_modules/isexe/index.js +0 -57
- data/node_modules/isexe/mode.js +0 -41
- data/node_modules/isexe/package.json +0 -31
- data/node_modules/isexe/test/basic.js +0 -221
- data/node_modules/isexe/windows.js +0 -42
- data/node_modules/js-yaml/CHANGELOG.md +0 -557
- data/node_modules/js-yaml/LICENSE +0 -21
- data/node_modules/js-yaml/README.md +0 -299
- data/node_modules/js-yaml/bin/js-yaml.js +0 -132
- data/node_modules/js-yaml/dist/js-yaml.js +0 -3989
- data/node_modules/js-yaml/dist/js-yaml.min.js +0 -1
- data/node_modules/js-yaml/index.js +0 -7
- data/node_modules/js-yaml/lib/js-yaml/common.js +0 -59
- data/node_modules/js-yaml/lib/js-yaml/dumper.js +0 -850
- data/node_modules/js-yaml/lib/js-yaml/exception.js +0 -43
- data/node_modules/js-yaml/lib/js-yaml/loader.js +0 -1644
- data/node_modules/js-yaml/lib/js-yaml/mark.js +0 -76
- data/node_modules/js-yaml/lib/js-yaml/schema/core.js +0 -18
- data/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +0 -25
- data/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +0 -28
- data/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +0 -17
- data/node_modules/js-yaml/lib/js-yaml/schema/json.js +0 -25
- data/node_modules/js-yaml/lib/js-yaml/schema.js +0 -108
- data/node_modules/js-yaml/lib/js-yaml/type/binary.js +0 -138
- data/node_modules/js-yaml/lib/js-yaml/type/bool.js +0 -35
- data/node_modules/js-yaml/lib/js-yaml/type/float.js +0 -116
- data/node_modules/js-yaml/lib/js-yaml/type/int.js +0 -173
- data/node_modules/js-yaml/lib/js-yaml/type/js/function.js +0 -93
- data/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +0 -60
- data/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +0 -28
- data/node_modules/js-yaml/lib/js-yaml/type/map.js +0 -8
- data/node_modules/js-yaml/lib/js-yaml/type/merge.js +0 -12
- data/node_modules/js-yaml/lib/js-yaml/type/null.js +0 -34
- data/node_modules/js-yaml/lib/js-yaml/type/omap.js +0 -44
- data/node_modules/js-yaml/lib/js-yaml/type/pairs.js +0 -53
- data/node_modules/js-yaml/lib/js-yaml/type/seq.js +0 -8
- data/node_modules/js-yaml/lib/js-yaml/type/set.js +0 -29
- data/node_modules/js-yaml/lib/js-yaml/type/str.js +0 -8
- data/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +0 -88
- data/node_modules/js-yaml/lib/js-yaml/type.js +0 -61
- data/node_modules/js-yaml/lib/js-yaml.js +0 -39
- data/node_modules/js-yaml/package.json +0 -49
- data/node_modules/jsdom/LICENSE.txt +0 -22
- data/node_modules/jsdom/README.md +0 -522
- data/node_modules/jsdom/lib/api.js +0 -333
- data/node_modules/jsdom/lib/jsdom/browser/Window.js +0 -933
- data/node_modules/jsdom/lib/jsdom/browser/default-stylesheet.js +0 -789
- data/node_modules/jsdom/lib/jsdom/browser/js-globals.json +0 -307
- data/node_modules/jsdom/lib/jsdom/browser/not-implemented.js +0 -13
- data/node_modules/jsdom/lib/jsdom/browser/parser/html.js +0 -223
- data/node_modules/jsdom/lib/jsdom/browser/parser/index.js +0 -37
- data/node_modules/jsdom/lib/jsdom/browser/parser/xml.js +0 -202
- data/node_modules/jsdom/lib/jsdom/browser/resources/async-resource-queue.js +0 -114
- data/node_modules/jsdom/lib/jsdom/browser/resources/no-op-resource-loader.js +0 -8
- data/node_modules/jsdom/lib/jsdom/browser/resources/per-document-resource-loader.js +0 -95
- data/node_modules/jsdom/lib/jsdom/browser/resources/request-manager.js +0 -33
- data/node_modules/jsdom/lib/jsdom/browser/resources/resource-loader.js +0 -142
- data/node_modules/jsdom/lib/jsdom/browser/resources/resource-queue.js +0 -142
- data/node_modules/jsdom/lib/jsdom/level2/style.js +0 -57
- data/node_modules/jsdom/lib/jsdom/level3/xpath.js +0 -1874
- data/node_modules/jsdom/lib/jsdom/living/aborting/AbortController-impl.js +0 -17
- data/node_modules/jsdom/lib/jsdom/living/aborting/AbortSignal-impl.js +0 -55
- data/node_modules/jsdom/lib/jsdom/living/attributes/Attr-impl.js +0 -60
- data/node_modules/jsdom/lib/jsdom/living/attributes/NamedNodeMap-impl.js +0 -78
- data/node_modules/jsdom/lib/jsdom/living/attributes.js +0 -312
- data/node_modules/jsdom/lib/jsdom/living/constraint-validation/DefaultConstraintValidation-impl.js +0 -75
- data/node_modules/jsdom/lib/jsdom/living/constraint-validation/ValidityState-impl.js +0 -66
- data/node_modules/jsdom/lib/jsdom/living/cssom/StyleSheetList-impl.js +0 -38
- data/node_modules/jsdom/lib/jsdom/living/custom-elements/CustomElementRegistry-impl.js +0 -265
- data/node_modules/jsdom/lib/jsdom/living/documents.js +0 -15
- data/node_modules/jsdom/lib/jsdom/living/domparsing/DOMParser-impl.js +0 -58
- data/node_modules/jsdom/lib/jsdom/living/domparsing/InnerHTML-impl.js +0 -29
- data/node_modules/jsdom/lib/jsdom/living/domparsing/XMLSerializer-impl.js +0 -18
- data/node_modules/jsdom/lib/jsdom/living/domparsing/parse5-adapter-serialization.js +0 -63
- data/node_modules/jsdom/lib/jsdom/living/domparsing/serialization.js +0 -45
- data/node_modules/jsdom/lib/jsdom/living/events/CloseEvent-impl.js +0 -10
- data/node_modules/jsdom/lib/jsdom/living/events/CompositionEvent-impl.js +0 -20
- data/node_modules/jsdom/lib/jsdom/living/events/CustomEvent-impl.js +0 -21
- data/node_modules/jsdom/lib/jsdom/living/events/ErrorEvent-impl.js +0 -14
- data/node_modules/jsdom/lib/jsdom/living/events/Event-impl.js +0 -197
- data/node_modules/jsdom/lib/jsdom/living/events/EventModifierMixin-impl.js +0 -18
- data/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js +0 -403
- data/node_modules/jsdom/lib/jsdom/living/events/FocusEvent-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/events/HashChangeEvent-impl.js +0 -14
- data/node_modules/jsdom/lib/jsdom/living/events/InputEvent-impl.js +0 -11
- data/node_modules/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js +0 -29
- data/node_modules/jsdom/lib/jsdom/living/events/MessageEvent-impl.js +0 -25
- data/node_modules/jsdom/lib/jsdom/living/events/MouseEvent-impl.js +0 -49
- data/node_modules/jsdom/lib/jsdom/living/events/PageTransitionEvent-impl.js +0 -20
- data/node_modules/jsdom/lib/jsdom/living/events/PopStateEvent-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/events/ProgressEvent-impl.js +0 -14
- data/node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js +0 -26
- data/node_modules/jsdom/lib/jsdom/living/events/TouchEvent-impl.js +0 -14
- data/node_modules/jsdom/lib/jsdom/living/events/UIEvent-impl.js +0 -59
- data/node_modules/jsdom/lib/jsdom/living/events/WheelEvent-impl.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/fetch/Headers-impl.js +0 -165
- data/node_modules/jsdom/lib/jsdom/living/fetch/header-list.js +0 -54
- data/node_modules/jsdom/lib/jsdom/living/fetch/header-types.js +0 -103
- data/node_modules/jsdom/lib/jsdom/living/file-api/Blob-impl.js +0 -93
- data/node_modules/jsdom/lib/jsdom/living/file-api/File-impl.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/file-api/FileList-impl.js +0 -15
- data/node_modules/jsdom/lib/jsdom/living/file-api/FileReader-impl.js +0 -130
- data/node_modules/jsdom/lib/jsdom/living/generated/AbortController.js +0 -130
- data/node_modules/jsdom/lib/jsdom/living/generated/AbortSignal.js +0 -159
- data/node_modules/jsdom/lib/jsdom/living/generated/AbstractRange.js +0 -162
- data/node_modules/jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js +0 -44
- data/node_modules/jsdom/lib/jsdom/living/generated/AssignedNodesOptions.js +0 -28
- data/node_modules/jsdom/lib/jsdom/living/generated/Attr.js +0 -215
- data/node_modules/jsdom/lib/jsdom/living/generated/BarProp.js +0 -118
- data/node_modules/jsdom/lib/jsdom/living/generated/BinaryType.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/Blob.js +0 -198
- data/node_modules/jsdom/lib/jsdom/living/generated/BlobCallback.js +0 -34
- data/node_modules/jsdom/lib/jsdom/living/generated/BlobPropertyBag.js +0 -42
- data/node_modules/jsdom/lib/jsdom/living/generated/CDATASection.js +0 -114
- data/node_modules/jsdom/lib/jsdom/living/generated/CanPlayTypeResult.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/CharacterData.js +0 -436
- data/node_modules/jsdom/lib/jsdom/living/generated/CloseEvent.js +0 -164
- data/node_modules/jsdom/lib/jsdom/living/generated/CloseEventInit.js +0 -56
- data/node_modules/jsdom/lib/jsdom/living/generated/Comment.js +0 -122
- data/node_modules/jsdom/lib/jsdom/living/generated/CompositionEvent.js +0 -217
- data/node_modules/jsdom/lib/jsdom/living/generated/CompositionEventInit.js +0 -32
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomElementConstructor.js +0 -38
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomElementRegistry.js +0 -242
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomEvent.js +0 -200
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomEventInit.js +0 -32
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMImplementation.js +0 -232
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMParser.js +0 -140
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMStringMap.js +0 -322
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMTokenList.js +0 -531
- data/node_modules/jsdom/lib/jsdom/living/generated/Document.js +0 -3322
- data/node_modules/jsdom/lib/jsdom/living/generated/DocumentFragment.js +0 -325
- data/node_modules/jsdom/lib/jsdom/living/generated/DocumentReadyState.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/DocumentType.js +0 -246
- data/node_modules/jsdom/lib/jsdom/living/generated/Element.js +0 -1609
- data/node_modules/jsdom/lib/jsdom/living/generated/ElementCreationOptions.js +0 -26
- data/node_modules/jsdom/lib/jsdom/living/generated/ElementDefinitionOptions.js +0 -26
- data/node_modules/jsdom/lib/jsdom/living/generated/EndingType.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/ErrorEvent.js +0 -186
- data/node_modules/jsdom/lib/jsdom/living/generated/ErrorEventInit.js +0 -80
- data/node_modules/jsdom/lib/jsdom/living/generated/Event.js +0 -390
- data/node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js +0 -40
- data/node_modules/jsdom/lib/jsdom/living/generated/EventInit.js +0 -52
- data/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js +0 -35
- data/node_modules/jsdom/lib/jsdom/living/generated/EventListenerOptions.js +0 -28
- data/node_modules/jsdom/lib/jsdom/living/generated/EventModifierInit.js +0 -188
- data/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js +0 -252
- data/node_modules/jsdom/lib/jsdom/living/generated/External.js +0 -129
- data/node_modules/jsdom/lib/jsdom/living/generated/File.js +0 -176
- data/node_modules/jsdom/lib/jsdom/living/generated/FileList.js +0 -305
- data/node_modules/jsdom/lib/jsdom/living/generated/FilePropertyBag.js +0 -30
- data/node_modules/jsdom/lib/jsdom/living/generated/FileReader.js +0 -440
- data/node_modules/jsdom/lib/jsdom/living/generated/FocusEvent.js +0 -142
- data/node_modules/jsdom/lib/jsdom/living/generated/FocusEventInit.js +0 -36
- data/node_modules/jsdom/lib/jsdom/living/generated/FormData.js +0 -421
- data/node_modules/jsdom/lib/jsdom/living/generated/Function.js +0 -46
- data/node_modules/jsdom/lib/jsdom/living/generated/GetRootNodeOptions.js +0 -28
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAnchorElement.js +0 -915
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAreaElement.js +0 -739
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAudioElement.js +0 -115
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBRElement.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBaseElement.js +0 -188
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBodyElement.js +0 -808
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLButtonElement.js +0 -487
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js +0 -291
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLCollection.js +0 -358
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDListElement.js +0 -156
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataElement.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataListElement.js +0 -128
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDetailsElement.js +0 -156
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDialogElement.js +0 -156
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDirectoryElement.js +0 -156
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDivElement.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js +0 -2269
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLEmbedElement.js +0 -346
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFieldSetElement.js +0 -315
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFontElement.js +0 -226
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFormElement.js +0 -457
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameElement.js +0 -459
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameSetElement.js +0 -683
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHRElement.js +0 -300
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadElement.js +0 -115
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadingElement.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHtmlElement.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLIFrameElement.js +0 -621
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLImageElement.js +0 -789
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLInputElement.js +0 -1696
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLIElement.js +0 -194
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLabelElement.js +0 -175
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLegendElement.js +0 -164
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLinkElement.js +0 -496
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMapElement.js +0 -166
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMarqueeElement.js +0 -509
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMediaElement.js +0 -802
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMenuElement.js +0 -156
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMetaElement.js +0 -261
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMeterElement.js +0 -338
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLModElement.js +0 -202
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOListElement.js +0 -266
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLObjectElement.js +0 -839
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptGroupElement.js +0 -192
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionElement.js +0 -351
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionsCollection.js +0 -533
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOutputElement.js +0 -371
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLParagraphElement.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLParamElement.js +0 -261
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLPictureElement.js +0 -115
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLPreElement.js +0 -158
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLProgressElement.js +0 -209
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLQuoteElement.js +0 -166
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLScriptElement.js +0 -424
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSelectElement.js +0 -957
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSlotElement.js +0 -188
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSourceElement.js +0 -310
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSpanElement.js +0 -115
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLStyleElement.js +0 -200
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCaptionElement.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCellElement.js +0 -635
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableColElement.js +0 -339
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableElement.js +0 -725
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableRowElement.js +0 -386
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableSectionElement.js +0 -329
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTemplateElement.js +0 -126
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTextAreaElement.js +0 -1088
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTimeElement.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTitleElement.js +0 -152
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTrackElement.js +0 -334
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLUListElement.js +0 -192
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLUnknownElement.js +0 -114
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLVideoElement.js +0 -310
- data/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEvent.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEventInit.js +0 -44
- data/node_modules/jsdom/lib/jsdom/living/generated/Headers.js +0 -379
- data/node_modules/jsdom/lib/jsdom/living/generated/History.js +0 -256
- data/node_modules/jsdom/lib/jsdom/living/generated/InputEvent.js +0 -164
- data/node_modules/jsdom/lib/jsdom/living/generated/InputEventInit.js +0 -59
- data/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEvent.js +0 -413
- data/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEventInit.js +0 -104
- data/node_modules/jsdom/lib/jsdom/living/generated/Location.js +0 -370
- data/node_modules/jsdom/lib/jsdom/living/generated/MessageEvent.js +0 -301
- data/node_modules/jsdom/lib/jsdom/living/generated/MessageEventInit.js +0 -94
- data/node_modules/jsdom/lib/jsdom/living/generated/MimeType.js +0 -151
- data/node_modules/jsdom/lib/jsdom/living/generated/MimeTypeArray.js +0 -330
- data/node_modules/jsdom/lib/jsdom/living/generated/MouseEvent.js +0 -463
- data/node_modules/jsdom/lib/jsdom/living/generated/MouseEventInit.js +0 -108
- data/node_modules/jsdom/lib/jsdom/living/generated/MutationCallback.js +0 -38
- data/node_modules/jsdom/lib/jsdom/living/generated/MutationObserver.js +0 -171
- data/node_modules/jsdom/lib/jsdom/living/generated/MutationObserverInit.js +0 -103
- data/node_modules/jsdom/lib/jsdom/living/generated/MutationRecord.js +0 -216
- data/node_modules/jsdom/lib/jsdom/living/generated/NamedNodeMap.js +0 -522
- data/node_modules/jsdom/lib/jsdom/living/generated/Navigator.js +0 -297
- data/node_modules/jsdom/lib/jsdom/living/generated/Node.js +0 -736
- data/node_modules/jsdom/lib/jsdom/living/generated/NodeFilter.js +0 -74
- data/node_modules/jsdom/lib/jsdom/living/generated/NodeIterator.js +0 -196
- data/node_modules/jsdom/lib/jsdom/living/generated/NodeList.js +0 -309
- data/node_modules/jsdom/lib/jsdom/living/generated/OnBeforeUnloadEventHandlerNonNull.js +0 -46
- data/node_modules/jsdom/lib/jsdom/living/generated/OnErrorEventHandlerNonNull.js +0 -60
- data/node_modules/jsdom/lib/jsdom/living/generated/PageTransitionEvent.js +0 -146
- data/node_modules/jsdom/lib/jsdom/living/generated/PageTransitionEventInit.js +0 -32
- data/node_modules/jsdom/lib/jsdom/living/generated/Performance.js +0 -145
- data/node_modules/jsdom/lib/jsdom/living/generated/Plugin.js +0 -361
- data/node_modules/jsdom/lib/jsdom/living/generated/PluginArray.js +0 -340
- data/node_modules/jsdom/lib/jsdom/living/generated/PopStateEvent.js +0 -142
- data/node_modules/jsdom/lib/jsdom/living/generated/PopStateEventInit.js +0 -32
- data/node_modules/jsdom/lib/jsdom/living/generated/ProcessingInstruction.js +0 -125
- data/node_modules/jsdom/lib/jsdom/living/generated/ProgressEvent.js +0 -166
- data/node_modules/jsdom/lib/jsdom/living/generated/ProgressEventInit.js +0 -56
- data/node_modules/jsdom/lib/jsdom/living/generated/Range.js +0 -619
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGAnimatedString.js +0 -143
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGBoundingBoxOptions.js +0 -64
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGElement.js +0 -1986
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGGraphicsElement.js +0 -144
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGNumber.js +0 -130
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGSVGElement.js +0 -681
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGStringList.js +0 -504
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGTitleElement.js +0 -114
- data/node_modules/jsdom/lib/jsdom/living/generated/Screen.js +0 -173
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollBehavior.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js +0 -45
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollLogicalPosition.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollOptions.js +0 -30
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollRestoration.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/Selection.js +0 -527
- data/node_modules/jsdom/lib/jsdom/living/generated/SelectionMode.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/ShadowRoot.js +0 -185
- data/node_modules/jsdom/lib/jsdom/living/generated/ShadowRootInit.js +0 -30
- data/node_modules/jsdom/lib/jsdom/living/generated/ShadowRootMode.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/StaticRange.js +0 -126
- data/node_modules/jsdom/lib/jsdom/living/generated/StaticRangeInit.js +0 -66
- data/node_modules/jsdom/lib/jsdom/living/generated/Storage.js +0 -389
- data/node_modules/jsdom/lib/jsdom/living/generated/StorageEvent.js +0 -305
- data/node_modules/jsdom/lib/jsdom/living/generated/StorageEventInit.js +0 -93
- data/node_modules/jsdom/lib/jsdom/living/generated/StyleSheetList.js +0 -307
- data/node_modules/jsdom/lib/jsdom/living/generated/SupportedType.js +0 -18
- data/node_modules/jsdom/lib/jsdom/living/generated/Text.js +0 -169
- data/node_modules/jsdom/lib/jsdom/living/generated/TextTrackKind.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/TouchEvent.js +0 -208
- data/node_modules/jsdom/lib/jsdom/living/generated/TouchEventInit.js +0 -89
- data/node_modules/jsdom/lib/jsdom/living/generated/TreeWalker.js +0 -236
- data/node_modules/jsdom/lib/jsdom/living/generated/UIEvent.js +0 -235
- data/node_modules/jsdom/lib/jsdom/living/generated/UIEventInit.js +0 -59
- data/node_modules/jsdom/lib/jsdom/living/generated/ValidityState.js +0 -228
- data/node_modules/jsdom/lib/jsdom/living/generated/VisibilityState.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/VoidFunction.js +0 -30
- data/node_modules/jsdom/lib/jsdom/living/generated/WebSocket.js +0 -444
- data/node_modules/jsdom/lib/jsdom/living/generated/WheelEvent.js +0 -183
- data/node_modules/jsdom/lib/jsdom/living/generated/WheelEventInit.js +0 -68
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLDocument.js +0 -114
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequest.js +0 -617
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestEventTarget.js +0 -341
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestResponseType.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestUpload.js +0 -114
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLSerializer.js +0 -133
- data/node_modules/jsdom/lib/jsdom/living/generated/utils.js +0 -141
- data/node_modules/jsdom/lib/jsdom/living/helpers/agent-factory.js +0 -15
- data/node_modules/jsdom/lib/jsdom/living/helpers/binary-data.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/helpers/create-element.js +0 -320
- data/node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js +0 -188
- data/node_modules/jsdom/lib/jsdom/living/helpers/custom-elements.js +0 -270
- data/node_modules/jsdom/lib/jsdom/living/helpers/dates-and-times.js +0 -270
- data/node_modules/jsdom/lib/jsdom/living/helpers/details.js +0 -15
- data/node_modules/jsdom/lib/jsdom/living/helpers/document-base-url.js +0 -54
- data/node_modules/jsdom/lib/jsdom/living/helpers/events.js +0 -24
- data/node_modules/jsdom/lib/jsdom/living/helpers/focusing.js +0 -104
- data/node_modules/jsdom/lib/jsdom/living/helpers/form-controls.js +0 -306
- data/node_modules/jsdom/lib/jsdom/living/helpers/html-constructor.js +0 -78
- data/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js +0 -254
- data/node_modules/jsdom/lib/jsdom/living/helpers/internal-constants.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/helpers/iterable-weak-set.js +0 -48
- data/node_modules/jsdom/lib/jsdom/living/helpers/json.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/helpers/mutation-observers.js +0 -198
- data/node_modules/jsdom/lib/jsdom/living/helpers/namespaces.js +0 -15
- data/node_modules/jsdom/lib/jsdom/living/helpers/node.js +0 -68
- data/node_modules/jsdom/lib/jsdom/living/helpers/number-and-date-inputs.js +0 -195
- data/node_modules/jsdom/lib/jsdom/living/helpers/ordered-set.js +0 -104
- data/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js +0 -76
- data/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js +0 -47
- data/node_modules/jsdom/lib/jsdom/living/helpers/shadow-dom.js +0 -285
- data/node_modules/jsdom/lib/jsdom/living/helpers/strings.js +0 -148
- data/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js +0 -114
- data/node_modules/jsdom/lib/jsdom/living/helpers/stylesheets.js +0 -113
- data/node_modules/jsdom/lib/jsdom/living/helpers/svg/basic-types.js +0 -41
- data/node_modules/jsdom/lib/jsdom/living/helpers/svg/render.js +0 -46
- data/node_modules/jsdom/lib/jsdom/living/helpers/text.js +0 -19
- data/node_modules/jsdom/lib/jsdom/living/helpers/traversal.js +0 -72
- data/node_modules/jsdom/lib/jsdom/living/helpers/validate-names.js +0 -75
- data/node_modules/jsdom/lib/jsdom/living/hr-time/Performance-impl.js +0 -25
- data/node_modules/jsdom/lib/jsdom/living/interfaces.js +0 -217
- data/node_modules/jsdom/lib/jsdom/living/mutation-observer/MutationObserver-impl.js +0 -95
- data/node_modules/jsdom/lib/jsdom/living/mutation-observer/MutationRecord-impl.js +0 -37
- data/node_modules/jsdom/lib/jsdom/living/named-properties-window.js +0 -141
- data/node_modules/jsdom/lib/jsdom/living/navigator/MimeType-impl.js +0 -3
- data/node_modules/jsdom/lib/jsdom/living/navigator/MimeTypeArray-impl.js +0 -21
- data/node_modules/jsdom/lib/jsdom/living/navigator/Navigator-impl.js +0 -29
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorConcurrentHardware-impl.js +0 -8
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorCookies-impl.js +0 -7
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorID-impl.js +0 -37
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorLanguage-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorOnLine-impl.js +0 -7
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorPlugins-impl.js +0 -8
- data/node_modules/jsdom/lib/jsdom/living/navigator/Plugin-impl.js +0 -3
- data/node_modules/jsdom/lib/jsdom/living/navigator/PluginArray-impl.js +0 -23
- data/node_modules/jsdom/lib/jsdom/living/node-document-position.js +0 -10
- data/node_modules/jsdom/lib/jsdom/living/node-type.js +0 -16
- data/node_modules/jsdom/lib/jsdom/living/node.js +0 -331
- data/node_modules/jsdom/lib/jsdom/living/nodes/CDATASection-impl.js +0 -16
- data/node_modules/jsdom/lib/jsdom/living/nodes/CharacterData-impl.js +0 -118
- data/node_modules/jsdom/lib/jsdom/living/nodes/ChildNode-impl.js +0 -80
- data/node_modules/jsdom/lib/jsdom/living/nodes/Comment-impl.js +0 -20
- data/node_modules/jsdom/lib/jsdom/living/nodes/DOMImplementation-impl.js +0 -120
- data/node_modules/jsdom/lib/jsdom/living/nodes/DOMStringMap-impl.js +0 -64
- data/node_modules/jsdom/lib/jsdom/living/nodes/DOMTokenList-impl.js +0 -171
- data/node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js +0 -946
- data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentFragment-impl.js +0 -44
- data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentOrShadowRoot-impl.js +0 -28
- data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js +0 -24
- data/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js +0 -578
- data/node_modules/jsdom/lib/jsdom/living/nodes/ElementCSSInlineStyle-impl.js +0 -25
- data/node_modules/jsdom/lib/jsdom/living/nodes/ElementContentEditable-impl.js +0 -7
- data/node_modules/jsdom/lib/jsdom/living/nodes/GlobalEventHandlers-impl.js +0 -95
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAnchorElement-impl.js +0 -50
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAreaElement-impl.js +0 -43
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAudioElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBRElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBaseElement-impl.js +0 -27
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBodyElement-impl.js +0 -17
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLButtonElement-impl.js +0 -79
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js +0 -130
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCollection-impl.js +0 -96
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDListElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataListElement-impl.js +0 -20
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDetailsElement-impl.js +0 -35
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDialogElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDirectoryElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDivElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js +0 -160
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js +0 -8
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFieldSetElement-impl.js +0 -43
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFontElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js +0 -226
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameElement-impl.js +0 -261
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameSetElement-impl.js +0 -17
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHRElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadingElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHtmlElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js +0 -371
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLIFrameElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLImageElement-impl.js +0 -132
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js +0 -1128
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLIElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLabelElement-impl.js +0 -94
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js +0 -18
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLinkElement-impl.js +0 -101
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMapElement-impl.js +0 -13
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMarqueeElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMediaElement-impl.js +0 -138
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMenuElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMetaElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMeterElement-impl.js +0 -180
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLModElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOListElement-impl.js +0 -22
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js +0 -26
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptGroupElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionElement-impl.js +0 -146
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionsCollection-impl.js +0 -110
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js +0 -85
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOutputElement-impl.js +0 -88
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParagraphElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParamElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPictureElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPreElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLProgressElement-impl.js +0 -74
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLQuoteElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js +0 -265
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSelectElement-impl.js +0 -283
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSlotElement-impl.js +0 -59
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSourceElement-impl.js +0 -8
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSpanElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js +0 -74
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCaptionElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCellElement-impl.js +0 -73
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableColElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableElement-impl.js +0 -236
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableRowElement-impl.js +0 -88
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableSectionElement-impl.js +0 -61
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js +0 -67
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTextAreaElement-impl.js +0 -272
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTimeElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTitleElement-impl.js +0 -18
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTrackElement-impl.js +0 -13
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUListElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUnknownElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLVideoElement-impl.js +0 -17
- data/node_modules/jsdom/lib/jsdom/living/nodes/LinkStyle-impl.js +0 -2
- data/node_modules/jsdom/lib/jsdom/living/nodes/Node-impl.js +0 -1165
- data/node_modules/jsdom/lib/jsdom/living/nodes/NodeList-impl.js +0 -43
- data/node_modules/jsdom/lib/jsdom/living/nodes/NonDocumentTypeChildNode-impl.js +0 -28
- data/node_modules/jsdom/lib/jsdom/living/nodes/NonElementParentNode-impl.js +0 -11
- data/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js +0 -91
- data/node_modules/jsdom/lib/jsdom/living/nodes/ProcessingInstruction-impl.js +0 -22
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGElement-impl.js +0 -64
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGGraphicsElement-impl.js +0 -16
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGSVGElement-impl.js +0 -42
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGTests-impl.js +0 -42
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGTitleElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/ShadowRoot-impl.js +0 -40
- data/node_modules/jsdom/lib/jsdom/living/nodes/Slotable-impl.js +0 -48
- data/node_modules/jsdom/lib/jsdom/living/nodes/Text-impl.js +0 -96
- data/node_modules/jsdom/lib/jsdom/living/nodes/WindowEventHandlers-impl.js +0 -52
- data/node_modules/jsdom/lib/jsdom/living/nodes/XMLDocument-impl.js +0 -4
- data/node_modules/jsdom/lib/jsdom/living/post-message.js +0 -39
- data/node_modules/jsdom/lib/jsdom/living/range/AbstractRange-impl.js +0 -43
- data/node_modules/jsdom/lib/jsdom/living/range/Range-impl.js +0 -889
- data/node_modules/jsdom/lib/jsdom/living/range/StaticRange-impl.js +0 -39
- data/node_modules/jsdom/lib/jsdom/living/range/boundary-point.js +0 -47
- data/node_modules/jsdom/lib/jsdom/living/selection/Selection-impl.js +0 -342
- data/node_modules/jsdom/lib/jsdom/living/svg/SVGAnimatedString-impl.js +0 -38
- data/node_modules/jsdom/lib/jsdom/living/svg/SVGListBase.js +0 -195
- data/node_modules/jsdom/lib/jsdom/living/svg/SVGNumber-impl.js +0 -48
- data/node_modules/jsdom/lib/jsdom/living/svg/SVGStringList-impl.js +0 -16
- data/node_modules/jsdom/lib/jsdom/living/traversal/NodeIterator-impl.js +0 -127
- data/node_modules/jsdom/lib/jsdom/living/traversal/TreeWalker-impl.js +0 -217
- data/node_modules/jsdom/lib/jsdom/living/traversal/helpers.js +0 -44
- data/node_modules/jsdom/lib/jsdom/living/websockets/WebSocket-impl-browser.js +0 -175
- data/node_modules/jsdom/lib/jsdom/living/websockets/WebSocket-impl.js +0 -328
- data/node_modules/jsdom/lib/jsdom/living/webstorage/Storage-impl.js +0 -102
- data/node_modules/jsdom/lib/jsdom/living/window/BarProp-impl.js +0 -10
- data/node_modules/jsdom/lib/jsdom/living/window/External-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/window/History-impl.js +0 -134
- data/node_modules/jsdom/lib/jsdom/living/window/Location-impl.js +0 -238
- data/node_modules/jsdom/lib/jsdom/living/window/Screen-impl.js +0 -13
- data/node_modules/jsdom/lib/jsdom/living/window/SessionHistory.js +0 -163
- data/node_modules/jsdom/lib/jsdom/living/window/navigation.js +0 -84
- data/node_modules/jsdom/lib/jsdom/living/xhr/FormData-impl.js +0 -171
- data/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js +0 -1023
- data/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequestEventTarget-impl.js +0 -17
- data/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequestUpload-impl.js +0 -4
- data/node_modules/jsdom/lib/jsdom/living/xhr/xhr-sync-worker.js +0 -60
- data/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js +0 -438
- data/node_modules/jsdom/lib/jsdom/named-properties-tracker.js +0 -158
- data/node_modules/jsdom/lib/jsdom/utils.js +0 -165
- data/node_modules/jsdom/lib/jsdom/virtual-console.js +0 -34
- data/node_modules/jsdom/lib/jsdom/vm-shim.js +0 -106
- data/node_modules/jsdom/package.json +0 -116
- data/node_modules/jsonfile/CHANGELOG.md +0 -171
- data/node_modules/jsonfile/LICENSE +0 -15
- data/node_modules/jsonfile/README.md +0 -230
- data/node_modules/jsonfile/index.js +0 -88
- data/node_modules/jsonfile/package.json +0 -40
- data/node_modules/jsonfile/utils.js +0 -14
- data/node_modules/levn/LICENSE +0 -22
- data/node_modules/levn/README.md +0 -196
- data/node_modules/levn/lib/cast.js +0 -298
- data/node_modules/levn/lib/coerce.js +0 -285
- data/node_modules/levn/lib/index.js +0 -22
- data/node_modules/levn/lib/parse-string.js +0 -113
- data/node_modules/levn/lib/parse.js +0 -102
- data/node_modules/levn/package.json +0 -47
- data/node_modules/lodash/LICENSE +0 -47
- data/node_modules/lodash/README.md +0 -39
- data/node_modules/lodash/_DataView.js +0 -7
- data/node_modules/lodash/_Hash.js +0 -32
- data/node_modules/lodash/_LazyWrapper.js +0 -28
- data/node_modules/lodash/_ListCache.js +0 -32
- data/node_modules/lodash/_LodashWrapper.js +0 -22
- data/node_modules/lodash/_Map.js +0 -7
- data/node_modules/lodash/_MapCache.js +0 -32
- data/node_modules/lodash/_Promise.js +0 -7
- data/node_modules/lodash/_Set.js +0 -7
- data/node_modules/lodash/_SetCache.js +0 -27
- data/node_modules/lodash/_Stack.js +0 -27
- data/node_modules/lodash/_Symbol.js +0 -6
- data/node_modules/lodash/_Uint8Array.js +0 -6
- data/node_modules/lodash/_WeakMap.js +0 -7
- data/node_modules/lodash/_apply.js +0 -21
- data/node_modules/lodash/_arrayAggregator.js +0 -22
- data/node_modules/lodash/_arrayEach.js +0 -22
- data/node_modules/lodash/_arrayEachRight.js +0 -21
- data/node_modules/lodash/_arrayEvery.js +0 -23
- data/node_modules/lodash/_arrayFilter.js +0 -25
- data/node_modules/lodash/_arrayIncludes.js +0 -17
- data/node_modules/lodash/_arrayIncludesWith.js +0 -22
- data/node_modules/lodash/_arrayLikeKeys.js +0 -49
- data/node_modules/lodash/_arrayMap.js +0 -21
- data/node_modules/lodash/_arrayPush.js +0 -20
- data/node_modules/lodash/_arrayReduce.js +0 -26
- data/node_modules/lodash/_arrayReduceRight.js +0 -24
- data/node_modules/lodash/_arraySample.js +0 -15
- data/node_modules/lodash/_arraySampleSize.js +0 -17
- data/node_modules/lodash/_arrayShuffle.js +0 -15
- data/node_modules/lodash/_arraySome.js +0 -23
- data/node_modules/lodash/_asciiSize.js +0 -12
- data/node_modules/lodash/_asciiToArray.js +0 -12
- data/node_modules/lodash/_asciiWords.js +0 -15
- data/node_modules/lodash/_assignMergeValue.js +0 -20
- data/node_modules/lodash/_assignValue.js +0 -28
- data/node_modules/lodash/_assocIndexOf.js +0 -21
- data/node_modules/lodash/_baseAggregator.js +0 -21
- data/node_modules/lodash/_baseAssign.js +0 -17
- data/node_modules/lodash/_baseAssignIn.js +0 -17
- data/node_modules/lodash/_baseAssignValue.js +0 -25
- data/node_modules/lodash/_baseAt.js +0 -23
- data/node_modules/lodash/_baseClamp.js +0 -22
- data/node_modules/lodash/_baseClone.js +0 -166
- data/node_modules/lodash/_baseConforms.js +0 -18
- data/node_modules/lodash/_baseConformsTo.js +0 -27
- data/node_modules/lodash/_baseCreate.js +0 -30
- data/node_modules/lodash/_baseDelay.js +0 -21
- data/node_modules/lodash/_baseDifference.js +0 -67
- data/node_modules/lodash/_baseEach.js +0 -14
- data/node_modules/lodash/_baseEachRight.js +0 -14
- data/node_modules/lodash/_baseEvery.js +0 -21
- data/node_modules/lodash/_baseExtremum.js +0 -32
- data/node_modules/lodash/_baseFill.js +0 -32
- data/node_modules/lodash/_baseFilter.js +0 -21
- data/node_modules/lodash/_baseFindIndex.js +0 -24
- data/node_modules/lodash/_baseFindKey.js +0 -23
- data/node_modules/lodash/_baseFlatten.js +0 -38
- data/node_modules/lodash/_baseFor.js +0 -16
- data/node_modules/lodash/_baseForOwn.js +0 -16
- data/node_modules/lodash/_baseForOwnRight.js +0 -16
- data/node_modules/lodash/_baseForRight.js +0 -15
- data/node_modules/lodash/_baseFunctions.js +0 -19
- data/node_modules/lodash/_baseGet.js +0 -24
- data/node_modules/lodash/_baseGetAllKeys.js +0 -20
- data/node_modules/lodash/_baseGetTag.js +0 -28
- data/node_modules/lodash/_baseGt.js +0 -14
- data/node_modules/lodash/_baseHas.js +0 -19
- data/node_modules/lodash/_baseHasIn.js +0 -13
- data/node_modules/lodash/_baseInRange.js +0 -18
- data/node_modules/lodash/_baseIndexOf.js +0 -20
- data/node_modules/lodash/_baseIndexOfWith.js +0 -23
- data/node_modules/lodash/_baseIntersection.js +0 -74
- data/node_modules/lodash/_baseInverter.js +0 -21
- data/node_modules/lodash/_baseInvoke.js +0 -24
- data/node_modules/lodash/_baseIsArguments.js +0 -18
- data/node_modules/lodash/_baseIsArrayBuffer.js +0 -17
- data/node_modules/lodash/_baseIsDate.js +0 -18
- data/node_modules/lodash/_baseIsEqual.js +0 -28
- data/node_modules/lodash/_baseIsEqualDeep.js +0 -83
- data/node_modules/lodash/_baseIsMap.js +0 -18
- data/node_modules/lodash/_baseIsMatch.js +0 -62
- data/node_modules/lodash/_baseIsNaN.js +0 -12
- data/node_modules/lodash/_baseIsNative.js +0 -47
- data/node_modules/lodash/_baseIsRegExp.js +0 -18
- data/node_modules/lodash/_baseIsSet.js +0 -18
- data/node_modules/lodash/_baseIsTypedArray.js +0 -60
- data/node_modules/lodash/_baseIteratee.js +0 -31
- data/node_modules/lodash/_baseKeys.js +0 -30
- data/node_modules/lodash/_baseKeysIn.js +0 -33
- data/node_modules/lodash/_baseLodash.js +0 -10
- data/node_modules/lodash/_baseLt.js +0 -14
- data/node_modules/lodash/_baseMap.js +0 -22
- data/node_modules/lodash/_baseMatches.js +0 -22
- data/node_modules/lodash/_baseMatchesProperty.js +0 -33
- data/node_modules/lodash/_baseMean.js +0 -20
- data/node_modules/lodash/_baseMerge.js +0 -42
- data/node_modules/lodash/_baseMergeDeep.js +0 -94
- data/node_modules/lodash/_baseNth.js +0 -20
- data/node_modules/lodash/_baseOrderBy.js +0 -49
- data/node_modules/lodash/_basePick.js +0 -19
- data/node_modules/lodash/_basePickBy.js +0 -30
- data/node_modules/lodash/_baseProperty.js +0 -14
- data/node_modules/lodash/_basePropertyDeep.js +0 -16
- data/node_modules/lodash/_basePropertyOf.js +0 -14
- data/node_modules/lodash/_basePullAll.js +0 -51
- data/node_modules/lodash/_basePullAt.js +0 -37
- data/node_modules/lodash/_baseRandom.js +0 -18
- data/node_modules/lodash/_baseRange.js +0 -28
- data/node_modules/lodash/_baseReduce.js +0 -23
- data/node_modules/lodash/_baseRepeat.js +0 -35
- data/node_modules/lodash/_baseRest.js +0 -17
- data/node_modules/lodash/_baseSample.js +0 -15
- data/node_modules/lodash/_baseSampleSize.js +0 -18
- data/node_modules/lodash/_baseSet.js +0 -51
- data/node_modules/lodash/_baseSetData.js +0 -17
- data/node_modules/lodash/_baseSetToString.js +0 -22
- data/node_modules/lodash/_baseShuffle.js +0 -15
- data/node_modules/lodash/_baseSlice.js +0 -31
- data/node_modules/lodash/_baseSome.js +0 -22
- data/node_modules/lodash/_baseSortBy.js +0 -21
- data/node_modules/lodash/_baseSortedIndex.js +0 -42
- data/node_modules/lodash/_baseSortedIndexBy.js +0 -67
- data/node_modules/lodash/_baseSortedUniq.js +0 -30
- data/node_modules/lodash/_baseSum.js +0 -24
- data/node_modules/lodash/_baseTimes.js +0 -20
- data/node_modules/lodash/_baseToNumber.js +0 -24
- data/node_modules/lodash/_baseToPairs.js +0 -18
- data/node_modules/lodash/_baseToString.js +0 -37
- data/node_modules/lodash/_baseTrim.js +0 -19
- data/node_modules/lodash/_baseUnary.js +0 -14
- data/node_modules/lodash/_baseUniq.js +0 -72
- data/node_modules/lodash/_baseUnset.js +0 -20
- data/node_modules/lodash/_baseUpdate.js +0 -18
- data/node_modules/lodash/_baseValues.js +0 -19
- data/node_modules/lodash/_baseWhile.js +0 -26
- data/node_modules/lodash/_baseWrapperValue.js +0 -25
- data/node_modules/lodash/_baseXor.js +0 -36
- data/node_modules/lodash/_baseZipObject.js +0 -23
- data/node_modules/lodash/_cacheHas.js +0 -13
- data/node_modules/lodash/_castArrayLikeObject.js +0 -14
- data/node_modules/lodash/_castFunction.js +0 -14
- data/node_modules/lodash/_castPath.js +0 -21
- data/node_modules/lodash/_castRest.js +0 -14
- data/node_modules/lodash/_castSlice.js +0 -18
- data/node_modules/lodash/_charsEndIndex.js +0 -19
- data/node_modules/lodash/_charsStartIndex.js +0 -20
- data/node_modules/lodash/_cloneArrayBuffer.js +0 -16
- data/node_modules/lodash/_cloneBuffer.js +0 -35
- data/node_modules/lodash/_cloneDataView.js +0 -16
- data/node_modules/lodash/_cloneRegExp.js +0 -17
- data/node_modules/lodash/_cloneSymbol.js +0 -18
- data/node_modules/lodash/_cloneTypedArray.js +0 -16
- data/node_modules/lodash/_compareAscending.js +0 -41
- data/node_modules/lodash/_compareMultiple.js +0 -44
- data/node_modules/lodash/_composeArgs.js +0 -39
- data/node_modules/lodash/_composeArgsRight.js +0 -41
- data/node_modules/lodash/_copyArray.js +0 -20
- data/node_modules/lodash/_copyObject.js +0 -40
- data/node_modules/lodash/_copySymbols.js +0 -16
- data/node_modules/lodash/_copySymbolsIn.js +0 -16
- data/node_modules/lodash/_coreJsData.js +0 -6
- data/node_modules/lodash/_countHolders.js +0 -21
- data/node_modules/lodash/_createAggregator.js +0 -23
- data/node_modules/lodash/_createAssigner.js +0 -37
- data/node_modules/lodash/_createBaseEach.js +0 -32
- data/node_modules/lodash/_createBaseFor.js +0 -25
- data/node_modules/lodash/_createBind.js +0 -28
- data/node_modules/lodash/_createCaseFirst.js +0 -33
- data/node_modules/lodash/_createCompounder.js +0 -24
- data/node_modules/lodash/_createCtor.js +0 -37
- data/node_modules/lodash/_createCurry.js +0 -46
- data/node_modules/lodash/_createFind.js +0 -25
- data/node_modules/lodash/_createFlow.js +0 -78
- data/node_modules/lodash/_createHybrid.js +0 -92
- data/node_modules/lodash/_createInverter.js +0 -17
- data/node_modules/lodash/_createMathOperation.js +0 -38
- data/node_modules/lodash/_createOver.js +0 -27
- data/node_modules/lodash/_createPadding.js +0 -33
- data/node_modules/lodash/_createPartial.js +0 -43
- data/node_modules/lodash/_createRange.js +0 -30
- data/node_modules/lodash/_createRecurry.js +0 -56
- data/node_modules/lodash/_createRelationalOperation.js +0 -20
- data/node_modules/lodash/_createRound.js +0 -35
- data/node_modules/lodash/_createSet.js +0 -19
- data/node_modules/lodash/_createToPairs.js +0 -30
- data/node_modules/lodash/_createWrap.js +0 -106
- data/node_modules/lodash/_customDefaultsAssignIn.js +0 -29
- data/node_modules/lodash/_customDefaultsMerge.js +0 -28
- data/node_modules/lodash/_customOmitClone.js +0 -16
- data/node_modules/lodash/_deburrLetter.js +0 -71
- data/node_modules/lodash/_defineProperty.js +0 -11
- data/node_modules/lodash/_equalArrays.js +0 -84
- data/node_modules/lodash/_equalByTag.js +0 -112
- data/node_modules/lodash/_equalObjects.js +0 -90
- data/node_modules/lodash/_escapeHtmlChar.js +0 -21
- data/node_modules/lodash/_escapeStringChar.js +0 -22
- data/node_modules/lodash/_flatRest.js +0 -16
- data/node_modules/lodash/_freeGlobal.js +0 -4
- data/node_modules/lodash/_getAllKeys.js +0 -16
- data/node_modules/lodash/_getAllKeysIn.js +0 -17
- data/node_modules/lodash/_getData.js +0 -15
- data/node_modules/lodash/_getFuncName.js +0 -31
- data/node_modules/lodash/_getHolder.js +0 -13
- data/node_modules/lodash/_getMapData.js +0 -18
- data/node_modules/lodash/_getMatchData.js +0 -24
- data/node_modules/lodash/_getNative.js +0 -17
- data/node_modules/lodash/_getPrototype.js +0 -6
- data/node_modules/lodash/_getRawTag.js +0 -46
- data/node_modules/lodash/_getSymbols.js +0 -30
- data/node_modules/lodash/_getSymbolsIn.js +0 -25
- data/node_modules/lodash/_getTag.js +0 -58
- data/node_modules/lodash/_getValue.js +0 -13
- data/node_modules/lodash/_getView.js +0 -33
- data/node_modules/lodash/_getWrapDetails.js +0 -17
- data/node_modules/lodash/_hasPath.js +0 -39
- data/node_modules/lodash/_hasUnicode.js +0 -26
- data/node_modules/lodash/_hasUnicodeWord.js +0 -15
- data/node_modules/lodash/_hashClear.js +0 -15
- data/node_modules/lodash/_hashDelete.js +0 -17
- data/node_modules/lodash/_hashGet.js +0 -30
- data/node_modules/lodash/_hashHas.js +0 -23
- data/node_modules/lodash/_hashSet.js +0 -23
- data/node_modules/lodash/_initCloneArray.js +0 -26
- data/node_modules/lodash/_initCloneByTag.js +0 -77
- data/node_modules/lodash/_initCloneObject.js +0 -18
- data/node_modules/lodash/_insertWrapDetails.js +0 -23
- data/node_modules/lodash/_isFlattenable.js +0 -20
- data/node_modules/lodash/_isIndex.js +0 -25
- data/node_modules/lodash/_isIterateeCall.js +0 -30
- data/node_modules/lodash/_isKey.js +0 -29
- data/node_modules/lodash/_isKeyable.js +0 -15
- data/node_modules/lodash/_isLaziable.js +0 -28
- data/node_modules/lodash/_isMaskable.js +0 -14
- data/node_modules/lodash/_isMasked.js +0 -20
- data/node_modules/lodash/_isPrototype.js +0 -18
- data/node_modules/lodash/_isStrictComparable.js +0 -15
- data/node_modules/lodash/_iteratorToArray.js +0 -18
- data/node_modules/lodash/_lazyClone.js +0 -23
- data/node_modules/lodash/_lazyReverse.js +0 -23
- data/node_modules/lodash/_lazyValue.js +0 -69
- data/node_modules/lodash/_listCacheClear.js +0 -13
- data/node_modules/lodash/_listCacheDelete.js +0 -35
- data/node_modules/lodash/_listCacheGet.js +0 -19
- data/node_modules/lodash/_listCacheHas.js +0 -16
- data/node_modules/lodash/_listCacheSet.js +0 -26
- data/node_modules/lodash/_mapCacheClear.js +0 -21
- data/node_modules/lodash/_mapCacheDelete.js +0 -18
- data/node_modules/lodash/_mapCacheGet.js +0 -16
- data/node_modules/lodash/_mapCacheHas.js +0 -16
- data/node_modules/lodash/_mapCacheSet.js +0 -22
- data/node_modules/lodash/_mapToArray.js +0 -18
- data/node_modules/lodash/_matchesStrictComparable.js +0 -20
- data/node_modules/lodash/_memoizeCapped.js +0 -26
- data/node_modules/lodash/_mergeData.js +0 -90
- data/node_modules/lodash/_metaMap.js +0 -6
- data/node_modules/lodash/_nativeCreate.js +0 -6
- data/node_modules/lodash/_nativeKeys.js +0 -6
- data/node_modules/lodash/_nativeKeysIn.js +0 -20
- data/node_modules/lodash/_nodeUtil.js +0 -30
- data/node_modules/lodash/_objectToString.js +0 -22
- data/node_modules/lodash/_overArg.js +0 -15
- data/node_modules/lodash/_overRest.js +0 -36
- data/node_modules/lodash/_parent.js +0 -16
- data/node_modules/lodash/_reEscape.js +0 -4
- data/node_modules/lodash/_reEvaluate.js +0 -4
- data/node_modules/lodash/_reInterpolate.js +0 -4
- data/node_modules/lodash/_realNames.js +0 -4
- data/node_modules/lodash/_reorder.js +0 -29
- data/node_modules/lodash/_replaceHolders.js +0 -29
- data/node_modules/lodash/_root.js +0 -9
- data/node_modules/lodash/_safeGet.js +0 -21
- data/node_modules/lodash/_setCacheAdd.js +0 -19
- data/node_modules/lodash/_setCacheHas.js +0 -14
- data/node_modules/lodash/_setData.js +0 -20
- data/node_modules/lodash/_setToArray.js +0 -18
- data/node_modules/lodash/_setToPairs.js +0 -18
- data/node_modules/lodash/_setToString.js +0 -14
- data/node_modules/lodash/_setWrapToString.js +0 -21
- data/node_modules/lodash/_shortOut.js +0 -37
- data/node_modules/lodash/_shuffleSelf.js +0 -28
- data/node_modules/lodash/_stackClear.js +0 -15
- data/node_modules/lodash/_stackDelete.js +0 -18
- data/node_modules/lodash/_stackGet.js +0 -14
- data/node_modules/lodash/_stackHas.js +0 -14
- data/node_modules/lodash/_stackSet.js +0 -34
- data/node_modules/lodash/_strictIndexOf.js +0 -23
- data/node_modules/lodash/_strictLastIndexOf.js +0 -21
- data/node_modules/lodash/_stringSize.js +0 -18
- data/node_modules/lodash/_stringToArray.js +0 -18
- data/node_modules/lodash/_stringToPath.js +0 -27
- data/node_modules/lodash/_toKey.js +0 -21
- data/node_modules/lodash/_toSource.js +0 -26
- data/node_modules/lodash/_trimmedEndIndex.js +0 -19
- data/node_modules/lodash/_unescapeHtmlChar.js +0 -21
- data/node_modules/lodash/_unicodeSize.js +0 -44
- data/node_modules/lodash/_unicodeToArray.js +0 -40
- data/node_modules/lodash/_unicodeWords.js +0 -69
- data/node_modules/lodash/_updateWrapDetails.js +0 -46
- data/node_modules/lodash/_wrapperClone.js +0 -23
- data/node_modules/lodash/add.js +0 -22
- data/node_modules/lodash/after.js +0 -42
- data/node_modules/lodash/array.js +0 -67
- data/node_modules/lodash/ary.js +0 -29
- data/node_modules/lodash/assign.js +0 -58
- data/node_modules/lodash/assignIn.js +0 -40
- data/node_modules/lodash/assignInWith.js +0 -38
- data/node_modules/lodash/assignWith.js +0 -37
- data/node_modules/lodash/at.js +0 -23
- data/node_modules/lodash/attempt.js +0 -35
- data/node_modules/lodash/before.js +0 -40
- data/node_modules/lodash/bind.js +0 -57
- data/node_modules/lodash/bindAll.js +0 -41
- data/node_modules/lodash/bindKey.js +0 -68
- data/node_modules/lodash/camelCase.js +0 -29
- data/node_modules/lodash/capitalize.js +0 -23
- data/node_modules/lodash/castArray.js +0 -44
- data/node_modules/lodash/ceil.js +0 -26
- data/node_modules/lodash/chain.js +0 -38
- data/node_modules/lodash/chunk.js +0 -50
- data/node_modules/lodash/clamp.js +0 -39
- data/node_modules/lodash/clone.js +0 -36
- data/node_modules/lodash/cloneDeep.js +0 -29
- data/node_modules/lodash/cloneDeepWith.js +0 -40
- data/node_modules/lodash/cloneWith.js +0 -42
- data/node_modules/lodash/collection.js +0 -30
- data/node_modules/lodash/commit.js +0 -33
- data/node_modules/lodash/compact.js +0 -31
- data/node_modules/lodash/concat.js +0 -43
- data/node_modules/lodash/cond.js +0 -60
- data/node_modules/lodash/conforms.js +0 -35
- data/node_modules/lodash/conformsTo.js +0 -32
- data/node_modules/lodash/constant.js +0 -26
- data/node_modules/lodash/core.js +0 -3877
- data/node_modules/lodash/core.min.js +0 -29
- data/node_modules/lodash/countBy.js +0 -40
- data/node_modules/lodash/create.js +0 -43
- data/node_modules/lodash/curry.js +0 -57
- data/node_modules/lodash/curryRight.js +0 -54
- data/node_modules/lodash/date.js +0 -3
- data/node_modules/lodash/debounce.js +0 -191
- data/node_modules/lodash/deburr.js +0 -45
- data/node_modules/lodash/defaultTo.js +0 -25
- data/node_modules/lodash/defaults.js +0 -64
- data/node_modules/lodash/defaultsDeep.js +0 -30
- data/node_modules/lodash/defer.js +0 -26
- data/node_modules/lodash/delay.js +0 -28
- data/node_modules/lodash/difference.js +0 -33
- data/node_modules/lodash/differenceBy.js +0 -44
- data/node_modules/lodash/differenceWith.js +0 -40
- data/node_modules/lodash/divide.js +0 -22
- data/node_modules/lodash/drop.js +0 -38
- data/node_modules/lodash/dropRight.js +0 -39
- data/node_modules/lodash/dropRightWhile.js +0 -45
- data/node_modules/lodash/dropWhile.js +0 -45
- data/node_modules/lodash/each.js +0 -1
- data/node_modules/lodash/eachRight.js +0 -1
- data/node_modules/lodash/endsWith.js +0 -43
- data/node_modules/lodash/entries.js +0 -1
- data/node_modules/lodash/entriesIn.js +0 -1
- data/node_modules/lodash/eq.js +0 -37
- data/node_modules/lodash/escape.js +0 -43
- data/node_modules/lodash/escapeRegExp.js +0 -32
- data/node_modules/lodash/every.js +0 -56
- data/node_modules/lodash/extend.js +0 -1
- data/node_modules/lodash/extendWith.js +0 -1
- data/node_modules/lodash/fill.js +0 -45
- data/node_modules/lodash/filter.js +0 -52
- data/node_modules/lodash/find.js +0 -42
- data/node_modules/lodash/findIndex.js +0 -55
- data/node_modules/lodash/findKey.js +0 -44
- data/node_modules/lodash/findLast.js +0 -25
- data/node_modules/lodash/findLastIndex.js +0 -59
- data/node_modules/lodash/findLastKey.js +0 -44
- data/node_modules/lodash/first.js +0 -1
- data/node_modules/lodash/flake.lock +0 -40
- data/node_modules/lodash/flake.nix +0 -20
- data/node_modules/lodash/flatMap.js +0 -29
- data/node_modules/lodash/flatMapDeep.js +0 -31
- data/node_modules/lodash/flatMapDepth.js +0 -31
- data/node_modules/lodash/flatten.js +0 -22
- data/node_modules/lodash/flattenDeep.js +0 -25
- data/node_modules/lodash/flattenDepth.js +0 -33
- data/node_modules/lodash/flip.js +0 -28
- data/node_modules/lodash/floor.js +0 -26
- data/node_modules/lodash/flow.js +0 -27
- data/node_modules/lodash/flowRight.js +0 -26
- data/node_modules/lodash/forEach.js +0 -41
- data/node_modules/lodash/forEachRight.js +0 -31
- data/node_modules/lodash/forIn.js +0 -39
- data/node_modules/lodash/forInRight.js +0 -37
- data/node_modules/lodash/forOwn.js +0 -36
- data/node_modules/lodash/forOwnRight.js +0 -34
- data/node_modules/lodash/fp/F.js +0 -1
- data/node_modules/lodash/fp/T.js +0 -1
- data/node_modules/lodash/fp/__.js +0 -1
- data/node_modules/lodash/fp/_baseConvert.js +0 -569
- data/node_modules/lodash/fp/_convertBrowser.js +0 -18
- data/node_modules/lodash/fp/_falseOptions.js +0 -7
- data/node_modules/lodash/fp/_mapping.js +0 -358
- data/node_modules/lodash/fp/_util.js +0 -16
- data/node_modules/lodash/fp/add.js +0 -5
- data/node_modules/lodash/fp/after.js +0 -5
- data/node_modules/lodash/fp/all.js +0 -1
- data/node_modules/lodash/fp/allPass.js +0 -1
- data/node_modules/lodash/fp/always.js +0 -1
- data/node_modules/lodash/fp/any.js +0 -1
- data/node_modules/lodash/fp/anyPass.js +0 -1
- data/node_modules/lodash/fp/apply.js +0 -1
- data/node_modules/lodash/fp/array.js +0 -2
- data/node_modules/lodash/fp/ary.js +0 -5
- data/node_modules/lodash/fp/assign.js +0 -5
- data/node_modules/lodash/fp/assignAll.js +0 -5
- data/node_modules/lodash/fp/assignAllWith.js +0 -5
- data/node_modules/lodash/fp/assignIn.js +0 -5
- data/node_modules/lodash/fp/assignInAll.js +0 -5
- data/node_modules/lodash/fp/assignInAllWith.js +0 -5
- data/node_modules/lodash/fp/assignInWith.js +0 -5
- data/node_modules/lodash/fp/assignWith.js +0 -5
- data/node_modules/lodash/fp/assoc.js +0 -1
- data/node_modules/lodash/fp/assocPath.js +0 -1
- data/node_modules/lodash/fp/at.js +0 -5
- data/node_modules/lodash/fp/attempt.js +0 -5
- data/node_modules/lodash/fp/before.js +0 -5
- data/node_modules/lodash/fp/bind.js +0 -5
- data/node_modules/lodash/fp/bindAll.js +0 -5
- data/node_modules/lodash/fp/bindKey.js +0 -5
- data/node_modules/lodash/fp/camelCase.js +0 -5
- data/node_modules/lodash/fp/capitalize.js +0 -5
- data/node_modules/lodash/fp/castArray.js +0 -5
- data/node_modules/lodash/fp/ceil.js +0 -5
- data/node_modules/lodash/fp/chain.js +0 -5
- data/node_modules/lodash/fp/chunk.js +0 -5
- data/node_modules/lodash/fp/clamp.js +0 -5
- data/node_modules/lodash/fp/clone.js +0 -5
- data/node_modules/lodash/fp/cloneDeep.js +0 -5
- data/node_modules/lodash/fp/cloneDeepWith.js +0 -5
- data/node_modules/lodash/fp/cloneWith.js +0 -5
- data/node_modules/lodash/fp/collection.js +0 -2
- data/node_modules/lodash/fp/commit.js +0 -5
- data/node_modules/lodash/fp/compact.js +0 -5
- data/node_modules/lodash/fp/complement.js +0 -1
- data/node_modules/lodash/fp/compose.js +0 -1
- data/node_modules/lodash/fp/concat.js +0 -5
- data/node_modules/lodash/fp/cond.js +0 -5
- data/node_modules/lodash/fp/conforms.js +0 -1
- data/node_modules/lodash/fp/conformsTo.js +0 -5
- data/node_modules/lodash/fp/constant.js +0 -5
- data/node_modules/lodash/fp/contains.js +0 -1
- data/node_modules/lodash/fp/convert.js +0 -18
- data/node_modules/lodash/fp/countBy.js +0 -5
- data/node_modules/lodash/fp/create.js +0 -5
- data/node_modules/lodash/fp/curry.js +0 -5
- data/node_modules/lodash/fp/curryN.js +0 -5
- data/node_modules/lodash/fp/curryRight.js +0 -5
- data/node_modules/lodash/fp/curryRightN.js +0 -5
- data/node_modules/lodash/fp/date.js +0 -2
- data/node_modules/lodash/fp/debounce.js +0 -5
- data/node_modules/lodash/fp/deburr.js +0 -5
- data/node_modules/lodash/fp/defaultTo.js +0 -5
- data/node_modules/lodash/fp/defaults.js +0 -5
- data/node_modules/lodash/fp/defaultsAll.js +0 -5
- data/node_modules/lodash/fp/defaultsDeep.js +0 -5
- data/node_modules/lodash/fp/defaultsDeepAll.js +0 -5
- data/node_modules/lodash/fp/defer.js +0 -5
- data/node_modules/lodash/fp/delay.js +0 -5
- data/node_modules/lodash/fp/difference.js +0 -5
- data/node_modules/lodash/fp/differenceBy.js +0 -5
- data/node_modules/lodash/fp/differenceWith.js +0 -5
- data/node_modules/lodash/fp/dissoc.js +0 -1
- data/node_modules/lodash/fp/dissocPath.js +0 -1
- data/node_modules/lodash/fp/divide.js +0 -5
- data/node_modules/lodash/fp/drop.js +0 -5
- data/node_modules/lodash/fp/dropLast.js +0 -1
- data/node_modules/lodash/fp/dropLastWhile.js +0 -1
- data/node_modules/lodash/fp/dropRight.js +0 -5
- data/node_modules/lodash/fp/dropRightWhile.js +0 -5
- data/node_modules/lodash/fp/dropWhile.js +0 -5
- data/node_modules/lodash/fp/each.js +0 -1
- data/node_modules/lodash/fp/eachRight.js +0 -1
- data/node_modules/lodash/fp/endsWith.js +0 -5
- data/node_modules/lodash/fp/entries.js +0 -1
- data/node_modules/lodash/fp/entriesIn.js +0 -1
- data/node_modules/lodash/fp/eq.js +0 -5
- data/node_modules/lodash/fp/equals.js +0 -1
- data/node_modules/lodash/fp/escape.js +0 -5
- data/node_modules/lodash/fp/escapeRegExp.js +0 -5
- data/node_modules/lodash/fp/every.js +0 -5
- data/node_modules/lodash/fp/extend.js +0 -1
- data/node_modules/lodash/fp/extendAll.js +0 -1
- data/node_modules/lodash/fp/extendAllWith.js +0 -1
- data/node_modules/lodash/fp/extendWith.js +0 -1
- data/node_modules/lodash/fp/fill.js +0 -5
- data/node_modules/lodash/fp/filter.js +0 -5
- data/node_modules/lodash/fp/find.js +0 -5
- data/node_modules/lodash/fp/findFrom.js +0 -5
- data/node_modules/lodash/fp/findIndex.js +0 -5
- data/node_modules/lodash/fp/findIndexFrom.js +0 -5
- data/node_modules/lodash/fp/findKey.js +0 -5
- data/node_modules/lodash/fp/findLast.js +0 -5
- data/node_modules/lodash/fp/findLastFrom.js +0 -5
- data/node_modules/lodash/fp/findLastIndex.js +0 -5
- data/node_modules/lodash/fp/findLastIndexFrom.js +0 -5
- data/node_modules/lodash/fp/findLastKey.js +0 -5
- data/node_modules/lodash/fp/first.js +0 -1
- data/node_modules/lodash/fp/flatMap.js +0 -5
- data/node_modules/lodash/fp/flatMapDeep.js +0 -5
- data/node_modules/lodash/fp/flatMapDepth.js +0 -5
- data/node_modules/lodash/fp/flatten.js +0 -5
- data/node_modules/lodash/fp/flattenDeep.js +0 -5
- data/node_modules/lodash/fp/flattenDepth.js +0 -5
- data/node_modules/lodash/fp/flip.js +0 -5
- data/node_modules/lodash/fp/floor.js +0 -5
- data/node_modules/lodash/fp/flow.js +0 -5
- data/node_modules/lodash/fp/flowRight.js +0 -5
- data/node_modules/lodash/fp/forEach.js +0 -5
- data/node_modules/lodash/fp/forEachRight.js +0 -5
- data/node_modules/lodash/fp/forIn.js +0 -5
- data/node_modules/lodash/fp/forInRight.js +0 -5
- data/node_modules/lodash/fp/forOwn.js +0 -5
- data/node_modules/lodash/fp/forOwnRight.js +0 -5
- data/node_modules/lodash/fp/fromPairs.js +0 -5
- data/node_modules/lodash/fp/function.js +0 -2
- data/node_modules/lodash/fp/functions.js +0 -5
- data/node_modules/lodash/fp/functionsIn.js +0 -5
- data/node_modules/lodash/fp/get.js +0 -5
- data/node_modules/lodash/fp/getOr.js +0 -5
- data/node_modules/lodash/fp/groupBy.js +0 -5
- data/node_modules/lodash/fp/gt.js +0 -5
- data/node_modules/lodash/fp/gte.js +0 -5
- data/node_modules/lodash/fp/has.js +0 -5
- data/node_modules/lodash/fp/hasIn.js +0 -5
- data/node_modules/lodash/fp/head.js +0 -5
- data/node_modules/lodash/fp/identical.js +0 -1
- data/node_modules/lodash/fp/identity.js +0 -5
- data/node_modules/lodash/fp/inRange.js +0 -5
- data/node_modules/lodash/fp/includes.js +0 -5
- data/node_modules/lodash/fp/includesFrom.js +0 -5
- data/node_modules/lodash/fp/indexBy.js +0 -1
- data/node_modules/lodash/fp/indexOf.js +0 -5
- data/node_modules/lodash/fp/indexOfFrom.js +0 -5
- data/node_modules/lodash/fp/init.js +0 -1
- data/node_modules/lodash/fp/initial.js +0 -5
- data/node_modules/lodash/fp/intersection.js +0 -5
- data/node_modules/lodash/fp/intersectionBy.js +0 -5
- data/node_modules/lodash/fp/intersectionWith.js +0 -5
- data/node_modules/lodash/fp/invert.js +0 -5
- data/node_modules/lodash/fp/invertBy.js +0 -5
- data/node_modules/lodash/fp/invertObj.js +0 -1
- data/node_modules/lodash/fp/invoke.js +0 -5
- data/node_modules/lodash/fp/invokeArgs.js +0 -5
- data/node_modules/lodash/fp/invokeArgsMap.js +0 -5
- data/node_modules/lodash/fp/invokeMap.js +0 -5
- data/node_modules/lodash/fp/isArguments.js +0 -5
- data/node_modules/lodash/fp/isArray.js +0 -5
- data/node_modules/lodash/fp/isArrayBuffer.js +0 -5
- data/node_modules/lodash/fp/isArrayLike.js +0 -5
- data/node_modules/lodash/fp/isArrayLikeObject.js +0 -5
- data/node_modules/lodash/fp/isBoolean.js +0 -5
- data/node_modules/lodash/fp/isBuffer.js +0 -5
- data/node_modules/lodash/fp/isDate.js +0 -5
- data/node_modules/lodash/fp/isElement.js +0 -5
- data/node_modules/lodash/fp/isEmpty.js +0 -5
- data/node_modules/lodash/fp/isEqual.js +0 -5
- data/node_modules/lodash/fp/isEqualWith.js +0 -5
- data/node_modules/lodash/fp/isError.js +0 -5
- data/node_modules/lodash/fp/isFinite.js +0 -5
- data/node_modules/lodash/fp/isFunction.js +0 -5
- data/node_modules/lodash/fp/isInteger.js +0 -5
- data/node_modules/lodash/fp/isLength.js +0 -5
- data/node_modules/lodash/fp/isMap.js +0 -5
- data/node_modules/lodash/fp/isMatch.js +0 -5
- data/node_modules/lodash/fp/isMatchWith.js +0 -5
- data/node_modules/lodash/fp/isNaN.js +0 -5
- data/node_modules/lodash/fp/isNative.js +0 -5
- data/node_modules/lodash/fp/isNil.js +0 -5
- data/node_modules/lodash/fp/isNull.js +0 -5
- data/node_modules/lodash/fp/isNumber.js +0 -5
- data/node_modules/lodash/fp/isObject.js +0 -5
- data/node_modules/lodash/fp/isObjectLike.js +0 -5
- data/node_modules/lodash/fp/isPlainObject.js +0 -5
- data/node_modules/lodash/fp/isRegExp.js +0 -5
- data/node_modules/lodash/fp/isSafeInteger.js +0 -5
- data/node_modules/lodash/fp/isSet.js +0 -5
- data/node_modules/lodash/fp/isString.js +0 -5
- data/node_modules/lodash/fp/isSymbol.js +0 -5
- data/node_modules/lodash/fp/isTypedArray.js +0 -5
- data/node_modules/lodash/fp/isUndefined.js +0 -5
- data/node_modules/lodash/fp/isWeakMap.js +0 -5
- data/node_modules/lodash/fp/isWeakSet.js +0 -5
- data/node_modules/lodash/fp/iteratee.js +0 -5
- data/node_modules/lodash/fp/join.js +0 -5
- data/node_modules/lodash/fp/juxt.js +0 -1
- data/node_modules/lodash/fp/kebabCase.js +0 -5
- data/node_modules/lodash/fp/keyBy.js +0 -5
- data/node_modules/lodash/fp/keys.js +0 -5
- data/node_modules/lodash/fp/keysIn.js +0 -5
- data/node_modules/lodash/fp/lang.js +0 -2
- data/node_modules/lodash/fp/last.js +0 -5
- data/node_modules/lodash/fp/lastIndexOf.js +0 -5
- data/node_modules/lodash/fp/lastIndexOfFrom.js +0 -5
- data/node_modules/lodash/fp/lowerCase.js +0 -5
- data/node_modules/lodash/fp/lowerFirst.js +0 -5
- data/node_modules/lodash/fp/lt.js +0 -5
- data/node_modules/lodash/fp/lte.js +0 -5
- data/node_modules/lodash/fp/map.js +0 -5
- data/node_modules/lodash/fp/mapKeys.js +0 -5
- data/node_modules/lodash/fp/mapValues.js +0 -5
- data/node_modules/lodash/fp/matches.js +0 -1
- data/node_modules/lodash/fp/matchesProperty.js +0 -5
- data/node_modules/lodash/fp/math.js +0 -2
- data/node_modules/lodash/fp/max.js +0 -5
- data/node_modules/lodash/fp/maxBy.js +0 -5
- data/node_modules/lodash/fp/mean.js +0 -5
- data/node_modules/lodash/fp/meanBy.js +0 -5
- data/node_modules/lodash/fp/memoize.js +0 -5
- data/node_modules/lodash/fp/merge.js +0 -5
- data/node_modules/lodash/fp/mergeAll.js +0 -5
- data/node_modules/lodash/fp/mergeAllWith.js +0 -5
- data/node_modules/lodash/fp/mergeWith.js +0 -5
- data/node_modules/lodash/fp/method.js +0 -5
- data/node_modules/lodash/fp/methodOf.js +0 -5
- data/node_modules/lodash/fp/min.js +0 -5
- data/node_modules/lodash/fp/minBy.js +0 -5
- data/node_modules/lodash/fp/mixin.js +0 -5
- data/node_modules/lodash/fp/multiply.js +0 -5
- data/node_modules/lodash/fp/nAry.js +0 -1
- data/node_modules/lodash/fp/negate.js +0 -5
- data/node_modules/lodash/fp/next.js +0 -5
- data/node_modules/lodash/fp/noop.js +0 -5
- data/node_modules/lodash/fp/now.js +0 -5
- data/node_modules/lodash/fp/nth.js +0 -5
- data/node_modules/lodash/fp/nthArg.js +0 -5
- data/node_modules/lodash/fp/number.js +0 -2
- data/node_modules/lodash/fp/object.js +0 -2
- data/node_modules/lodash/fp/omit.js +0 -5
- data/node_modules/lodash/fp/omitAll.js +0 -1
- data/node_modules/lodash/fp/omitBy.js +0 -5
- data/node_modules/lodash/fp/once.js +0 -5
- data/node_modules/lodash/fp/orderBy.js +0 -5
- data/node_modules/lodash/fp/over.js +0 -5
- data/node_modules/lodash/fp/overArgs.js +0 -5
- data/node_modules/lodash/fp/overEvery.js +0 -5
- data/node_modules/lodash/fp/overSome.js +0 -5
- data/node_modules/lodash/fp/pad.js +0 -5
- data/node_modules/lodash/fp/padChars.js +0 -5
- data/node_modules/lodash/fp/padCharsEnd.js +0 -5
- data/node_modules/lodash/fp/padCharsStart.js +0 -5
- data/node_modules/lodash/fp/padEnd.js +0 -5
- data/node_modules/lodash/fp/padStart.js +0 -5
- data/node_modules/lodash/fp/parseInt.js +0 -5
- data/node_modules/lodash/fp/partial.js +0 -5
- data/node_modules/lodash/fp/partialRight.js +0 -5
- data/node_modules/lodash/fp/partition.js +0 -5
- data/node_modules/lodash/fp/path.js +0 -1
- data/node_modules/lodash/fp/pathEq.js +0 -1
- data/node_modules/lodash/fp/pathOr.js +0 -1
- data/node_modules/lodash/fp/paths.js +0 -1
- data/node_modules/lodash/fp/pick.js +0 -5
- data/node_modules/lodash/fp/pickAll.js +0 -1
- data/node_modules/lodash/fp/pickBy.js +0 -5
- data/node_modules/lodash/fp/pipe.js +0 -1
- data/node_modules/lodash/fp/placeholder.js +0 -6
- data/node_modules/lodash/fp/plant.js +0 -5
- data/node_modules/lodash/fp/pluck.js +0 -1
- data/node_modules/lodash/fp/prop.js +0 -1
- data/node_modules/lodash/fp/propEq.js +0 -1
- data/node_modules/lodash/fp/propOr.js +0 -1
- data/node_modules/lodash/fp/property.js +0 -1
- data/node_modules/lodash/fp/propertyOf.js +0 -5
- data/node_modules/lodash/fp/props.js +0 -1
- data/node_modules/lodash/fp/pull.js +0 -5
- data/node_modules/lodash/fp/pullAll.js +0 -5
- data/node_modules/lodash/fp/pullAllBy.js +0 -5
- data/node_modules/lodash/fp/pullAllWith.js +0 -5
- data/node_modules/lodash/fp/pullAt.js +0 -5
- data/node_modules/lodash/fp/random.js +0 -5
- data/node_modules/lodash/fp/range.js +0 -5
- data/node_modules/lodash/fp/rangeRight.js +0 -5
- data/node_modules/lodash/fp/rangeStep.js +0 -5
- data/node_modules/lodash/fp/rangeStepRight.js +0 -5
- data/node_modules/lodash/fp/rearg.js +0 -5
- data/node_modules/lodash/fp/reduce.js +0 -5
- data/node_modules/lodash/fp/reduceRight.js +0 -5
- data/node_modules/lodash/fp/reject.js +0 -5
- data/node_modules/lodash/fp/remove.js +0 -5
- data/node_modules/lodash/fp/repeat.js +0 -5
- data/node_modules/lodash/fp/replace.js +0 -5
- data/node_modules/lodash/fp/rest.js +0 -5
- data/node_modules/lodash/fp/restFrom.js +0 -5
- data/node_modules/lodash/fp/result.js +0 -5
- data/node_modules/lodash/fp/reverse.js +0 -5
- data/node_modules/lodash/fp/round.js +0 -5
- data/node_modules/lodash/fp/sample.js +0 -5
- data/node_modules/lodash/fp/sampleSize.js +0 -5
- data/node_modules/lodash/fp/seq.js +0 -2
- data/node_modules/lodash/fp/set.js +0 -5
- data/node_modules/lodash/fp/setWith.js +0 -5
- data/node_modules/lodash/fp/shuffle.js +0 -5
- data/node_modules/lodash/fp/size.js +0 -5
- data/node_modules/lodash/fp/slice.js +0 -5
- data/node_modules/lodash/fp/snakeCase.js +0 -5
- data/node_modules/lodash/fp/some.js +0 -5
- data/node_modules/lodash/fp/sortBy.js +0 -5
- data/node_modules/lodash/fp/sortedIndex.js +0 -5
- data/node_modules/lodash/fp/sortedIndexBy.js +0 -5
- data/node_modules/lodash/fp/sortedIndexOf.js +0 -5
- data/node_modules/lodash/fp/sortedLastIndex.js +0 -5
- data/node_modules/lodash/fp/sortedLastIndexBy.js +0 -5
- data/node_modules/lodash/fp/sortedLastIndexOf.js +0 -5
- data/node_modules/lodash/fp/sortedUniq.js +0 -5
- data/node_modules/lodash/fp/sortedUniqBy.js +0 -5
- data/node_modules/lodash/fp/split.js +0 -5
- data/node_modules/lodash/fp/spread.js +0 -5
- data/node_modules/lodash/fp/spreadFrom.js +0 -5
- data/node_modules/lodash/fp/startCase.js +0 -5
- data/node_modules/lodash/fp/startsWith.js +0 -5
- data/node_modules/lodash/fp/string.js +0 -2
- data/node_modules/lodash/fp/stubArray.js +0 -5
- data/node_modules/lodash/fp/stubFalse.js +0 -5
- data/node_modules/lodash/fp/stubObject.js +0 -5
- data/node_modules/lodash/fp/stubString.js +0 -5
- data/node_modules/lodash/fp/stubTrue.js +0 -5
- data/node_modules/lodash/fp/subtract.js +0 -5
- data/node_modules/lodash/fp/sum.js +0 -5
- data/node_modules/lodash/fp/sumBy.js +0 -5
- data/node_modules/lodash/fp/symmetricDifference.js +0 -1
- data/node_modules/lodash/fp/symmetricDifferenceBy.js +0 -1
- data/node_modules/lodash/fp/symmetricDifferenceWith.js +0 -1
- data/node_modules/lodash/fp/tail.js +0 -5
- data/node_modules/lodash/fp/take.js +0 -5
- data/node_modules/lodash/fp/takeLast.js +0 -1
- data/node_modules/lodash/fp/takeLastWhile.js +0 -1
- data/node_modules/lodash/fp/takeRight.js +0 -5
- data/node_modules/lodash/fp/takeRightWhile.js +0 -5
- data/node_modules/lodash/fp/takeWhile.js +0 -5
- data/node_modules/lodash/fp/tap.js +0 -5
- data/node_modules/lodash/fp/template.js +0 -5
- data/node_modules/lodash/fp/templateSettings.js +0 -5
- data/node_modules/lodash/fp/throttle.js +0 -5
- data/node_modules/lodash/fp/thru.js +0 -5
- data/node_modules/lodash/fp/times.js +0 -5
- data/node_modules/lodash/fp/toArray.js +0 -5
- data/node_modules/lodash/fp/toFinite.js +0 -5
- data/node_modules/lodash/fp/toInteger.js +0 -5
- data/node_modules/lodash/fp/toIterator.js +0 -5
- data/node_modules/lodash/fp/toJSON.js +0 -5
- data/node_modules/lodash/fp/toLength.js +0 -5
- data/node_modules/lodash/fp/toLower.js +0 -5
- data/node_modules/lodash/fp/toNumber.js +0 -5
- data/node_modules/lodash/fp/toPairs.js +0 -5
- data/node_modules/lodash/fp/toPairsIn.js +0 -5
- data/node_modules/lodash/fp/toPath.js +0 -5
- data/node_modules/lodash/fp/toPlainObject.js +0 -5
- data/node_modules/lodash/fp/toSafeInteger.js +0 -5
- data/node_modules/lodash/fp/toString.js +0 -5
- data/node_modules/lodash/fp/toUpper.js +0 -5
- data/node_modules/lodash/fp/transform.js +0 -5
- data/node_modules/lodash/fp/trim.js +0 -5
- data/node_modules/lodash/fp/trimChars.js +0 -5
- data/node_modules/lodash/fp/trimCharsEnd.js +0 -5
- data/node_modules/lodash/fp/trimCharsStart.js +0 -5
- data/node_modules/lodash/fp/trimEnd.js +0 -5
- data/node_modules/lodash/fp/trimStart.js +0 -5
- data/node_modules/lodash/fp/truncate.js +0 -5
- data/node_modules/lodash/fp/unapply.js +0 -1
- data/node_modules/lodash/fp/unary.js +0 -5
- data/node_modules/lodash/fp/unescape.js +0 -5
- data/node_modules/lodash/fp/union.js +0 -5
- data/node_modules/lodash/fp/unionBy.js +0 -5
- data/node_modules/lodash/fp/unionWith.js +0 -5
- data/node_modules/lodash/fp/uniq.js +0 -5
- data/node_modules/lodash/fp/uniqBy.js +0 -5
- data/node_modules/lodash/fp/uniqWith.js +0 -5
- data/node_modules/lodash/fp/uniqueId.js +0 -5
- data/node_modules/lodash/fp/unnest.js +0 -1
- data/node_modules/lodash/fp/unset.js +0 -5
- data/node_modules/lodash/fp/unzip.js +0 -5
- data/node_modules/lodash/fp/unzipWith.js +0 -5
- data/node_modules/lodash/fp/update.js +0 -5
- data/node_modules/lodash/fp/updateWith.js +0 -5
- data/node_modules/lodash/fp/upperCase.js +0 -5
- data/node_modules/lodash/fp/upperFirst.js +0 -5
- data/node_modules/lodash/fp/useWith.js +0 -1
- data/node_modules/lodash/fp/util.js +0 -2
- data/node_modules/lodash/fp/value.js +0 -5
- data/node_modules/lodash/fp/valueOf.js +0 -5
- data/node_modules/lodash/fp/values.js +0 -5
- data/node_modules/lodash/fp/valuesIn.js +0 -5
- data/node_modules/lodash/fp/where.js +0 -1
- data/node_modules/lodash/fp/whereEq.js +0 -1
- data/node_modules/lodash/fp/without.js +0 -5
- data/node_modules/lodash/fp/words.js +0 -5
- data/node_modules/lodash/fp/wrap.js +0 -5
- data/node_modules/lodash/fp/wrapperAt.js +0 -5
- data/node_modules/lodash/fp/wrapperChain.js +0 -5
- data/node_modules/lodash/fp/wrapperLodash.js +0 -5
- data/node_modules/lodash/fp/wrapperReverse.js +0 -5
- data/node_modules/lodash/fp/wrapperValue.js +0 -5
- data/node_modules/lodash/fp/xor.js +0 -5
- data/node_modules/lodash/fp/xorBy.js +0 -5
- data/node_modules/lodash/fp/xorWith.js +0 -5
- data/node_modules/lodash/fp/zip.js +0 -5
- data/node_modules/lodash/fp/zipAll.js +0 -5
- data/node_modules/lodash/fp/zipObj.js +0 -1
- data/node_modules/lodash/fp/zipObject.js +0 -5
- data/node_modules/lodash/fp/zipObjectDeep.js +0 -5
- data/node_modules/lodash/fp/zipWith.js +0 -5
- data/node_modules/lodash/fp.js +0 -2
- data/node_modules/lodash/fromPairs.js +0 -28
- data/node_modules/lodash/function.js +0 -25
- data/node_modules/lodash/functions.js +0 -31
- data/node_modules/lodash/functionsIn.js +0 -31
- data/node_modules/lodash/get.js +0 -33
- data/node_modules/lodash/groupBy.js +0 -41
- data/node_modules/lodash/gt.js +0 -29
- data/node_modules/lodash/gte.js +0 -30
- data/node_modules/lodash/has.js +0 -35
- data/node_modules/lodash/hasIn.js +0 -34
- data/node_modules/lodash/head.js +0 -23
- data/node_modules/lodash/identity.js +0 -21
- data/node_modules/lodash/inRange.js +0 -55
- data/node_modules/lodash/includes.js +0 -53
- data/node_modules/lodash/index.js +0 -1
- data/node_modules/lodash/indexOf.js +0 -42
- data/node_modules/lodash/initial.js +0 -22
- data/node_modules/lodash/intersection.js +0 -30
- data/node_modules/lodash/intersectionBy.js +0 -45
- data/node_modules/lodash/intersectionWith.js +0 -41
- data/node_modules/lodash/invert.js +0 -42
- data/node_modules/lodash/invertBy.js +0 -56
- data/node_modules/lodash/invoke.js +0 -24
- data/node_modules/lodash/invokeMap.js +0 -41
- data/node_modules/lodash/isArguments.js +0 -36
- data/node_modules/lodash/isArray.js +0 -26
- data/node_modules/lodash/isArrayBuffer.js +0 -27
- data/node_modules/lodash/isArrayLike.js +0 -33
- data/node_modules/lodash/isArrayLikeObject.js +0 -33
- data/node_modules/lodash/isBoolean.js +0 -29
- data/node_modules/lodash/isBuffer.js +0 -38
- data/node_modules/lodash/isDate.js +0 -27
- data/node_modules/lodash/isElement.js +0 -25
- data/node_modules/lodash/isEmpty.js +0 -77
- data/node_modules/lodash/isEqual.js +0 -35
- data/node_modules/lodash/isEqualWith.js +0 -41
- data/node_modules/lodash/isError.js +0 -36
- data/node_modules/lodash/isFinite.js +0 -36
- data/node_modules/lodash/isFunction.js +0 -37
- data/node_modules/lodash/isInteger.js +0 -33
- data/node_modules/lodash/isLength.js +0 -35
- data/node_modules/lodash/isMap.js +0 -27
- data/node_modules/lodash/isMatch.js +0 -36
- data/node_modules/lodash/isMatchWith.js +0 -41
- data/node_modules/lodash/isNaN.js +0 -38
- data/node_modules/lodash/isNative.js +0 -40
- data/node_modules/lodash/isNil.js +0 -25
- data/node_modules/lodash/isNull.js +0 -22
- data/node_modules/lodash/isNumber.js +0 -38
- data/node_modules/lodash/isObject.js +0 -31
- data/node_modules/lodash/isObjectLike.js +0 -29
- data/node_modules/lodash/isPlainObject.js +0 -62
- data/node_modules/lodash/isRegExp.js +0 -27
- data/node_modules/lodash/isSafeInteger.js +0 -37
- data/node_modules/lodash/isSet.js +0 -27
- data/node_modules/lodash/isString.js +0 -30
- data/node_modules/lodash/isSymbol.js +0 -29
- data/node_modules/lodash/isTypedArray.js +0 -27
- data/node_modules/lodash/isUndefined.js +0 -22
- data/node_modules/lodash/isWeakMap.js +0 -28
- data/node_modules/lodash/isWeakSet.js +0 -28
- data/node_modules/lodash/iteratee.js +0 -53
- data/node_modules/lodash/join.js +0 -26
- data/node_modules/lodash/kebabCase.js +0 -28
- data/node_modules/lodash/keyBy.js +0 -36
- data/node_modules/lodash/keys.js +0 -37
- data/node_modules/lodash/keysIn.js +0 -32
- data/node_modules/lodash/lang.js +0 -58
- data/node_modules/lodash/last.js +0 -20
- data/node_modules/lodash/lastIndexOf.js +0 -46
- data/node_modules/lodash/lodash.js +0 -17209
- data/node_modules/lodash/lodash.min.js +0 -140
- data/node_modules/lodash/lowerCase.js +0 -27
- data/node_modules/lodash/lowerFirst.js +0 -22
- data/node_modules/lodash/lt.js +0 -29
- data/node_modules/lodash/lte.js +0 -30
- data/node_modules/lodash/map.js +0 -53
- data/node_modules/lodash/mapKeys.js +0 -36
- data/node_modules/lodash/mapValues.js +0 -43
- data/node_modules/lodash/matches.js +0 -46
- data/node_modules/lodash/matchesProperty.js +0 -44
- data/node_modules/lodash/math.js +0 -17
- data/node_modules/lodash/max.js +0 -29
- data/node_modules/lodash/maxBy.js +0 -34
- data/node_modules/lodash/mean.js +0 -22
- data/node_modules/lodash/meanBy.js +0 -31
- data/node_modules/lodash/memoize.js +0 -73
- data/node_modules/lodash/merge.js +0 -39
- data/node_modules/lodash/mergeWith.js +0 -39
- data/node_modules/lodash/method.js +0 -34
- data/node_modules/lodash/methodOf.js +0 -33
- data/node_modules/lodash/min.js +0 -29
- data/node_modules/lodash/minBy.js +0 -34
- data/node_modules/lodash/mixin.js +0 -74
- data/node_modules/lodash/multiply.js +0 -22
- data/node_modules/lodash/negate.js +0 -40
- data/node_modules/lodash/next.js +0 -35
- data/node_modules/lodash/noop.js +0 -17
- data/node_modules/lodash/now.js +0 -23
- data/node_modules/lodash/nth.js +0 -29
- data/node_modules/lodash/nthArg.js +0 -32
- data/node_modules/lodash/number.js +0 -5
- data/node_modules/lodash/object.js +0 -49
- data/node_modules/lodash/omit.js +0 -57
- data/node_modules/lodash/omitBy.js +0 -29
- data/node_modules/lodash/once.js +0 -25
- data/node_modules/lodash/orderBy.js +0 -47
- data/node_modules/lodash/over.js +0 -24
- data/node_modules/lodash/overArgs.js +0 -61
- data/node_modules/lodash/overEvery.js +0 -34
- data/node_modules/lodash/overSome.js +0 -37
- data/node_modules/lodash/package.json +0 -17
- data/node_modules/lodash/pad.js +0 -49
- data/node_modules/lodash/padEnd.js +0 -39
- data/node_modules/lodash/padStart.js +0 -39
- data/node_modules/lodash/parseInt.js +0 -43
- data/node_modules/lodash/partial.js +0 -50
- data/node_modules/lodash/partialRight.js +0 -49
- data/node_modules/lodash/partition.js +0 -43
- data/node_modules/lodash/pick.js +0 -25
- data/node_modules/lodash/pickBy.js +0 -37
- data/node_modules/lodash/plant.js +0 -48
- data/node_modules/lodash/property.js +0 -32
- data/node_modules/lodash/propertyOf.js +0 -30
- data/node_modules/lodash/pull.js +0 -29
- data/node_modules/lodash/pullAll.js +0 -29
- data/node_modules/lodash/pullAllBy.js +0 -33
- data/node_modules/lodash/pullAllWith.js +0 -32
- data/node_modules/lodash/pullAt.js +0 -43
- data/node_modules/lodash/random.js +0 -82
- data/node_modules/lodash/range.js +0 -46
- data/node_modules/lodash/rangeRight.js +0 -41
- data/node_modules/lodash/rearg.js +0 -33
- data/node_modules/lodash/reduce.js +0 -51
- data/node_modules/lodash/reduceRight.js +0 -36
- data/node_modules/lodash/reject.js +0 -46
- data/node_modules/lodash/release.md +0 -48
- data/node_modules/lodash/remove.js +0 -53
- data/node_modules/lodash/repeat.js +0 -37
- data/node_modules/lodash/replace.js +0 -29
- data/node_modules/lodash/rest.js +0 -40
- data/node_modules/lodash/result.js +0 -56
- data/node_modules/lodash/reverse.js +0 -34
- data/node_modules/lodash/round.js +0 -26
- data/node_modules/lodash/sample.js +0 -24
- data/node_modules/lodash/sampleSize.js +0 -37
- data/node_modules/lodash/seq.js +0 -16
- data/node_modules/lodash/set.js +0 -35
- data/node_modules/lodash/setWith.js +0 -32
- data/node_modules/lodash/shuffle.js +0 -25
- data/node_modules/lodash/size.js +0 -46
- data/node_modules/lodash/slice.js +0 -37
- data/node_modules/lodash/snakeCase.js +0 -28
- data/node_modules/lodash/some.js +0 -51
- data/node_modules/lodash/sortBy.js +0 -48
- data/node_modules/lodash/sortedIndex.js +0 -24
- data/node_modules/lodash/sortedIndexBy.js +0 -33
- data/node_modules/lodash/sortedIndexOf.js +0 -31
- data/node_modules/lodash/sortedLastIndex.js +0 -25
- data/node_modules/lodash/sortedLastIndexBy.js +0 -33
- data/node_modules/lodash/sortedLastIndexOf.js +0 -31
- data/node_modules/lodash/sortedUniq.js +0 -24
- data/node_modules/lodash/sortedUniqBy.js +0 -26
- data/node_modules/lodash/split.js +0 -52
- data/node_modules/lodash/spread.js +0 -63
- data/node_modules/lodash/startCase.js +0 -29
- data/node_modules/lodash/startsWith.js +0 -39
- data/node_modules/lodash/string.js +0 -33
- data/node_modules/lodash/stubArray.js +0 -23
- data/node_modules/lodash/stubFalse.js +0 -18
- data/node_modules/lodash/stubObject.js +0 -23
- data/node_modules/lodash/stubString.js +0 -18
- data/node_modules/lodash/stubTrue.js +0 -18
- data/node_modules/lodash/subtract.js +0 -22
- data/node_modules/lodash/sum.js +0 -24
- data/node_modules/lodash/sumBy.js +0 -33
- data/node_modules/lodash/tail.js +0 -22
- data/node_modules/lodash/take.js +0 -37
- data/node_modules/lodash/takeRight.js +0 -39
- data/node_modules/lodash/takeRightWhile.js +0 -45
- data/node_modules/lodash/takeWhile.js +0 -45
- data/node_modules/lodash/tap.js +0 -29
- data/node_modules/lodash/template.js +0 -272
- data/node_modules/lodash/templateSettings.js +0 -67
- data/node_modules/lodash/throttle.js +0 -69
- data/node_modules/lodash/thru.js +0 -28
- data/node_modules/lodash/times.js +0 -51
- data/node_modules/lodash/toArray.js +0 -58
- data/node_modules/lodash/toFinite.js +0 -42
- data/node_modules/lodash/toInteger.js +0 -36
- data/node_modules/lodash/toIterator.js +0 -23
- data/node_modules/lodash/toJSON.js +0 -1
- data/node_modules/lodash/toLength.js +0 -38
- data/node_modules/lodash/toLower.js +0 -28
- data/node_modules/lodash/toNumber.js +0 -64
- data/node_modules/lodash/toPairs.js +0 -30
- data/node_modules/lodash/toPairsIn.js +0 -30
- data/node_modules/lodash/toPath.js +0 -33
- data/node_modules/lodash/toPlainObject.js +0 -32
- data/node_modules/lodash/toSafeInteger.js +0 -37
- data/node_modules/lodash/toString.js +0 -28
- data/node_modules/lodash/toUpper.js +0 -28
- data/node_modules/lodash/transform.js +0 -65
- data/node_modules/lodash/trim.js +0 -47
- data/node_modules/lodash/trimEnd.js +0 -41
- data/node_modules/lodash/trimStart.js +0 -43
- data/node_modules/lodash/truncate.js +0 -111
- data/node_modules/lodash/unary.js +0 -22
- data/node_modules/lodash/unescape.js +0 -34
- data/node_modules/lodash/union.js +0 -26
- data/node_modules/lodash/unionBy.js +0 -39
- data/node_modules/lodash/unionWith.js +0 -34
- data/node_modules/lodash/uniq.js +0 -25
- data/node_modules/lodash/uniqBy.js +0 -31
- data/node_modules/lodash/uniqWith.js +0 -28
- data/node_modules/lodash/uniqueId.js +0 -28
- data/node_modules/lodash/unset.js +0 -34
- data/node_modules/lodash/unzip.js +0 -45
- data/node_modules/lodash/unzipWith.js +0 -39
- data/node_modules/lodash/update.js +0 -35
- data/node_modules/lodash/updateWith.js +0 -33
- data/node_modules/lodash/upperCase.js +0 -27
- data/node_modules/lodash/upperFirst.js +0 -22
- data/node_modules/lodash/util.js +0 -34
- data/node_modules/lodash/value.js +0 -1
- data/node_modules/lodash/valueOf.js +0 -1
- data/node_modules/lodash/values.js +0 -34
- data/node_modules/lodash/valuesIn.js +0 -32
- data/node_modules/lodash/without.js +0 -31
- data/node_modules/lodash/words.js +0 -35
- data/node_modules/lodash/wrap.js +0 -30
- data/node_modules/lodash/wrapperAt.js +0 -48
- data/node_modules/lodash/wrapperChain.js +0 -34
- data/node_modules/lodash/wrapperLodash.js +0 -147
- data/node_modules/lodash/wrapperReverse.js +0 -44
- data/node_modules/lodash/wrapperValue.js +0 -21
- data/node_modules/lodash/xor.js +0 -28
- data/node_modules/lodash/xorBy.js +0 -39
- data/node_modules/lodash/xorWith.js +0 -34
- data/node_modules/lodash/zip.js +0 -22
- data/node_modules/lodash/zipObject.js +0 -24
- data/node_modules/lodash/zipObjectDeep.js +0 -23
- data/node_modules/lodash/zipWith.js +0 -32
- data/node_modules/lru-cache/LICENSE +0 -15
- data/node_modules/lru-cache/README.md +0 -166
- data/node_modules/lru-cache/index.js +0 -334
- data/node_modules/lru-cache/package.json +0 -34
- data/node_modules/mime-db/HISTORY.md +0 -486
- data/node_modules/mime-db/LICENSE +0 -22
- data/node_modules/mime-db/README.md +0 -100
- data/node_modules/mime-db/db.json +0 -8417
- data/node_modules/mime-db/index.js +0 -11
- data/node_modules/mime-db/package.json +0 -59
- data/node_modules/mime-types/HISTORY.md +0 -378
- data/node_modules/mime-types/LICENSE +0 -23
- data/node_modules/mime-types/README.md +0 -113
- data/node_modules/mime-types/index.js +0 -188
- data/node_modules/mime-types/package.json +0 -44
- data/node_modules/minimatch/LICENSE +0 -15
- data/node_modules/minimatch/README.md +0 -209
- data/node_modules/minimatch/minimatch.js +0 -923
- data/node_modules/minimatch/package.json +0 -30
- data/node_modules/ms/index.js +0 -162
- data/node_modules/ms/license.md +0 -21
- data/node_modules/ms/package.json +0 -37
- data/node_modules/ms/readme.md +0 -60
- data/node_modules/normalize-path/LICENSE +0 -21
- data/node_modules/normalize-path/README.md +0 -127
- data/node_modules/normalize-path/index.js +0 -35
- data/node_modules/normalize-path/package.json +0 -77
- data/node_modules/nwsapi/LICENSE +0 -22
- data/node_modules/nwsapi/README.md +0 -132
- data/node_modules/nwsapi/dist/lint.log +0 -0
- data/node_modules/nwsapi/package.json +0 -38
- data/node_modules/nwsapi/src/modules/nwsapi-jquery.js +0 -135
- data/node_modules/nwsapi/src/modules/nwsapi-traversal.js +0 -90
- data/node_modules/nwsapi/src/nwsapi.js +0 -1800
- data/node_modules/once/LICENSE +0 -15
- data/node_modules/once/README.md +0 -79
- data/node_modules/once/once.js +0 -42
- data/node_modules/once/package.json +0 -33
- data/node_modules/optionator/CHANGELOG.md +0 -56
- data/node_modules/optionator/LICENSE +0 -22
- data/node_modules/optionator/README.md +0 -238
- data/node_modules/optionator/lib/help.js +0 -260
- data/node_modules/optionator/lib/index.js +0 -465
- data/node_modules/optionator/lib/util.js +0 -54
- data/node_modules/optionator/package.json +0 -44
- data/node_modules/parse5/LICENSE +0 -19
- data/node_modules/parse5/README.md +0 -38
- data/node_modules/parse5/lib/common/doctype.js +0 -162
- data/node_modules/parse5/lib/common/error-codes.js +0 -65
- data/node_modules/parse5/lib/common/foreign-content.js +0 -265
- data/node_modules/parse5/lib/common/html.js +0 -272
- data/node_modules/parse5/lib/common/unicode.js +0 -109
- data/node_modules/parse5/lib/extensions/error-reporting/mixin-base.js +0 -43
- data/node_modules/parse5/lib/extensions/error-reporting/parser-mixin.js +0 -52
- data/node_modules/parse5/lib/extensions/error-reporting/preprocessor-mixin.js +0 -24
- data/node_modules/parse5/lib/extensions/error-reporting/tokenizer-mixin.js +0 -17
- data/node_modules/parse5/lib/extensions/location-info/open-element-stack-mixin.js +0 -35
- data/node_modules/parse5/lib/extensions/location-info/parser-mixin.js +0 -223
- data/node_modules/parse5/lib/extensions/location-info/tokenizer-mixin.js +0 -146
- data/node_modules/parse5/lib/extensions/position-tracking/preprocessor-mixin.js +0 -64
- data/node_modules/parse5/lib/index.js +0 -29
- data/node_modules/parse5/lib/parser/formatting-element-list.js +0 -181
- data/node_modules/parse5/lib/parser/index.js +0 -2956
- data/node_modules/parse5/lib/parser/open-element-stack.js +0 -482
- data/node_modules/parse5/lib/serializer/index.js +0 -176
- data/node_modules/parse5/lib/tokenizer/index.js +0 -2196
- data/node_modules/parse5/lib/tokenizer/named-entity-data.js +0 -5
- data/node_modules/parse5/lib/tokenizer/preprocessor.js +0 -159
- data/node_modules/parse5/lib/tree-adapters/default.js +0 -221
- data/node_modules/parse5/lib/utils/merge-options.js +0 -13
- data/node_modules/parse5/lib/utils/mixin.js +0 -39
- data/node_modules/parse5/package.json +0 -35
- data/node_modules/path-is-absolute/index.js +0 -20
- data/node_modules/path-is-absolute/license +0 -21
- data/node_modules/path-is-absolute/package.json +0 -43
- data/node_modules/path-is-absolute/readme.md +0 -59
- data/node_modules/path-key/index.d.ts +0 -40
- data/node_modules/path-key/index.js +0 -16
- data/node_modules/path-key/license +0 -9
- data/node_modules/path-key/package.json +0 -39
- data/node_modules/path-key/readme.md +0 -61
- data/node_modules/picomatch/CHANGELOG.md +0 -126
- data/node_modules/picomatch/LICENSE +0 -21
- data/node_modules/picomatch/README.md +0 -707
- data/node_modules/picomatch/index.js +0 -3
- data/node_modules/picomatch/lib/constants.js +0 -179
- data/node_modules/picomatch/lib/parse.js +0 -1084
- data/node_modules/picomatch/lib/picomatch.js +0 -342
- data/node_modules/picomatch/lib/scan.js +0 -391
- data/node_modules/picomatch/lib/utils.js +0 -64
- data/node_modules/picomatch/package.json +0 -81
- data/node_modules/prelude-ls/CHANGELOG.md +0 -99
- data/node_modules/prelude-ls/LICENSE +0 -22
- data/node_modules/prelude-ls/README.md +0 -15
- data/node_modules/prelude-ls/lib/Func.js +0 -65
- data/node_modules/prelude-ls/lib/List.js +0 -686
- data/node_modules/prelude-ls/lib/Num.js +0 -130
- data/node_modules/prelude-ls/lib/Obj.js +0 -154
- data/node_modules/prelude-ls/lib/Str.js +0 -92
- data/node_modules/prelude-ls/lib/index.js +0 -178
- data/node_modules/prelude-ls/package.json +0 -52
- data/node_modules/psl/LICENSE +0 -9
- data/node_modules/psl/README.md +0 -215
- data/node_modules/psl/browserstack-logo.svg +0 -90
- data/node_modules/psl/data/rules.json +0 -8834
- data/node_modules/psl/dist/psl.js +0 -9645
- data/node_modules/psl/dist/psl.min.js +0 -1
- data/node_modules/psl/index.js +0 -269
- data/node_modules/psl/package.json +0 -44
- data/node_modules/punycode/LICENSE-MIT.txt +0 -20
- data/node_modules/punycode/README.md +0 -122
- data/node_modules/punycode/package.json +0 -58
- data/node_modules/punycode/punycode.es6.js +0 -441
- data/node_modules/punycode/punycode.js +0 -440
- data/node_modules/readdirp/LICENSE +0 -21
- data/node_modules/readdirp/README.md +0 -122
- data/node_modules/readdirp/index.d.ts +0 -43
- data/node_modules/readdirp/index.js +0 -287
- data/node_modules/readdirp/package.json +0 -122
- data/node_modules/require-directory/LICENSE +0 -22
- data/node_modules/require-directory/README.markdown +0 -184
- data/node_modules/require-directory/index.js +0 -86
- data/node_modules/require-directory/package.json +0 -40
- data/node_modules/safer-buffer/LICENSE +0 -21
- data/node_modules/safer-buffer/Porting-Buffer.md +0 -268
- data/node_modules/safer-buffer/Readme.md +0 -156
- data/node_modules/safer-buffer/dangerous.js +0 -58
- data/node_modules/safer-buffer/package.json +0 -34
- data/node_modules/safer-buffer/safer.js +0 -77
- data/node_modules/safer-buffer/tests.js +0 -406
- data/node_modules/saxes/README.md +0 -323
- data/node_modules/saxes/package.json +0 -70
- data/node_modules/saxes/saxes.d.ts +0 -635
- data/node_modules/saxes/saxes.js +0 -2064
- data/node_modules/saxes/saxes.js.map +0 -1
- data/node_modules/semver/CHANGELOG.md +0 -111
- data/node_modules/semver/LICENSE +0 -15
- data/node_modules/semver/README.md +0 -566
- data/node_modules/semver/bin/semver.js +0 -173
- data/node_modules/semver/classes/comparator.js +0 -135
- data/node_modules/semver/classes/index.js +0 -5
- data/node_modules/semver/classes/range.js +0 -510
- data/node_modules/semver/classes/semver.js +0 -287
- data/node_modules/semver/functions/clean.js +0 -6
- data/node_modules/semver/functions/cmp.js +0 -48
- data/node_modules/semver/functions/coerce.js +0 -51
- data/node_modules/semver/functions/compare-build.js +0 -7
- data/node_modules/semver/functions/compare-loose.js +0 -3
- data/node_modules/semver/functions/compare.js +0 -5
- data/node_modules/semver/functions/diff.js +0 -23
- data/node_modules/semver/functions/eq.js +0 -3
- data/node_modules/semver/functions/gt.js +0 -3
- data/node_modules/semver/functions/gte.js +0 -3
- data/node_modules/semver/functions/inc.js +0 -15
- data/node_modules/semver/functions/lt.js +0 -3
- data/node_modules/semver/functions/lte.js +0 -3
- data/node_modules/semver/functions/major.js +0 -3
- data/node_modules/semver/functions/minor.js +0 -3
- data/node_modules/semver/functions/neq.js +0 -3
- data/node_modules/semver/functions/parse.js +0 -33
- data/node_modules/semver/functions/patch.js +0 -3
- data/node_modules/semver/functions/prerelease.js +0 -6
- data/node_modules/semver/functions/rcompare.js +0 -3
- data/node_modules/semver/functions/rsort.js +0 -3
- data/node_modules/semver/functions/satisfies.js +0 -10
- data/node_modules/semver/functions/sort.js +0 -3
- data/node_modules/semver/functions/valid.js +0 -6
- data/node_modules/semver/index.js +0 -48
- data/node_modules/semver/internal/constants.js +0 -17
- data/node_modules/semver/internal/debug.js +0 -9
- data/node_modules/semver/internal/identifiers.js +0 -23
- data/node_modules/semver/internal/parse-options.js +0 -11
- data/node_modules/semver/internal/re.js +0 -182
- data/node_modules/semver/package.json +0 -41
- data/node_modules/semver/preload.js +0 -2
- data/node_modules/semver/range.bnf +0 -16
- data/node_modules/semver/ranges/gtr.js +0 -4
- data/node_modules/semver/ranges/intersects.js +0 -7
- data/node_modules/semver/ranges/ltr.js +0 -4
- data/node_modules/semver/ranges/max-satisfying.js +0 -25
- data/node_modules/semver/ranges/min-satisfying.js +0 -24
- data/node_modules/semver/ranges/min-version.js +0 -60
- data/node_modules/semver/ranges/outside.js +0 -80
- data/node_modules/semver/ranges/simplify.js +0 -44
- data/node_modules/semver/ranges/subset.js +0 -222
- data/node_modules/semver/ranges/to-comparators.js +0 -8
- data/node_modules/semver/ranges/valid.js +0 -11
- data/node_modules/shebang-command/index.js +0 -19
- data/node_modules/shebang-command/license +0 -9
- data/node_modules/shebang-command/package.json +0 -34
- data/node_modules/shebang-command/readme.md +0 -34
- data/node_modules/shebang-regex/index.d.ts +0 -22
- data/node_modules/shebang-regex/index.js +0 -2
- data/node_modules/shebang-regex/license +0 -9
- data/node_modules/shebang-regex/package.json +0 -35
- data/node_modules/shebang-regex/readme.md +0 -33
- data/node_modules/simple-wcswidth/CHANGELOG.md +0 -13
- data/node_modules/simple-wcswidth/LICENSE +0 -21
- data/node_modules/simple-wcswidth/README.md +0 -100
- data/node_modules/simple-wcswidth/dist/index.d.ts +0 -3
- data/node_modules/simple-wcswidth/dist/index.js +0 -10
- data/node_modules/simple-wcswidth/dist/src/binary-search.d.ts +0 -3
- data/node_modules/simple-wcswidth/dist/src/binary-search.js +0 -24
- data/node_modules/simple-wcswidth/dist/src/models.d.ts +0 -4
- data/node_modules/simple-wcswidth/dist/src/models.js +0 -2
- data/node_modules/simple-wcswidth/dist/src/non-spacing-chars.d.ts +0 -3
- data/node_modules/simple-wcswidth/dist/src/non-spacing-chars.js +0 -149
- data/node_modules/simple-wcswidth/dist/src/wcswidth.d.ts +0 -2
- data/node_modules/simple-wcswidth/dist/src/wcswidth.js +0 -20
- data/node_modules/simple-wcswidth/dist/src/wcwidth.d.ts +0 -2
- data/node_modules/simple-wcswidth/dist/src/wcwidth.js +0 -67
- data/node_modules/simple-wcswidth/package.json +0 -44
- data/node_modules/source-map/CHANGELOG.md +0 -301
- data/node_modules/source-map/LICENSE +0 -28
- data/node_modules/source-map/README.md +0 -742
- data/node_modules/source-map/dist/source-map.debug.js +0 -3234
- data/node_modules/source-map/dist/source-map.js +0 -3233
- data/node_modules/source-map/dist/source-map.min.js +0 -2
- data/node_modules/source-map/dist/source-map.min.js.map +0 -1
- data/node_modules/source-map/lib/array-set.js +0 -121
- data/node_modules/source-map/lib/base64-vlq.js +0 -140
- data/node_modules/source-map/lib/base64.js +0 -67
- data/node_modules/source-map/lib/binary-search.js +0 -111
- data/node_modules/source-map/lib/mapping-list.js +0 -79
- data/node_modules/source-map/lib/quick-sort.js +0 -114
- data/node_modules/source-map/lib/source-map-consumer.js +0 -1145
- data/node_modules/source-map/lib/source-map-generator.js +0 -425
- data/node_modules/source-map/lib/source-node.js +0 -413
- data/node_modules/source-map/lib/util.js +0 -488
- data/node_modules/source-map/package.json +0 -73
- data/node_modules/source-map/source-map.d.ts +0 -98
- data/node_modules/source-map/source-map.js +0 -8
- data/node_modules/sprintf-js/LICENSE +0 -24
- data/node_modules/sprintf-js/README.md +0 -88
- data/node_modules/sprintf-js/bower.json +0 -14
- data/node_modules/sprintf-js/demo/angular.html +0 -20
- data/node_modules/sprintf-js/dist/angular-sprintf.min.js +0 -4
- data/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +0 -1
- data/node_modules/sprintf-js/dist/angular-sprintf.min.map +0 -1
- data/node_modules/sprintf-js/dist/sprintf.min.js +0 -4
- data/node_modules/sprintf-js/dist/sprintf.min.js.map +0 -1
- data/node_modules/sprintf-js/dist/sprintf.min.map +0 -1
- data/node_modules/sprintf-js/gruntfile.js +0 -36
- data/node_modules/sprintf-js/package.json +0 -22
- data/node_modules/sprintf-js/src/angular-sprintf.js +0 -18
- data/node_modules/sprintf-js/src/sprintf.js +0 -208
- data/node_modules/sprintf-js/test/test.js +0 -82
- data/node_modules/sqlite-parser/CHANGELOG.md +0 -1263
- data/node_modules/sqlite-parser/LICENSE +0 -22
- data/node_modules/sqlite-parser/README.md +0 -187
- data/node_modules/sqlite-parser/bin/sqlite-parser +0 -7
- data/node_modules/sqlite-parser/dist/sqlite-parser.js +0 -19
- data/node_modules/sqlite-parser/lib/index.js +0 -6
- data/node_modules/sqlite-parser/lib/parser.js +0 -6
- data/node_modules/sqlite-parser/lib/streaming-shim.js +0 -6
- data/node_modules/sqlite-parser/lib/streaming.js +0 -6
- data/node_modules/sqlite-parser/lib/tracer.js +0 -6
- data/node_modules/sqlite-parser/package.json +0 -75
- data/node_modules/string-width/index.d.ts +0 -29
- data/node_modules/string-width/index.js +0 -47
- data/node_modules/string-width/license +0 -9
- data/node_modules/string-width/package.json +0 -56
- data/node_modules/string-width/readme.md +0 -50
- data/node_modules/strip-ansi/index.d.ts +0 -17
- data/node_modules/strip-ansi/index.js +0 -4
- data/node_modules/strip-ansi/license +0 -9
- data/node_modules/strip-ansi/package.json +0 -54
- data/node_modules/strip-ansi/readme.md +0 -46
- data/node_modules/symbol-tree/LICENSE +0 -21
- data/node_modules/symbol-tree/README.md +0 -545
- data/node_modules/symbol-tree/lib/SymbolTree.js +0 -838
- data/node_modules/symbol-tree/lib/SymbolTreeNode.js +0 -54
- data/node_modules/symbol-tree/lib/TreeIterator.js +0 -69
- data/node_modules/symbol-tree/lib/TreePosition.js +0 -11
- data/node_modules/symbol-tree/package.json +0 -47
- data/node_modules/to-regex-range/LICENSE +0 -21
- data/node_modules/to-regex-range/README.md +0 -305
- data/node_modules/to-regex-range/index.js +0 -288
- data/node_modules/to-regex-range/package.json +0 -88
- data/node_modules/tough-cookie/LICENSE +0 -12
- data/node_modules/tough-cookie/README.md +0 -582
- data/node_modules/tough-cookie/lib/cookie.js +0 -1671
- data/node_modules/tough-cookie/lib/memstore.js +0 -190
- data/node_modules/tough-cookie/lib/pathMatch.js +0 -61
- data/node_modules/tough-cookie/lib/permuteDomain.js +0 -70
- data/node_modules/tough-cookie/lib/pubsuffix-psl.js +0 -38
- data/node_modules/tough-cookie/lib/store.js +0 -76
- data/node_modules/tough-cookie/lib/version.js +0 -2
- data/node_modules/tough-cookie/node_modules/universalify/LICENSE +0 -20
- data/node_modules/tough-cookie/node_modules/universalify/README.md +0 -76
- data/node_modules/tough-cookie/node_modules/universalify/index.js +0 -25
- data/node_modules/tough-cookie/node_modules/universalify/package.json +0 -34
- data/node_modules/tough-cookie/package.json +0 -109
- data/node_modules/tr46/LICENSE.md +0 -21
- data/node_modules/tr46/README.md +0 -72
- data/node_modules/tr46/index.js +0 -297
- data/node_modules/tr46/lib/mappingTable.json +0 -1
- data/node_modules/tr46/lib/regexes.js +0 -29
- data/node_modules/tr46/lib/statusMapping.js +0 -11
- data/node_modules/tr46/package.json +0 -46
- data/node_modules/type-check/LICENSE +0 -22
- data/node_modules/type-check/README.md +0 -210
- data/node_modules/type-check/lib/check.js +0 -126
- data/node_modules/type-check/lib/index.js +0 -16
- data/node_modules/type-check/lib/parse-type.js +0 -196
- data/node_modules/type-check/package.json +0 -40
- data/node_modules/universalify/LICENSE +0 -20
- data/node_modules/universalify/README.md +0 -76
- data/node_modules/universalify/index.js +0 -24
- data/node_modules/universalify/package.json +0 -34
- data/node_modules/w3c-hr-time/CHANGELOG.md +0 -19
- data/node_modules/w3c-hr-time/LICENSE.md +0 -21
- data/node_modules/w3c-hr-time/README.md +0 -130
- data/node_modules/w3c-hr-time/index.js +0 -11
- data/node_modules/w3c-hr-time/lib/calculate-clock-offset.js +0 -39
- data/node_modules/w3c-hr-time/lib/clock-is-accurate.js +0 -61
- data/node_modules/w3c-hr-time/lib/global-monotonic-clock.js +0 -10
- data/node_modules/w3c-hr-time/lib/performance.js +0 -53
- data/node_modules/w3c-hr-time/lib/utils.js +0 -11
- data/node_modules/w3c-hr-time/package.json +0 -26
- data/node_modules/w3c-xmlserializer/LICENSE.md +0 -25
- data/node_modules/w3c-xmlserializer/README.md +0 -41
- data/node_modules/w3c-xmlserializer/lib/attributes.js +0 -128
- data/node_modules/w3c-xmlserializer/lib/constants.js +0 -44
- data/node_modules/w3c-xmlserializer/lib/serialize.js +0 -371
- data/node_modules/w3c-xmlserializer/package.json +0 -32
- data/node_modules/webidl-conversions/LICENSE.md +0 -12
- data/node_modules/webidl-conversions/README.md +0 -101
- data/node_modules/webidl-conversions/lib/index.js +0 -489
- data/node_modules/webidl-conversions/package.json +0 -30
- data/node_modules/whatwg-encoding/LICENSE.txt +0 -7
- data/node_modules/whatwg-encoding/README.md +0 -50
- data/node_modules/whatwg-encoding/lib/labels-to-names.json +0 -207
- data/node_modules/whatwg-encoding/lib/supported-names.json +0 -37
- data/node_modules/whatwg-encoding/lib/whatwg-encoding.js +0 -47
- data/node_modules/whatwg-encoding/package.json +0 -29
- data/node_modules/whatwg-mimetype/LICENSE.txt +0 -7
- data/node_modules/whatwg-mimetype/README.md +0 -101
- data/node_modules/whatwg-mimetype/lib/mime-type.js +0 -191
- data/node_modules/whatwg-mimetype/lib/parser.js +0 -124
- data/node_modules/whatwg-mimetype/lib/serializer.js +0 -25
- data/node_modules/whatwg-mimetype/lib/utils.js +0 -25
- data/node_modules/whatwg-mimetype/package.json +0 -43
- data/node_modules/whatwg-url/LICENSE.txt +0 -21
- data/node_modules/whatwg-url/README.md +0 -104
- data/node_modules/whatwg-url/dist/Function.js +0 -46
- data/node_modules/whatwg-url/dist/URL-impl.js +0 -217
- data/node_modules/whatwg-url/dist/URL.js +0 -417
- data/node_modules/whatwg-url/dist/URLSearchParams-impl.js +0 -122
- data/node_modules/whatwg-url/dist/URLSearchParams.js +0 -457
- data/node_modules/whatwg-url/dist/VoidFunction.js +0 -30
- data/node_modules/whatwg-url/dist/encoding.js +0 -26
- data/node_modules/whatwg-url/dist/infra.js +0 -26
- data/node_modules/whatwg-url/dist/percent-encoding.js +0 -141
- data/node_modules/whatwg-url/dist/url-state-machine.js +0 -1210
- data/node_modules/whatwg-url/dist/urlencoded.js +0 -102
- data/node_modules/whatwg-url/dist/utils.js +0 -141
- data/node_modules/whatwg-url/index.js +0 -24
- data/node_modules/whatwg-url/package.json +0 -60
- data/node_modules/whatwg-url/webidl2js-wrapper.js +0 -7
- data/node_modules/which/CHANGELOG.md +0 -166
- data/node_modules/which/LICENSE +0 -15
- data/node_modules/which/README.md +0 -54
- data/node_modules/which/bin/node-which +0 -52
- data/node_modules/which/package.json +0 -43
- data/node_modules/which/which.js +0 -125
- data/node_modules/word-wrap/LICENSE +0 -21
- data/node_modules/word-wrap/README.md +0 -182
- data/node_modules/word-wrap/index.d.ts +0 -50
- data/node_modules/word-wrap/index.js +0 -46
- data/node_modules/word-wrap/package.json +0 -77
- data/node_modules/wrap-ansi/index.js +0 -216
- data/node_modules/wrap-ansi/license +0 -9
- data/node_modules/wrap-ansi/package.json +0 -62
- data/node_modules/wrap-ansi/readme.md +0 -91
- data/node_modules/wrappy/LICENSE +0 -15
- data/node_modules/wrappy/README.md +0 -36
- data/node_modules/wrappy/package.json +0 -29
- data/node_modules/wrappy/wrappy.js +0 -33
- data/node_modules/ws/LICENSE +0 -21
- data/node_modules/ws/README.md +0 -496
- data/node_modules/ws/browser.js +0 -8
- data/node_modules/ws/index.js +0 -10
- data/node_modules/ws/lib/buffer-util.js +0 -129
- data/node_modules/ws/lib/constants.js +0 -10
- data/node_modules/ws/lib/event-target.js +0 -184
- data/node_modules/ws/lib/extension.js +0 -223
- data/node_modules/ws/lib/limiter.js +0 -55
- data/node_modules/ws/lib/permessage-deflate.js +0 -518
- data/node_modules/ws/lib/receiver.js +0 -607
- data/node_modules/ws/lib/sender.js +0 -409
- data/node_modules/ws/lib/stream.js +0 -177
- data/node_modules/ws/lib/validation.js +0 -104
- data/node_modules/ws/lib/websocket-server.js +0 -447
- data/node_modules/ws/lib/websocket.js +0 -1078
- data/node_modules/ws/package.json +0 -56
- data/node_modules/xml-name-validator/LICENSE.txt +0 -176
- data/node_modules/xml-name-validator/README.md +0 -36
- data/node_modules/xml-name-validator/lib/generated-parser.js +0 -504
- data/node_modules/xml-name-validator/lib/grammar.pegjs +0 -35
- data/node_modules/xml-name-validator/lib/xml-name-validator.js +0 -17
- data/node_modules/xml-name-validator/package.json +0 -28
- data/node_modules/xmlchars/LICENSE +0 -18
- data/node_modules/xmlchars/README.md +0 -33
- data/node_modules/xmlchars/package.json +0 -51
- data/node_modules/xmlchars/xml/1.0/ed4.d.ts +0 -31
- data/node_modules/xmlchars/xml/1.0/ed4.js +0 -44
- data/node_modules/xmlchars/xml/1.0/ed4.js.map +0 -1
- data/node_modules/xmlchars/xml/1.0/ed5.d.ts +0 -51
- data/node_modules/xmlchars/xml/1.0/ed5.js +0 -105
- data/node_modules/xmlchars/xml/1.0/ed5.js.map +0 -1
- data/node_modules/xmlchars/xml/1.1/ed2.d.ts +0 -73
- data/node_modules/xmlchars/xml/1.1/ed2.js +0 -145
- data/node_modules/xmlchars/xml/1.1/ed2.js.map +0 -1
- data/node_modules/xmlchars/xmlchars.d.ts +0 -170
- data/node_modules/xmlchars/xmlchars.js +0 -191
- data/node_modules/xmlchars/xmlchars.js.map +0 -1
- data/node_modules/xmlchars/xmlns/1.0/ed3.d.ts +0 -28
- data/node_modules/xmlchars/xmlns/1.0/ed3.js +0 -65
- data/node_modules/xmlchars/xmlns/1.0/ed3.js.map +0 -1
- data/node_modules/y18n/CHANGELOG.md +0 -100
- data/node_modules/y18n/LICENSE +0 -13
- data/node_modules/y18n/README.md +0 -127
- data/node_modules/y18n/build/index.cjs +0 -203
- data/node_modules/y18n/build/lib/cjs.js +0 -6
- data/node_modules/y18n/build/lib/index.js +0 -174
- data/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
- data/node_modules/y18n/index.mjs +0 -8
- data/node_modules/y18n/package.json +0 -70
- data/node_modules/yallist/LICENSE +0 -15
- data/node_modules/yallist/README.md +0 -204
- data/node_modules/yallist/iterator.js +0 -8
- data/node_modules/yallist/package.json +0 -29
- data/node_modules/yallist/yallist.js +0 -426
- data/node_modules/yargs/CHANGELOG.md +0 -151
- data/node_modules/yargs/LICENSE +0 -21
- data/node_modules/yargs/README.md +0 -204
- data/node_modules/yargs/browser.mjs +0 -7
- data/node_modules/yargs/build/index.cjs +0 -1
- data/node_modules/yargs/build/lib/argsert.js +0 -62
- data/node_modules/yargs/build/lib/command.js +0 -436
- data/node_modules/yargs/build/lib/completion-templates.js +0 -48
- data/node_modules/yargs/build/lib/completion.js +0 -166
- data/node_modules/yargs/build/lib/middleware.js +0 -85
- data/node_modules/yargs/build/lib/parse-command.js +0 -32
- data/node_modules/yargs/build/lib/typings/common-types.js +0 -9
- data/node_modules/yargs/build/lib/typings/yargs-parser-types.js +0 -1
- data/node_modules/yargs/build/lib/usage.js +0 -567
- data/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
- data/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
- data/node_modules/yargs/build/lib/utils/levenshtein.js +0 -26
- data/node_modules/yargs/build/lib/utils/maybe-async-result.js +0 -17
- data/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
- data/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
- data/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
- data/node_modules/yargs/build/lib/utils/which-module.js +0 -10
- data/node_modules/yargs/build/lib/validation.js +0 -279
- data/node_modules/yargs/build/lib/yargs-factory.js +0 -1452
- data/node_modules/yargs/build/lib/yerror.js +0 -7
- data/node_modules/yargs/helpers/helpers.mjs +0 -10
- data/node_modules/yargs/helpers/index.js +0 -14
- data/node_modules/yargs/helpers/package.json +0 -3
- data/node_modules/yargs/index.cjs +0 -43
- data/node_modules/yargs/index.mjs +0 -8
- data/node_modules/yargs/lib/platform-shims/browser.mjs +0 -94
- data/node_modules/yargs/lib/platform-shims/esm.mjs +0 -67
- data/node_modules/yargs/locales/be.json +0 -46
- data/node_modules/yargs/locales/de.json +0 -46
- data/node_modules/yargs/locales/en.json +0 -51
- data/node_modules/yargs/locales/es.json +0 -46
- data/node_modules/yargs/locales/fi.json +0 -49
- data/node_modules/yargs/locales/fr.json +0 -53
- data/node_modules/yargs/locales/hi.json +0 -49
- data/node_modules/yargs/locales/hu.json +0 -46
- data/node_modules/yargs/locales/id.json +0 -50
- data/node_modules/yargs/locales/it.json +0 -46
- data/node_modules/yargs/locales/ja.json +0 -51
- data/node_modules/yargs/locales/ko.json +0 -49
- data/node_modules/yargs/locales/nb.json +0 -44
- data/node_modules/yargs/locales/nl.json +0 -49
- data/node_modules/yargs/locales/nn.json +0 -44
- data/node_modules/yargs/locales/pirate.json +0 -13
- data/node_modules/yargs/locales/pl.json +0 -49
- data/node_modules/yargs/locales/pt.json +0 -45
- data/node_modules/yargs/locales/pt_BR.json +0 -48
- data/node_modules/yargs/locales/ru.json +0 -46
- data/node_modules/yargs/locales/th.json +0 -46
- data/node_modules/yargs/locales/tr.json +0 -48
- data/node_modules/yargs/locales/uk_UA.json +0 -51
- data/node_modules/yargs/locales/zh_CN.json +0 -48
- data/node_modules/yargs/locales/zh_TW.json +0 -47
- data/node_modules/yargs/package.json +0 -116
- data/node_modules/yargs/yargs +0 -9
- data/node_modules/yargs-parser/CHANGELOG.md +0 -263
- data/node_modules/yargs-parser/LICENSE.txt +0 -14
- data/node_modules/yargs-parser/README.md +0 -518
- data/node_modules/yargs-parser/browser.js +0 -29
- data/node_modules/yargs-parser/build/index.cjs +0 -1042
- data/node_modules/yargs-parser/build/lib/index.js +0 -59
- data/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
- data/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
- data/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
- data/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1037
- data/node_modules/yargs-parser/package.json +0 -87
@@ -1,2956 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
const Tokenizer = require('../tokenizer');
|
4
|
-
const OpenElementStack = require('./open-element-stack');
|
5
|
-
const FormattingElementList = require('./formatting-element-list');
|
6
|
-
const LocationInfoParserMixin = require('../extensions/location-info/parser-mixin');
|
7
|
-
const ErrorReportingParserMixin = require('../extensions/error-reporting/parser-mixin');
|
8
|
-
const Mixin = require('../utils/mixin');
|
9
|
-
const defaultTreeAdapter = require('../tree-adapters/default');
|
10
|
-
const mergeOptions = require('../utils/merge-options');
|
11
|
-
const doctype = require('../common/doctype');
|
12
|
-
const foreignContent = require('../common/foreign-content');
|
13
|
-
const ERR = require('../common/error-codes');
|
14
|
-
const unicode = require('../common/unicode');
|
15
|
-
const HTML = require('../common/html');
|
16
|
-
|
17
|
-
//Aliases
|
18
|
-
const $ = HTML.TAG_NAMES;
|
19
|
-
const NS = HTML.NAMESPACES;
|
20
|
-
const ATTRS = HTML.ATTRS;
|
21
|
-
|
22
|
-
const DEFAULT_OPTIONS = {
|
23
|
-
scriptingEnabled: true,
|
24
|
-
sourceCodeLocationInfo: false,
|
25
|
-
onParseError: null,
|
26
|
-
treeAdapter: defaultTreeAdapter
|
27
|
-
};
|
28
|
-
|
29
|
-
//Misc constants
|
30
|
-
const HIDDEN_INPUT_TYPE = 'hidden';
|
31
|
-
|
32
|
-
//Adoption agency loops iteration count
|
33
|
-
const AA_OUTER_LOOP_ITER = 8;
|
34
|
-
const AA_INNER_LOOP_ITER = 3;
|
35
|
-
|
36
|
-
//Insertion modes
|
37
|
-
const INITIAL_MODE = 'INITIAL_MODE';
|
38
|
-
const BEFORE_HTML_MODE = 'BEFORE_HTML_MODE';
|
39
|
-
const BEFORE_HEAD_MODE = 'BEFORE_HEAD_MODE';
|
40
|
-
const IN_HEAD_MODE = 'IN_HEAD_MODE';
|
41
|
-
const IN_HEAD_NO_SCRIPT_MODE = 'IN_HEAD_NO_SCRIPT_MODE';
|
42
|
-
const AFTER_HEAD_MODE = 'AFTER_HEAD_MODE';
|
43
|
-
const IN_BODY_MODE = 'IN_BODY_MODE';
|
44
|
-
const TEXT_MODE = 'TEXT_MODE';
|
45
|
-
const IN_TABLE_MODE = 'IN_TABLE_MODE';
|
46
|
-
const IN_TABLE_TEXT_MODE = 'IN_TABLE_TEXT_MODE';
|
47
|
-
const IN_CAPTION_MODE = 'IN_CAPTION_MODE';
|
48
|
-
const IN_COLUMN_GROUP_MODE = 'IN_COLUMN_GROUP_MODE';
|
49
|
-
const IN_TABLE_BODY_MODE = 'IN_TABLE_BODY_MODE';
|
50
|
-
const IN_ROW_MODE = 'IN_ROW_MODE';
|
51
|
-
const IN_CELL_MODE = 'IN_CELL_MODE';
|
52
|
-
const IN_SELECT_MODE = 'IN_SELECT_MODE';
|
53
|
-
const IN_SELECT_IN_TABLE_MODE = 'IN_SELECT_IN_TABLE_MODE';
|
54
|
-
const IN_TEMPLATE_MODE = 'IN_TEMPLATE_MODE';
|
55
|
-
const AFTER_BODY_MODE = 'AFTER_BODY_MODE';
|
56
|
-
const IN_FRAMESET_MODE = 'IN_FRAMESET_MODE';
|
57
|
-
const AFTER_FRAMESET_MODE = 'AFTER_FRAMESET_MODE';
|
58
|
-
const AFTER_AFTER_BODY_MODE = 'AFTER_AFTER_BODY_MODE';
|
59
|
-
const AFTER_AFTER_FRAMESET_MODE = 'AFTER_AFTER_FRAMESET_MODE';
|
60
|
-
|
61
|
-
//Insertion mode reset map
|
62
|
-
const INSERTION_MODE_RESET_MAP = {
|
63
|
-
[$.TR]: IN_ROW_MODE,
|
64
|
-
[$.TBODY]: IN_TABLE_BODY_MODE,
|
65
|
-
[$.THEAD]: IN_TABLE_BODY_MODE,
|
66
|
-
[$.TFOOT]: IN_TABLE_BODY_MODE,
|
67
|
-
[$.CAPTION]: IN_CAPTION_MODE,
|
68
|
-
[$.COLGROUP]: IN_COLUMN_GROUP_MODE,
|
69
|
-
[$.TABLE]: IN_TABLE_MODE,
|
70
|
-
[$.BODY]: IN_BODY_MODE,
|
71
|
-
[$.FRAMESET]: IN_FRAMESET_MODE
|
72
|
-
};
|
73
|
-
|
74
|
-
//Template insertion mode switch map
|
75
|
-
const TEMPLATE_INSERTION_MODE_SWITCH_MAP = {
|
76
|
-
[$.CAPTION]: IN_TABLE_MODE,
|
77
|
-
[$.COLGROUP]: IN_TABLE_MODE,
|
78
|
-
[$.TBODY]: IN_TABLE_MODE,
|
79
|
-
[$.TFOOT]: IN_TABLE_MODE,
|
80
|
-
[$.THEAD]: IN_TABLE_MODE,
|
81
|
-
[$.COL]: IN_COLUMN_GROUP_MODE,
|
82
|
-
[$.TR]: IN_TABLE_BODY_MODE,
|
83
|
-
[$.TD]: IN_ROW_MODE,
|
84
|
-
[$.TH]: IN_ROW_MODE
|
85
|
-
};
|
86
|
-
|
87
|
-
//Token handlers map for insertion modes
|
88
|
-
const TOKEN_HANDLERS = {
|
89
|
-
[INITIAL_MODE]: {
|
90
|
-
[Tokenizer.CHARACTER_TOKEN]: tokenInInitialMode,
|
91
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: tokenInInitialMode,
|
92
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: ignoreToken,
|
93
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
94
|
-
[Tokenizer.DOCTYPE_TOKEN]: doctypeInInitialMode,
|
95
|
-
[Tokenizer.START_TAG_TOKEN]: tokenInInitialMode,
|
96
|
-
[Tokenizer.END_TAG_TOKEN]: tokenInInitialMode,
|
97
|
-
[Tokenizer.EOF_TOKEN]: tokenInInitialMode
|
98
|
-
},
|
99
|
-
[BEFORE_HTML_MODE]: {
|
100
|
-
[Tokenizer.CHARACTER_TOKEN]: tokenBeforeHtml,
|
101
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: tokenBeforeHtml,
|
102
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: ignoreToken,
|
103
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
104
|
-
[Tokenizer.DOCTYPE_TOKEN]: ignoreToken,
|
105
|
-
[Tokenizer.START_TAG_TOKEN]: startTagBeforeHtml,
|
106
|
-
[Tokenizer.END_TAG_TOKEN]: endTagBeforeHtml,
|
107
|
-
[Tokenizer.EOF_TOKEN]: tokenBeforeHtml
|
108
|
-
},
|
109
|
-
[BEFORE_HEAD_MODE]: {
|
110
|
-
[Tokenizer.CHARACTER_TOKEN]: tokenBeforeHead,
|
111
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: tokenBeforeHead,
|
112
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: ignoreToken,
|
113
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
114
|
-
[Tokenizer.DOCTYPE_TOKEN]: misplacedDoctype,
|
115
|
-
[Tokenizer.START_TAG_TOKEN]: startTagBeforeHead,
|
116
|
-
[Tokenizer.END_TAG_TOKEN]: endTagBeforeHead,
|
117
|
-
[Tokenizer.EOF_TOKEN]: tokenBeforeHead
|
118
|
-
},
|
119
|
-
[IN_HEAD_MODE]: {
|
120
|
-
[Tokenizer.CHARACTER_TOKEN]: tokenInHead,
|
121
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: tokenInHead,
|
122
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: insertCharacters,
|
123
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
124
|
-
[Tokenizer.DOCTYPE_TOKEN]: misplacedDoctype,
|
125
|
-
[Tokenizer.START_TAG_TOKEN]: startTagInHead,
|
126
|
-
[Tokenizer.END_TAG_TOKEN]: endTagInHead,
|
127
|
-
[Tokenizer.EOF_TOKEN]: tokenInHead
|
128
|
-
},
|
129
|
-
[IN_HEAD_NO_SCRIPT_MODE]: {
|
130
|
-
[Tokenizer.CHARACTER_TOKEN]: tokenInHeadNoScript,
|
131
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: tokenInHeadNoScript,
|
132
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: insertCharacters,
|
133
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
134
|
-
[Tokenizer.DOCTYPE_TOKEN]: misplacedDoctype,
|
135
|
-
[Tokenizer.START_TAG_TOKEN]: startTagInHeadNoScript,
|
136
|
-
[Tokenizer.END_TAG_TOKEN]: endTagInHeadNoScript,
|
137
|
-
[Tokenizer.EOF_TOKEN]: tokenInHeadNoScript
|
138
|
-
},
|
139
|
-
[AFTER_HEAD_MODE]: {
|
140
|
-
[Tokenizer.CHARACTER_TOKEN]: tokenAfterHead,
|
141
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: tokenAfterHead,
|
142
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: insertCharacters,
|
143
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
144
|
-
[Tokenizer.DOCTYPE_TOKEN]: misplacedDoctype,
|
145
|
-
[Tokenizer.START_TAG_TOKEN]: startTagAfterHead,
|
146
|
-
[Tokenizer.END_TAG_TOKEN]: endTagAfterHead,
|
147
|
-
[Tokenizer.EOF_TOKEN]: tokenAfterHead
|
148
|
-
},
|
149
|
-
[IN_BODY_MODE]: {
|
150
|
-
[Tokenizer.CHARACTER_TOKEN]: characterInBody,
|
151
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: ignoreToken,
|
152
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: whitespaceCharacterInBody,
|
153
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
154
|
-
[Tokenizer.DOCTYPE_TOKEN]: ignoreToken,
|
155
|
-
[Tokenizer.START_TAG_TOKEN]: startTagInBody,
|
156
|
-
[Tokenizer.END_TAG_TOKEN]: endTagInBody,
|
157
|
-
[Tokenizer.EOF_TOKEN]: eofInBody
|
158
|
-
},
|
159
|
-
[TEXT_MODE]: {
|
160
|
-
[Tokenizer.CHARACTER_TOKEN]: insertCharacters,
|
161
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: insertCharacters,
|
162
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: insertCharacters,
|
163
|
-
[Tokenizer.COMMENT_TOKEN]: ignoreToken,
|
164
|
-
[Tokenizer.DOCTYPE_TOKEN]: ignoreToken,
|
165
|
-
[Tokenizer.START_TAG_TOKEN]: ignoreToken,
|
166
|
-
[Tokenizer.END_TAG_TOKEN]: endTagInText,
|
167
|
-
[Tokenizer.EOF_TOKEN]: eofInText
|
168
|
-
},
|
169
|
-
[IN_TABLE_MODE]: {
|
170
|
-
[Tokenizer.CHARACTER_TOKEN]: characterInTable,
|
171
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: characterInTable,
|
172
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: characterInTable,
|
173
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
174
|
-
[Tokenizer.DOCTYPE_TOKEN]: ignoreToken,
|
175
|
-
[Tokenizer.START_TAG_TOKEN]: startTagInTable,
|
176
|
-
[Tokenizer.END_TAG_TOKEN]: endTagInTable,
|
177
|
-
[Tokenizer.EOF_TOKEN]: eofInBody
|
178
|
-
},
|
179
|
-
[IN_TABLE_TEXT_MODE]: {
|
180
|
-
[Tokenizer.CHARACTER_TOKEN]: characterInTableText,
|
181
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: ignoreToken,
|
182
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: whitespaceCharacterInTableText,
|
183
|
-
[Tokenizer.COMMENT_TOKEN]: tokenInTableText,
|
184
|
-
[Tokenizer.DOCTYPE_TOKEN]: tokenInTableText,
|
185
|
-
[Tokenizer.START_TAG_TOKEN]: tokenInTableText,
|
186
|
-
[Tokenizer.END_TAG_TOKEN]: tokenInTableText,
|
187
|
-
[Tokenizer.EOF_TOKEN]: tokenInTableText
|
188
|
-
},
|
189
|
-
[IN_CAPTION_MODE]: {
|
190
|
-
[Tokenizer.CHARACTER_TOKEN]: characterInBody,
|
191
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: ignoreToken,
|
192
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: whitespaceCharacterInBody,
|
193
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
194
|
-
[Tokenizer.DOCTYPE_TOKEN]: ignoreToken,
|
195
|
-
[Tokenizer.START_TAG_TOKEN]: startTagInCaption,
|
196
|
-
[Tokenizer.END_TAG_TOKEN]: endTagInCaption,
|
197
|
-
[Tokenizer.EOF_TOKEN]: eofInBody
|
198
|
-
},
|
199
|
-
[IN_COLUMN_GROUP_MODE]: {
|
200
|
-
[Tokenizer.CHARACTER_TOKEN]: tokenInColumnGroup,
|
201
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: tokenInColumnGroup,
|
202
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: insertCharacters,
|
203
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
204
|
-
[Tokenizer.DOCTYPE_TOKEN]: ignoreToken,
|
205
|
-
[Tokenizer.START_TAG_TOKEN]: startTagInColumnGroup,
|
206
|
-
[Tokenizer.END_TAG_TOKEN]: endTagInColumnGroup,
|
207
|
-
[Tokenizer.EOF_TOKEN]: eofInBody
|
208
|
-
},
|
209
|
-
[IN_TABLE_BODY_MODE]: {
|
210
|
-
[Tokenizer.CHARACTER_TOKEN]: characterInTable,
|
211
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: characterInTable,
|
212
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: characterInTable,
|
213
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
214
|
-
[Tokenizer.DOCTYPE_TOKEN]: ignoreToken,
|
215
|
-
[Tokenizer.START_TAG_TOKEN]: startTagInTableBody,
|
216
|
-
[Tokenizer.END_TAG_TOKEN]: endTagInTableBody,
|
217
|
-
[Tokenizer.EOF_TOKEN]: eofInBody
|
218
|
-
},
|
219
|
-
[IN_ROW_MODE]: {
|
220
|
-
[Tokenizer.CHARACTER_TOKEN]: characterInTable,
|
221
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: characterInTable,
|
222
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: characterInTable,
|
223
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
224
|
-
[Tokenizer.DOCTYPE_TOKEN]: ignoreToken,
|
225
|
-
[Tokenizer.START_TAG_TOKEN]: startTagInRow,
|
226
|
-
[Tokenizer.END_TAG_TOKEN]: endTagInRow,
|
227
|
-
[Tokenizer.EOF_TOKEN]: eofInBody
|
228
|
-
},
|
229
|
-
[IN_CELL_MODE]: {
|
230
|
-
[Tokenizer.CHARACTER_TOKEN]: characterInBody,
|
231
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: ignoreToken,
|
232
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: whitespaceCharacterInBody,
|
233
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
234
|
-
[Tokenizer.DOCTYPE_TOKEN]: ignoreToken,
|
235
|
-
[Tokenizer.START_TAG_TOKEN]: startTagInCell,
|
236
|
-
[Tokenizer.END_TAG_TOKEN]: endTagInCell,
|
237
|
-
[Tokenizer.EOF_TOKEN]: eofInBody
|
238
|
-
},
|
239
|
-
[IN_SELECT_MODE]: {
|
240
|
-
[Tokenizer.CHARACTER_TOKEN]: insertCharacters,
|
241
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: ignoreToken,
|
242
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: insertCharacters,
|
243
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
244
|
-
[Tokenizer.DOCTYPE_TOKEN]: ignoreToken,
|
245
|
-
[Tokenizer.START_TAG_TOKEN]: startTagInSelect,
|
246
|
-
[Tokenizer.END_TAG_TOKEN]: endTagInSelect,
|
247
|
-
[Tokenizer.EOF_TOKEN]: eofInBody
|
248
|
-
},
|
249
|
-
[IN_SELECT_IN_TABLE_MODE]: {
|
250
|
-
[Tokenizer.CHARACTER_TOKEN]: insertCharacters,
|
251
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: ignoreToken,
|
252
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: insertCharacters,
|
253
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
254
|
-
[Tokenizer.DOCTYPE_TOKEN]: ignoreToken,
|
255
|
-
[Tokenizer.START_TAG_TOKEN]: startTagInSelectInTable,
|
256
|
-
[Tokenizer.END_TAG_TOKEN]: endTagInSelectInTable,
|
257
|
-
[Tokenizer.EOF_TOKEN]: eofInBody
|
258
|
-
},
|
259
|
-
[IN_TEMPLATE_MODE]: {
|
260
|
-
[Tokenizer.CHARACTER_TOKEN]: characterInBody,
|
261
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: ignoreToken,
|
262
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: whitespaceCharacterInBody,
|
263
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
264
|
-
[Tokenizer.DOCTYPE_TOKEN]: ignoreToken,
|
265
|
-
[Tokenizer.START_TAG_TOKEN]: startTagInTemplate,
|
266
|
-
[Tokenizer.END_TAG_TOKEN]: endTagInTemplate,
|
267
|
-
[Tokenizer.EOF_TOKEN]: eofInTemplate
|
268
|
-
},
|
269
|
-
[AFTER_BODY_MODE]: {
|
270
|
-
[Tokenizer.CHARACTER_TOKEN]: tokenAfterBody,
|
271
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: tokenAfterBody,
|
272
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: whitespaceCharacterInBody,
|
273
|
-
[Tokenizer.COMMENT_TOKEN]: appendCommentToRootHtmlElement,
|
274
|
-
[Tokenizer.DOCTYPE_TOKEN]: ignoreToken,
|
275
|
-
[Tokenizer.START_TAG_TOKEN]: startTagAfterBody,
|
276
|
-
[Tokenizer.END_TAG_TOKEN]: endTagAfterBody,
|
277
|
-
[Tokenizer.EOF_TOKEN]: stopParsing
|
278
|
-
},
|
279
|
-
[IN_FRAMESET_MODE]: {
|
280
|
-
[Tokenizer.CHARACTER_TOKEN]: ignoreToken,
|
281
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: ignoreToken,
|
282
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: insertCharacters,
|
283
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
284
|
-
[Tokenizer.DOCTYPE_TOKEN]: ignoreToken,
|
285
|
-
[Tokenizer.START_TAG_TOKEN]: startTagInFrameset,
|
286
|
-
[Tokenizer.END_TAG_TOKEN]: endTagInFrameset,
|
287
|
-
[Tokenizer.EOF_TOKEN]: stopParsing
|
288
|
-
},
|
289
|
-
[AFTER_FRAMESET_MODE]: {
|
290
|
-
[Tokenizer.CHARACTER_TOKEN]: ignoreToken,
|
291
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: ignoreToken,
|
292
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: insertCharacters,
|
293
|
-
[Tokenizer.COMMENT_TOKEN]: appendComment,
|
294
|
-
[Tokenizer.DOCTYPE_TOKEN]: ignoreToken,
|
295
|
-
[Tokenizer.START_TAG_TOKEN]: startTagAfterFrameset,
|
296
|
-
[Tokenizer.END_TAG_TOKEN]: endTagAfterFrameset,
|
297
|
-
[Tokenizer.EOF_TOKEN]: stopParsing
|
298
|
-
},
|
299
|
-
[AFTER_AFTER_BODY_MODE]: {
|
300
|
-
[Tokenizer.CHARACTER_TOKEN]: tokenAfterAfterBody,
|
301
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: tokenAfterAfterBody,
|
302
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: whitespaceCharacterInBody,
|
303
|
-
[Tokenizer.COMMENT_TOKEN]: appendCommentToDocument,
|
304
|
-
[Tokenizer.DOCTYPE_TOKEN]: ignoreToken,
|
305
|
-
[Tokenizer.START_TAG_TOKEN]: startTagAfterAfterBody,
|
306
|
-
[Tokenizer.END_TAG_TOKEN]: tokenAfterAfterBody,
|
307
|
-
[Tokenizer.EOF_TOKEN]: stopParsing
|
308
|
-
},
|
309
|
-
[AFTER_AFTER_FRAMESET_MODE]: {
|
310
|
-
[Tokenizer.CHARACTER_TOKEN]: ignoreToken,
|
311
|
-
[Tokenizer.NULL_CHARACTER_TOKEN]: ignoreToken,
|
312
|
-
[Tokenizer.WHITESPACE_CHARACTER_TOKEN]: whitespaceCharacterInBody,
|
313
|
-
[Tokenizer.COMMENT_TOKEN]: appendCommentToDocument,
|
314
|
-
[Tokenizer.DOCTYPE_TOKEN]: ignoreToken,
|
315
|
-
[Tokenizer.START_TAG_TOKEN]: startTagAfterAfterFrameset,
|
316
|
-
[Tokenizer.END_TAG_TOKEN]: ignoreToken,
|
317
|
-
[Tokenizer.EOF_TOKEN]: stopParsing
|
318
|
-
}
|
319
|
-
};
|
320
|
-
|
321
|
-
//Parser
|
322
|
-
class Parser {
|
323
|
-
constructor(options) {
|
324
|
-
this.options = mergeOptions(DEFAULT_OPTIONS, options);
|
325
|
-
|
326
|
-
this.treeAdapter = this.options.treeAdapter;
|
327
|
-
this.pendingScript = null;
|
328
|
-
|
329
|
-
if (this.options.sourceCodeLocationInfo) {
|
330
|
-
Mixin.install(this, LocationInfoParserMixin);
|
331
|
-
}
|
332
|
-
|
333
|
-
if (this.options.onParseError) {
|
334
|
-
Mixin.install(this, ErrorReportingParserMixin, { onParseError: this.options.onParseError });
|
335
|
-
}
|
336
|
-
}
|
337
|
-
|
338
|
-
// API
|
339
|
-
parse(html) {
|
340
|
-
const document = this.treeAdapter.createDocument();
|
341
|
-
|
342
|
-
this._bootstrap(document, null);
|
343
|
-
this.tokenizer.write(html, true);
|
344
|
-
this._runParsingLoop(null);
|
345
|
-
|
346
|
-
return document;
|
347
|
-
}
|
348
|
-
|
349
|
-
parseFragment(html, fragmentContext) {
|
350
|
-
//NOTE: use <template> element as a fragment context if context element was not provided,
|
351
|
-
//so we will parse in "forgiving" manner
|
352
|
-
if (!fragmentContext) {
|
353
|
-
fragmentContext = this.treeAdapter.createElement($.TEMPLATE, NS.HTML, []);
|
354
|
-
}
|
355
|
-
|
356
|
-
//NOTE: create fake element which will be used as 'document' for fragment parsing.
|
357
|
-
//This is important for jsdom there 'document' can't be recreated, therefore
|
358
|
-
//fragment parsing causes messing of the main `document`.
|
359
|
-
const documentMock = this.treeAdapter.createElement('documentmock', NS.HTML, []);
|
360
|
-
|
361
|
-
this._bootstrap(documentMock, fragmentContext);
|
362
|
-
|
363
|
-
if (this.treeAdapter.getTagName(fragmentContext) === $.TEMPLATE) {
|
364
|
-
this._pushTmplInsertionMode(IN_TEMPLATE_MODE);
|
365
|
-
}
|
366
|
-
|
367
|
-
this._initTokenizerForFragmentParsing();
|
368
|
-
this._insertFakeRootElement();
|
369
|
-
this._resetInsertionMode();
|
370
|
-
this._findFormInFragmentContext();
|
371
|
-
this.tokenizer.write(html, true);
|
372
|
-
this._runParsingLoop(null);
|
373
|
-
|
374
|
-
const rootElement = this.treeAdapter.getFirstChild(documentMock);
|
375
|
-
const fragment = this.treeAdapter.createDocumentFragment();
|
376
|
-
|
377
|
-
this._adoptNodes(rootElement, fragment);
|
378
|
-
|
379
|
-
return fragment;
|
380
|
-
}
|
381
|
-
|
382
|
-
//Bootstrap parser
|
383
|
-
_bootstrap(document, fragmentContext) {
|
384
|
-
this.tokenizer = new Tokenizer(this.options);
|
385
|
-
|
386
|
-
this.stopped = false;
|
387
|
-
|
388
|
-
this.insertionMode = INITIAL_MODE;
|
389
|
-
this.originalInsertionMode = '';
|
390
|
-
|
391
|
-
this.document = document;
|
392
|
-
this.fragmentContext = fragmentContext;
|
393
|
-
|
394
|
-
this.headElement = null;
|
395
|
-
this.formElement = null;
|
396
|
-
|
397
|
-
this.openElements = new OpenElementStack(this.document, this.treeAdapter);
|
398
|
-
this.activeFormattingElements = new FormattingElementList(this.treeAdapter);
|
399
|
-
|
400
|
-
this.tmplInsertionModeStack = [];
|
401
|
-
this.tmplInsertionModeStackTop = -1;
|
402
|
-
this.currentTmplInsertionMode = null;
|
403
|
-
|
404
|
-
this.pendingCharacterTokens = [];
|
405
|
-
this.hasNonWhitespacePendingCharacterToken = false;
|
406
|
-
|
407
|
-
this.framesetOk = true;
|
408
|
-
this.skipNextNewLine = false;
|
409
|
-
this.fosterParentingEnabled = false;
|
410
|
-
}
|
411
|
-
|
412
|
-
//Errors
|
413
|
-
_err() {
|
414
|
-
// NOTE: err reporting is noop by default. Enabled by mixin.
|
415
|
-
}
|
416
|
-
|
417
|
-
//Parsing loop
|
418
|
-
_runParsingLoop(scriptHandler) {
|
419
|
-
while (!this.stopped) {
|
420
|
-
this._setupTokenizerCDATAMode();
|
421
|
-
|
422
|
-
const token = this.tokenizer.getNextToken();
|
423
|
-
|
424
|
-
if (token.type === Tokenizer.HIBERNATION_TOKEN) {
|
425
|
-
break;
|
426
|
-
}
|
427
|
-
|
428
|
-
if (this.skipNextNewLine) {
|
429
|
-
this.skipNextNewLine = false;
|
430
|
-
|
431
|
-
if (token.type === Tokenizer.WHITESPACE_CHARACTER_TOKEN && token.chars[0] === '\n') {
|
432
|
-
if (token.chars.length === 1) {
|
433
|
-
continue;
|
434
|
-
}
|
435
|
-
|
436
|
-
token.chars = token.chars.substr(1);
|
437
|
-
}
|
438
|
-
}
|
439
|
-
|
440
|
-
this._processInputToken(token);
|
441
|
-
|
442
|
-
if (scriptHandler && this.pendingScript) {
|
443
|
-
break;
|
444
|
-
}
|
445
|
-
}
|
446
|
-
}
|
447
|
-
|
448
|
-
runParsingLoopForCurrentChunk(writeCallback, scriptHandler) {
|
449
|
-
this._runParsingLoop(scriptHandler);
|
450
|
-
|
451
|
-
if (scriptHandler && this.pendingScript) {
|
452
|
-
const script = this.pendingScript;
|
453
|
-
|
454
|
-
this.pendingScript = null;
|
455
|
-
|
456
|
-
scriptHandler(script);
|
457
|
-
|
458
|
-
return;
|
459
|
-
}
|
460
|
-
|
461
|
-
if (writeCallback) {
|
462
|
-
writeCallback();
|
463
|
-
}
|
464
|
-
}
|
465
|
-
|
466
|
-
//Text parsing
|
467
|
-
_setupTokenizerCDATAMode() {
|
468
|
-
const current = this._getAdjustedCurrentElement();
|
469
|
-
|
470
|
-
this.tokenizer.allowCDATA =
|
471
|
-
current &&
|
472
|
-
current !== this.document &&
|
473
|
-
this.treeAdapter.getNamespaceURI(current) !== NS.HTML &&
|
474
|
-
!this._isIntegrationPoint(current);
|
475
|
-
}
|
476
|
-
|
477
|
-
_switchToTextParsing(currentToken, nextTokenizerState) {
|
478
|
-
this._insertElement(currentToken, NS.HTML);
|
479
|
-
this.tokenizer.state = nextTokenizerState;
|
480
|
-
this.originalInsertionMode = this.insertionMode;
|
481
|
-
this.insertionMode = TEXT_MODE;
|
482
|
-
}
|
483
|
-
|
484
|
-
switchToPlaintextParsing() {
|
485
|
-
this.insertionMode = TEXT_MODE;
|
486
|
-
this.originalInsertionMode = IN_BODY_MODE;
|
487
|
-
this.tokenizer.state = Tokenizer.MODE.PLAINTEXT;
|
488
|
-
}
|
489
|
-
|
490
|
-
//Fragment parsing
|
491
|
-
_getAdjustedCurrentElement() {
|
492
|
-
return this.openElements.stackTop === 0 && this.fragmentContext
|
493
|
-
? this.fragmentContext
|
494
|
-
: this.openElements.current;
|
495
|
-
}
|
496
|
-
|
497
|
-
_findFormInFragmentContext() {
|
498
|
-
let node = this.fragmentContext;
|
499
|
-
|
500
|
-
do {
|
501
|
-
if (this.treeAdapter.getTagName(node) === $.FORM) {
|
502
|
-
this.formElement = node;
|
503
|
-
break;
|
504
|
-
}
|
505
|
-
|
506
|
-
node = this.treeAdapter.getParentNode(node);
|
507
|
-
} while (node);
|
508
|
-
}
|
509
|
-
|
510
|
-
_initTokenizerForFragmentParsing() {
|
511
|
-
if (this.treeAdapter.getNamespaceURI(this.fragmentContext) === NS.HTML) {
|
512
|
-
const tn = this.treeAdapter.getTagName(this.fragmentContext);
|
513
|
-
|
514
|
-
if (tn === $.TITLE || tn === $.TEXTAREA) {
|
515
|
-
this.tokenizer.state = Tokenizer.MODE.RCDATA;
|
516
|
-
} else if (
|
517
|
-
tn === $.STYLE ||
|
518
|
-
tn === $.XMP ||
|
519
|
-
tn === $.IFRAME ||
|
520
|
-
tn === $.NOEMBED ||
|
521
|
-
tn === $.NOFRAMES ||
|
522
|
-
tn === $.NOSCRIPT
|
523
|
-
) {
|
524
|
-
this.tokenizer.state = Tokenizer.MODE.RAWTEXT;
|
525
|
-
} else if (tn === $.SCRIPT) {
|
526
|
-
this.tokenizer.state = Tokenizer.MODE.SCRIPT_DATA;
|
527
|
-
} else if (tn === $.PLAINTEXT) {
|
528
|
-
this.tokenizer.state = Tokenizer.MODE.PLAINTEXT;
|
529
|
-
}
|
530
|
-
}
|
531
|
-
}
|
532
|
-
|
533
|
-
//Tree mutation
|
534
|
-
_setDocumentType(token) {
|
535
|
-
const name = token.name || '';
|
536
|
-
const publicId = token.publicId || '';
|
537
|
-
const systemId = token.systemId || '';
|
538
|
-
|
539
|
-
this.treeAdapter.setDocumentType(this.document, name, publicId, systemId);
|
540
|
-
}
|
541
|
-
|
542
|
-
_attachElementToTree(element) {
|
543
|
-
if (this._shouldFosterParentOnInsertion()) {
|
544
|
-
this._fosterParentElement(element);
|
545
|
-
} else {
|
546
|
-
const parent = this.openElements.currentTmplContent || this.openElements.current;
|
547
|
-
|
548
|
-
this.treeAdapter.appendChild(parent, element);
|
549
|
-
}
|
550
|
-
}
|
551
|
-
|
552
|
-
_appendElement(token, namespaceURI) {
|
553
|
-
const element = this.treeAdapter.createElement(token.tagName, namespaceURI, token.attrs);
|
554
|
-
|
555
|
-
this._attachElementToTree(element);
|
556
|
-
}
|
557
|
-
|
558
|
-
_insertElement(token, namespaceURI) {
|
559
|
-
const element = this.treeAdapter.createElement(token.tagName, namespaceURI, token.attrs);
|
560
|
-
|
561
|
-
this._attachElementToTree(element);
|
562
|
-
this.openElements.push(element);
|
563
|
-
}
|
564
|
-
|
565
|
-
_insertFakeElement(tagName) {
|
566
|
-
const element = this.treeAdapter.createElement(tagName, NS.HTML, []);
|
567
|
-
|
568
|
-
this._attachElementToTree(element);
|
569
|
-
this.openElements.push(element);
|
570
|
-
}
|
571
|
-
|
572
|
-
_insertTemplate(token) {
|
573
|
-
const tmpl = this.treeAdapter.createElement(token.tagName, NS.HTML, token.attrs);
|
574
|
-
const content = this.treeAdapter.createDocumentFragment();
|
575
|
-
|
576
|
-
this.treeAdapter.setTemplateContent(tmpl, content);
|
577
|
-
this._attachElementToTree(tmpl);
|
578
|
-
this.openElements.push(tmpl);
|
579
|
-
}
|
580
|
-
|
581
|
-
_insertFakeRootElement() {
|
582
|
-
const element = this.treeAdapter.createElement($.HTML, NS.HTML, []);
|
583
|
-
|
584
|
-
this.treeAdapter.appendChild(this.openElements.current, element);
|
585
|
-
this.openElements.push(element);
|
586
|
-
}
|
587
|
-
|
588
|
-
_appendCommentNode(token, parent) {
|
589
|
-
const commentNode = this.treeAdapter.createCommentNode(token.data);
|
590
|
-
|
591
|
-
this.treeAdapter.appendChild(parent, commentNode);
|
592
|
-
}
|
593
|
-
|
594
|
-
_insertCharacters(token) {
|
595
|
-
if (this._shouldFosterParentOnInsertion()) {
|
596
|
-
this._fosterParentText(token.chars);
|
597
|
-
} else {
|
598
|
-
const parent = this.openElements.currentTmplContent || this.openElements.current;
|
599
|
-
|
600
|
-
this.treeAdapter.insertText(parent, token.chars);
|
601
|
-
}
|
602
|
-
}
|
603
|
-
|
604
|
-
_adoptNodes(donor, recipient) {
|
605
|
-
for (let child = this.treeAdapter.getFirstChild(donor); child; child = this.treeAdapter.getFirstChild(donor)) {
|
606
|
-
this.treeAdapter.detachNode(child);
|
607
|
-
this.treeAdapter.appendChild(recipient, child);
|
608
|
-
}
|
609
|
-
}
|
610
|
-
|
611
|
-
//Token processing
|
612
|
-
_shouldProcessTokenInForeignContent(token) {
|
613
|
-
const current = this._getAdjustedCurrentElement();
|
614
|
-
|
615
|
-
if (!current || current === this.document) {
|
616
|
-
return false;
|
617
|
-
}
|
618
|
-
|
619
|
-
const ns = this.treeAdapter.getNamespaceURI(current);
|
620
|
-
|
621
|
-
if (ns === NS.HTML) {
|
622
|
-
return false;
|
623
|
-
}
|
624
|
-
|
625
|
-
if (
|
626
|
-
this.treeAdapter.getTagName(current) === $.ANNOTATION_XML &&
|
627
|
-
ns === NS.MATHML &&
|
628
|
-
token.type === Tokenizer.START_TAG_TOKEN &&
|
629
|
-
token.tagName === $.SVG
|
630
|
-
) {
|
631
|
-
return false;
|
632
|
-
}
|
633
|
-
|
634
|
-
const isCharacterToken =
|
635
|
-
token.type === Tokenizer.CHARACTER_TOKEN ||
|
636
|
-
token.type === Tokenizer.NULL_CHARACTER_TOKEN ||
|
637
|
-
token.type === Tokenizer.WHITESPACE_CHARACTER_TOKEN;
|
638
|
-
|
639
|
-
const isMathMLTextStartTag =
|
640
|
-
token.type === Tokenizer.START_TAG_TOKEN && token.tagName !== $.MGLYPH && token.tagName !== $.MALIGNMARK;
|
641
|
-
|
642
|
-
if ((isMathMLTextStartTag || isCharacterToken) && this._isIntegrationPoint(current, NS.MATHML)) {
|
643
|
-
return false;
|
644
|
-
}
|
645
|
-
|
646
|
-
if (
|
647
|
-
(token.type === Tokenizer.START_TAG_TOKEN || isCharacterToken) &&
|
648
|
-
this._isIntegrationPoint(current, NS.HTML)
|
649
|
-
) {
|
650
|
-
return false;
|
651
|
-
}
|
652
|
-
|
653
|
-
return token.type !== Tokenizer.EOF_TOKEN;
|
654
|
-
}
|
655
|
-
|
656
|
-
_processToken(token) {
|
657
|
-
TOKEN_HANDLERS[this.insertionMode][token.type](this, token);
|
658
|
-
}
|
659
|
-
|
660
|
-
_processTokenInBodyMode(token) {
|
661
|
-
TOKEN_HANDLERS[IN_BODY_MODE][token.type](this, token);
|
662
|
-
}
|
663
|
-
|
664
|
-
_processTokenInForeignContent(token) {
|
665
|
-
if (token.type === Tokenizer.CHARACTER_TOKEN) {
|
666
|
-
characterInForeignContent(this, token);
|
667
|
-
} else if (token.type === Tokenizer.NULL_CHARACTER_TOKEN) {
|
668
|
-
nullCharacterInForeignContent(this, token);
|
669
|
-
} else if (token.type === Tokenizer.WHITESPACE_CHARACTER_TOKEN) {
|
670
|
-
insertCharacters(this, token);
|
671
|
-
} else if (token.type === Tokenizer.COMMENT_TOKEN) {
|
672
|
-
appendComment(this, token);
|
673
|
-
} else if (token.type === Tokenizer.START_TAG_TOKEN) {
|
674
|
-
startTagInForeignContent(this, token);
|
675
|
-
} else if (token.type === Tokenizer.END_TAG_TOKEN) {
|
676
|
-
endTagInForeignContent(this, token);
|
677
|
-
}
|
678
|
-
}
|
679
|
-
|
680
|
-
_processInputToken(token) {
|
681
|
-
if (this._shouldProcessTokenInForeignContent(token)) {
|
682
|
-
this._processTokenInForeignContent(token);
|
683
|
-
} else {
|
684
|
-
this._processToken(token);
|
685
|
-
}
|
686
|
-
|
687
|
-
if (token.type === Tokenizer.START_TAG_TOKEN && token.selfClosing && !token.ackSelfClosing) {
|
688
|
-
this._err(ERR.nonVoidHtmlElementStartTagWithTrailingSolidus);
|
689
|
-
}
|
690
|
-
}
|
691
|
-
|
692
|
-
//Integration points
|
693
|
-
_isIntegrationPoint(element, foreignNS) {
|
694
|
-
const tn = this.treeAdapter.getTagName(element);
|
695
|
-
const ns = this.treeAdapter.getNamespaceURI(element);
|
696
|
-
const attrs = this.treeAdapter.getAttrList(element);
|
697
|
-
|
698
|
-
return foreignContent.isIntegrationPoint(tn, ns, attrs, foreignNS);
|
699
|
-
}
|
700
|
-
|
701
|
-
//Active formatting elements reconstruction
|
702
|
-
_reconstructActiveFormattingElements() {
|
703
|
-
const listLength = this.activeFormattingElements.length;
|
704
|
-
|
705
|
-
if (listLength) {
|
706
|
-
let unopenIdx = listLength;
|
707
|
-
let entry = null;
|
708
|
-
|
709
|
-
do {
|
710
|
-
unopenIdx--;
|
711
|
-
entry = this.activeFormattingElements.entries[unopenIdx];
|
712
|
-
|
713
|
-
if (entry.type === FormattingElementList.MARKER_ENTRY || this.openElements.contains(entry.element)) {
|
714
|
-
unopenIdx++;
|
715
|
-
break;
|
716
|
-
}
|
717
|
-
} while (unopenIdx > 0);
|
718
|
-
|
719
|
-
for (let i = unopenIdx; i < listLength; i++) {
|
720
|
-
entry = this.activeFormattingElements.entries[i];
|
721
|
-
this._insertElement(entry.token, this.treeAdapter.getNamespaceURI(entry.element));
|
722
|
-
entry.element = this.openElements.current;
|
723
|
-
}
|
724
|
-
}
|
725
|
-
}
|
726
|
-
|
727
|
-
//Close elements
|
728
|
-
_closeTableCell() {
|
729
|
-
this.openElements.generateImpliedEndTags();
|
730
|
-
this.openElements.popUntilTableCellPopped();
|
731
|
-
this.activeFormattingElements.clearToLastMarker();
|
732
|
-
this.insertionMode = IN_ROW_MODE;
|
733
|
-
}
|
734
|
-
|
735
|
-
_closePElement() {
|
736
|
-
this.openElements.generateImpliedEndTagsWithExclusion($.P);
|
737
|
-
this.openElements.popUntilTagNamePopped($.P);
|
738
|
-
}
|
739
|
-
|
740
|
-
//Insertion modes
|
741
|
-
_resetInsertionMode() {
|
742
|
-
for (let i = this.openElements.stackTop, last = false; i >= 0; i--) {
|
743
|
-
let element = this.openElements.items[i];
|
744
|
-
|
745
|
-
if (i === 0) {
|
746
|
-
last = true;
|
747
|
-
|
748
|
-
if (this.fragmentContext) {
|
749
|
-
element = this.fragmentContext;
|
750
|
-
}
|
751
|
-
}
|
752
|
-
|
753
|
-
const tn = this.treeAdapter.getTagName(element);
|
754
|
-
const newInsertionMode = INSERTION_MODE_RESET_MAP[tn];
|
755
|
-
|
756
|
-
if (newInsertionMode) {
|
757
|
-
this.insertionMode = newInsertionMode;
|
758
|
-
break;
|
759
|
-
} else if (!last && (tn === $.TD || tn === $.TH)) {
|
760
|
-
this.insertionMode = IN_CELL_MODE;
|
761
|
-
break;
|
762
|
-
} else if (!last && tn === $.HEAD) {
|
763
|
-
this.insertionMode = IN_HEAD_MODE;
|
764
|
-
break;
|
765
|
-
} else if (tn === $.SELECT) {
|
766
|
-
this._resetInsertionModeForSelect(i);
|
767
|
-
break;
|
768
|
-
} else if (tn === $.TEMPLATE) {
|
769
|
-
this.insertionMode = this.currentTmplInsertionMode;
|
770
|
-
break;
|
771
|
-
} else if (tn === $.HTML) {
|
772
|
-
this.insertionMode = this.headElement ? AFTER_HEAD_MODE : BEFORE_HEAD_MODE;
|
773
|
-
break;
|
774
|
-
} else if (last) {
|
775
|
-
this.insertionMode = IN_BODY_MODE;
|
776
|
-
break;
|
777
|
-
}
|
778
|
-
}
|
779
|
-
}
|
780
|
-
|
781
|
-
_resetInsertionModeForSelect(selectIdx) {
|
782
|
-
if (selectIdx > 0) {
|
783
|
-
for (let i = selectIdx - 1; i > 0; i--) {
|
784
|
-
const ancestor = this.openElements.items[i];
|
785
|
-
const tn = this.treeAdapter.getTagName(ancestor);
|
786
|
-
|
787
|
-
if (tn === $.TEMPLATE) {
|
788
|
-
break;
|
789
|
-
} else if (tn === $.TABLE) {
|
790
|
-
this.insertionMode = IN_SELECT_IN_TABLE_MODE;
|
791
|
-
return;
|
792
|
-
}
|
793
|
-
}
|
794
|
-
}
|
795
|
-
|
796
|
-
this.insertionMode = IN_SELECT_MODE;
|
797
|
-
}
|
798
|
-
|
799
|
-
_pushTmplInsertionMode(mode) {
|
800
|
-
this.tmplInsertionModeStack.push(mode);
|
801
|
-
this.tmplInsertionModeStackTop++;
|
802
|
-
this.currentTmplInsertionMode = mode;
|
803
|
-
}
|
804
|
-
|
805
|
-
_popTmplInsertionMode() {
|
806
|
-
this.tmplInsertionModeStack.pop();
|
807
|
-
this.tmplInsertionModeStackTop--;
|
808
|
-
this.currentTmplInsertionMode = this.tmplInsertionModeStack[this.tmplInsertionModeStackTop];
|
809
|
-
}
|
810
|
-
|
811
|
-
//Foster parenting
|
812
|
-
_isElementCausesFosterParenting(element) {
|
813
|
-
const tn = this.treeAdapter.getTagName(element);
|
814
|
-
|
815
|
-
return tn === $.TABLE || tn === $.TBODY || tn === $.TFOOT || tn === $.THEAD || tn === $.TR;
|
816
|
-
}
|
817
|
-
|
818
|
-
_shouldFosterParentOnInsertion() {
|
819
|
-
return this.fosterParentingEnabled && this._isElementCausesFosterParenting(this.openElements.current);
|
820
|
-
}
|
821
|
-
|
822
|
-
_findFosterParentingLocation() {
|
823
|
-
const location = {
|
824
|
-
parent: null,
|
825
|
-
beforeElement: null
|
826
|
-
};
|
827
|
-
|
828
|
-
for (let i = this.openElements.stackTop; i >= 0; i--) {
|
829
|
-
const openElement = this.openElements.items[i];
|
830
|
-
const tn = this.treeAdapter.getTagName(openElement);
|
831
|
-
const ns = this.treeAdapter.getNamespaceURI(openElement);
|
832
|
-
|
833
|
-
if (tn === $.TEMPLATE && ns === NS.HTML) {
|
834
|
-
location.parent = this.treeAdapter.getTemplateContent(openElement);
|
835
|
-
break;
|
836
|
-
} else if (tn === $.TABLE) {
|
837
|
-
location.parent = this.treeAdapter.getParentNode(openElement);
|
838
|
-
|
839
|
-
if (location.parent) {
|
840
|
-
location.beforeElement = openElement;
|
841
|
-
} else {
|
842
|
-
location.parent = this.openElements.items[i - 1];
|
843
|
-
}
|
844
|
-
|
845
|
-
break;
|
846
|
-
}
|
847
|
-
}
|
848
|
-
|
849
|
-
if (!location.parent) {
|
850
|
-
location.parent = this.openElements.items[0];
|
851
|
-
}
|
852
|
-
|
853
|
-
return location;
|
854
|
-
}
|
855
|
-
|
856
|
-
_fosterParentElement(element) {
|
857
|
-
const location = this._findFosterParentingLocation();
|
858
|
-
|
859
|
-
if (location.beforeElement) {
|
860
|
-
this.treeAdapter.insertBefore(location.parent, element, location.beforeElement);
|
861
|
-
} else {
|
862
|
-
this.treeAdapter.appendChild(location.parent, element);
|
863
|
-
}
|
864
|
-
}
|
865
|
-
|
866
|
-
_fosterParentText(chars) {
|
867
|
-
const location = this._findFosterParentingLocation();
|
868
|
-
|
869
|
-
if (location.beforeElement) {
|
870
|
-
this.treeAdapter.insertTextBefore(location.parent, chars, location.beforeElement);
|
871
|
-
} else {
|
872
|
-
this.treeAdapter.insertText(location.parent, chars);
|
873
|
-
}
|
874
|
-
}
|
875
|
-
|
876
|
-
//Special elements
|
877
|
-
_isSpecialElement(element) {
|
878
|
-
const tn = this.treeAdapter.getTagName(element);
|
879
|
-
const ns = this.treeAdapter.getNamespaceURI(element);
|
880
|
-
|
881
|
-
return HTML.SPECIAL_ELEMENTS[ns][tn];
|
882
|
-
}
|
883
|
-
}
|
884
|
-
|
885
|
-
module.exports = Parser;
|
886
|
-
|
887
|
-
//Adoption agency algorithm
|
888
|
-
//(see: http://www.whatwg.org/specs/web-apps/current-work/multipage/tree-construction.html#adoptionAgency)
|
889
|
-
//------------------------------------------------------------------
|
890
|
-
|
891
|
-
//Steps 5-8 of the algorithm
|
892
|
-
function aaObtainFormattingElementEntry(p, token) {
|
893
|
-
let formattingElementEntry = p.activeFormattingElements.getElementEntryInScopeWithTagName(token.tagName);
|
894
|
-
|
895
|
-
if (formattingElementEntry) {
|
896
|
-
if (!p.openElements.contains(formattingElementEntry.element)) {
|
897
|
-
p.activeFormattingElements.removeEntry(formattingElementEntry);
|
898
|
-
formattingElementEntry = null;
|
899
|
-
} else if (!p.openElements.hasInScope(token.tagName)) {
|
900
|
-
formattingElementEntry = null;
|
901
|
-
}
|
902
|
-
} else {
|
903
|
-
genericEndTagInBody(p, token);
|
904
|
-
}
|
905
|
-
|
906
|
-
return formattingElementEntry;
|
907
|
-
}
|
908
|
-
|
909
|
-
//Steps 9 and 10 of the algorithm
|
910
|
-
function aaObtainFurthestBlock(p, formattingElementEntry) {
|
911
|
-
let furthestBlock = null;
|
912
|
-
|
913
|
-
for (let i = p.openElements.stackTop; i >= 0; i--) {
|
914
|
-
const element = p.openElements.items[i];
|
915
|
-
|
916
|
-
if (element === formattingElementEntry.element) {
|
917
|
-
break;
|
918
|
-
}
|
919
|
-
|
920
|
-
if (p._isSpecialElement(element)) {
|
921
|
-
furthestBlock = element;
|
922
|
-
}
|
923
|
-
}
|
924
|
-
|
925
|
-
if (!furthestBlock) {
|
926
|
-
p.openElements.popUntilElementPopped(formattingElementEntry.element);
|
927
|
-
p.activeFormattingElements.removeEntry(formattingElementEntry);
|
928
|
-
}
|
929
|
-
|
930
|
-
return furthestBlock;
|
931
|
-
}
|
932
|
-
|
933
|
-
//Step 13 of the algorithm
|
934
|
-
function aaInnerLoop(p, furthestBlock, formattingElement) {
|
935
|
-
let lastElement = furthestBlock;
|
936
|
-
let nextElement = p.openElements.getCommonAncestor(furthestBlock);
|
937
|
-
|
938
|
-
for (let i = 0, element = nextElement; element !== formattingElement; i++, element = nextElement) {
|
939
|
-
//NOTE: store next element for the next loop iteration (it may be deleted from the stack by step 9.5)
|
940
|
-
nextElement = p.openElements.getCommonAncestor(element);
|
941
|
-
|
942
|
-
const elementEntry = p.activeFormattingElements.getElementEntry(element);
|
943
|
-
const counterOverflow = elementEntry && i >= AA_INNER_LOOP_ITER;
|
944
|
-
const shouldRemoveFromOpenElements = !elementEntry || counterOverflow;
|
945
|
-
|
946
|
-
if (shouldRemoveFromOpenElements) {
|
947
|
-
if (counterOverflow) {
|
948
|
-
p.activeFormattingElements.removeEntry(elementEntry);
|
949
|
-
}
|
950
|
-
|
951
|
-
p.openElements.remove(element);
|
952
|
-
} else {
|
953
|
-
element = aaRecreateElementFromEntry(p, elementEntry);
|
954
|
-
|
955
|
-
if (lastElement === furthestBlock) {
|
956
|
-
p.activeFormattingElements.bookmark = elementEntry;
|
957
|
-
}
|
958
|
-
|
959
|
-
p.treeAdapter.detachNode(lastElement);
|
960
|
-
p.treeAdapter.appendChild(element, lastElement);
|
961
|
-
lastElement = element;
|
962
|
-
}
|
963
|
-
}
|
964
|
-
|
965
|
-
return lastElement;
|
966
|
-
}
|
967
|
-
|
968
|
-
//Step 13.7 of the algorithm
|
969
|
-
function aaRecreateElementFromEntry(p, elementEntry) {
|
970
|
-
const ns = p.treeAdapter.getNamespaceURI(elementEntry.element);
|
971
|
-
const newElement = p.treeAdapter.createElement(elementEntry.token.tagName, ns, elementEntry.token.attrs);
|
972
|
-
|
973
|
-
p.openElements.replace(elementEntry.element, newElement);
|
974
|
-
elementEntry.element = newElement;
|
975
|
-
|
976
|
-
return newElement;
|
977
|
-
}
|
978
|
-
|
979
|
-
//Step 14 of the algorithm
|
980
|
-
function aaInsertLastNodeInCommonAncestor(p, commonAncestor, lastElement) {
|
981
|
-
if (p._isElementCausesFosterParenting(commonAncestor)) {
|
982
|
-
p._fosterParentElement(lastElement);
|
983
|
-
} else {
|
984
|
-
const tn = p.treeAdapter.getTagName(commonAncestor);
|
985
|
-
const ns = p.treeAdapter.getNamespaceURI(commonAncestor);
|
986
|
-
|
987
|
-
if (tn === $.TEMPLATE && ns === NS.HTML) {
|
988
|
-
commonAncestor = p.treeAdapter.getTemplateContent(commonAncestor);
|
989
|
-
}
|
990
|
-
|
991
|
-
p.treeAdapter.appendChild(commonAncestor, lastElement);
|
992
|
-
}
|
993
|
-
}
|
994
|
-
|
995
|
-
//Steps 15-19 of the algorithm
|
996
|
-
function aaReplaceFormattingElement(p, furthestBlock, formattingElementEntry) {
|
997
|
-
const ns = p.treeAdapter.getNamespaceURI(formattingElementEntry.element);
|
998
|
-
const token = formattingElementEntry.token;
|
999
|
-
const newElement = p.treeAdapter.createElement(token.tagName, ns, token.attrs);
|
1000
|
-
|
1001
|
-
p._adoptNodes(furthestBlock, newElement);
|
1002
|
-
p.treeAdapter.appendChild(furthestBlock, newElement);
|
1003
|
-
|
1004
|
-
p.activeFormattingElements.insertElementAfterBookmark(newElement, formattingElementEntry.token);
|
1005
|
-
p.activeFormattingElements.removeEntry(formattingElementEntry);
|
1006
|
-
|
1007
|
-
p.openElements.remove(formattingElementEntry.element);
|
1008
|
-
p.openElements.insertAfter(furthestBlock, newElement);
|
1009
|
-
}
|
1010
|
-
|
1011
|
-
//Algorithm entry point
|
1012
|
-
function callAdoptionAgency(p, token) {
|
1013
|
-
let formattingElementEntry;
|
1014
|
-
|
1015
|
-
for (let i = 0; i < AA_OUTER_LOOP_ITER; i++) {
|
1016
|
-
formattingElementEntry = aaObtainFormattingElementEntry(p, token, formattingElementEntry);
|
1017
|
-
|
1018
|
-
if (!formattingElementEntry) {
|
1019
|
-
break;
|
1020
|
-
}
|
1021
|
-
|
1022
|
-
const furthestBlock = aaObtainFurthestBlock(p, formattingElementEntry);
|
1023
|
-
|
1024
|
-
if (!furthestBlock) {
|
1025
|
-
break;
|
1026
|
-
}
|
1027
|
-
|
1028
|
-
p.activeFormattingElements.bookmark = formattingElementEntry;
|
1029
|
-
|
1030
|
-
const lastElement = aaInnerLoop(p, furthestBlock, formattingElementEntry.element);
|
1031
|
-
const commonAncestor = p.openElements.getCommonAncestor(formattingElementEntry.element);
|
1032
|
-
|
1033
|
-
p.treeAdapter.detachNode(lastElement);
|
1034
|
-
aaInsertLastNodeInCommonAncestor(p, commonAncestor, lastElement);
|
1035
|
-
aaReplaceFormattingElement(p, furthestBlock, formattingElementEntry);
|
1036
|
-
}
|
1037
|
-
}
|
1038
|
-
|
1039
|
-
//Generic token handlers
|
1040
|
-
//------------------------------------------------------------------
|
1041
|
-
function ignoreToken() {
|
1042
|
-
//NOTE: do nothing =)
|
1043
|
-
}
|
1044
|
-
|
1045
|
-
function misplacedDoctype(p) {
|
1046
|
-
p._err(ERR.misplacedDoctype);
|
1047
|
-
}
|
1048
|
-
|
1049
|
-
function appendComment(p, token) {
|
1050
|
-
p._appendCommentNode(token, p.openElements.currentTmplContent || p.openElements.current);
|
1051
|
-
}
|
1052
|
-
|
1053
|
-
function appendCommentToRootHtmlElement(p, token) {
|
1054
|
-
p._appendCommentNode(token, p.openElements.items[0]);
|
1055
|
-
}
|
1056
|
-
|
1057
|
-
function appendCommentToDocument(p, token) {
|
1058
|
-
p._appendCommentNode(token, p.document);
|
1059
|
-
}
|
1060
|
-
|
1061
|
-
function insertCharacters(p, token) {
|
1062
|
-
p._insertCharacters(token);
|
1063
|
-
}
|
1064
|
-
|
1065
|
-
function stopParsing(p) {
|
1066
|
-
p.stopped = true;
|
1067
|
-
}
|
1068
|
-
|
1069
|
-
// The "initial" insertion mode
|
1070
|
-
//------------------------------------------------------------------
|
1071
|
-
function doctypeInInitialMode(p, token) {
|
1072
|
-
p._setDocumentType(token);
|
1073
|
-
|
1074
|
-
const mode = token.forceQuirks ? HTML.DOCUMENT_MODE.QUIRKS : doctype.getDocumentMode(token);
|
1075
|
-
|
1076
|
-
if (!doctype.isConforming(token)) {
|
1077
|
-
p._err(ERR.nonConformingDoctype);
|
1078
|
-
}
|
1079
|
-
|
1080
|
-
p.treeAdapter.setDocumentMode(p.document, mode);
|
1081
|
-
|
1082
|
-
p.insertionMode = BEFORE_HTML_MODE;
|
1083
|
-
}
|
1084
|
-
|
1085
|
-
function tokenInInitialMode(p, token) {
|
1086
|
-
p._err(ERR.missingDoctype, { beforeToken: true });
|
1087
|
-
p.treeAdapter.setDocumentMode(p.document, HTML.DOCUMENT_MODE.QUIRKS);
|
1088
|
-
p.insertionMode = BEFORE_HTML_MODE;
|
1089
|
-
p._processToken(token);
|
1090
|
-
}
|
1091
|
-
|
1092
|
-
// The "before html" insertion mode
|
1093
|
-
//------------------------------------------------------------------
|
1094
|
-
function startTagBeforeHtml(p, token) {
|
1095
|
-
if (token.tagName === $.HTML) {
|
1096
|
-
p._insertElement(token, NS.HTML);
|
1097
|
-
p.insertionMode = BEFORE_HEAD_MODE;
|
1098
|
-
} else {
|
1099
|
-
tokenBeforeHtml(p, token);
|
1100
|
-
}
|
1101
|
-
}
|
1102
|
-
|
1103
|
-
function endTagBeforeHtml(p, token) {
|
1104
|
-
const tn = token.tagName;
|
1105
|
-
|
1106
|
-
if (tn === $.HTML || tn === $.HEAD || tn === $.BODY || tn === $.BR) {
|
1107
|
-
tokenBeforeHtml(p, token);
|
1108
|
-
}
|
1109
|
-
}
|
1110
|
-
|
1111
|
-
function tokenBeforeHtml(p, token) {
|
1112
|
-
p._insertFakeRootElement();
|
1113
|
-
p.insertionMode = BEFORE_HEAD_MODE;
|
1114
|
-
p._processToken(token);
|
1115
|
-
}
|
1116
|
-
|
1117
|
-
// The "before head" insertion mode
|
1118
|
-
//------------------------------------------------------------------
|
1119
|
-
function startTagBeforeHead(p, token) {
|
1120
|
-
const tn = token.tagName;
|
1121
|
-
|
1122
|
-
if (tn === $.HTML) {
|
1123
|
-
startTagInBody(p, token);
|
1124
|
-
} else if (tn === $.HEAD) {
|
1125
|
-
p._insertElement(token, NS.HTML);
|
1126
|
-
p.headElement = p.openElements.current;
|
1127
|
-
p.insertionMode = IN_HEAD_MODE;
|
1128
|
-
} else {
|
1129
|
-
tokenBeforeHead(p, token);
|
1130
|
-
}
|
1131
|
-
}
|
1132
|
-
|
1133
|
-
function endTagBeforeHead(p, token) {
|
1134
|
-
const tn = token.tagName;
|
1135
|
-
|
1136
|
-
if (tn === $.HEAD || tn === $.BODY || tn === $.HTML || tn === $.BR) {
|
1137
|
-
tokenBeforeHead(p, token);
|
1138
|
-
} else {
|
1139
|
-
p._err(ERR.endTagWithoutMatchingOpenElement);
|
1140
|
-
}
|
1141
|
-
}
|
1142
|
-
|
1143
|
-
function tokenBeforeHead(p, token) {
|
1144
|
-
p._insertFakeElement($.HEAD);
|
1145
|
-
p.headElement = p.openElements.current;
|
1146
|
-
p.insertionMode = IN_HEAD_MODE;
|
1147
|
-
p._processToken(token);
|
1148
|
-
}
|
1149
|
-
|
1150
|
-
// The "in head" insertion mode
|
1151
|
-
//------------------------------------------------------------------
|
1152
|
-
function startTagInHead(p, token) {
|
1153
|
-
const tn = token.tagName;
|
1154
|
-
|
1155
|
-
if (tn === $.HTML) {
|
1156
|
-
startTagInBody(p, token);
|
1157
|
-
} else if (tn === $.BASE || tn === $.BASEFONT || tn === $.BGSOUND || tn === $.LINK || tn === $.META) {
|
1158
|
-
p._appendElement(token, NS.HTML);
|
1159
|
-
token.ackSelfClosing = true;
|
1160
|
-
} else if (tn === $.TITLE) {
|
1161
|
-
p._switchToTextParsing(token, Tokenizer.MODE.RCDATA);
|
1162
|
-
} else if (tn === $.NOSCRIPT) {
|
1163
|
-
if (p.options.scriptingEnabled) {
|
1164
|
-
p._switchToTextParsing(token, Tokenizer.MODE.RAWTEXT);
|
1165
|
-
} else {
|
1166
|
-
p._insertElement(token, NS.HTML);
|
1167
|
-
p.insertionMode = IN_HEAD_NO_SCRIPT_MODE;
|
1168
|
-
}
|
1169
|
-
} else if (tn === $.NOFRAMES || tn === $.STYLE) {
|
1170
|
-
p._switchToTextParsing(token, Tokenizer.MODE.RAWTEXT);
|
1171
|
-
} else if (tn === $.SCRIPT) {
|
1172
|
-
p._switchToTextParsing(token, Tokenizer.MODE.SCRIPT_DATA);
|
1173
|
-
} else if (tn === $.TEMPLATE) {
|
1174
|
-
p._insertTemplate(token, NS.HTML);
|
1175
|
-
p.activeFormattingElements.insertMarker();
|
1176
|
-
p.framesetOk = false;
|
1177
|
-
p.insertionMode = IN_TEMPLATE_MODE;
|
1178
|
-
p._pushTmplInsertionMode(IN_TEMPLATE_MODE);
|
1179
|
-
} else if (tn === $.HEAD) {
|
1180
|
-
p._err(ERR.misplacedStartTagForHeadElement);
|
1181
|
-
} else {
|
1182
|
-
tokenInHead(p, token);
|
1183
|
-
}
|
1184
|
-
}
|
1185
|
-
|
1186
|
-
function endTagInHead(p, token) {
|
1187
|
-
const tn = token.tagName;
|
1188
|
-
|
1189
|
-
if (tn === $.HEAD) {
|
1190
|
-
p.openElements.pop();
|
1191
|
-
p.insertionMode = AFTER_HEAD_MODE;
|
1192
|
-
} else if (tn === $.BODY || tn === $.BR || tn === $.HTML) {
|
1193
|
-
tokenInHead(p, token);
|
1194
|
-
} else if (tn === $.TEMPLATE) {
|
1195
|
-
if (p.openElements.tmplCount > 0) {
|
1196
|
-
p.openElements.generateImpliedEndTagsThoroughly();
|
1197
|
-
|
1198
|
-
if (p.openElements.currentTagName !== $.TEMPLATE) {
|
1199
|
-
p._err(ERR.closingOfElementWithOpenChildElements);
|
1200
|
-
}
|
1201
|
-
|
1202
|
-
p.openElements.popUntilTagNamePopped($.TEMPLATE);
|
1203
|
-
p.activeFormattingElements.clearToLastMarker();
|
1204
|
-
p._popTmplInsertionMode();
|
1205
|
-
p._resetInsertionMode();
|
1206
|
-
} else {
|
1207
|
-
p._err(ERR.endTagWithoutMatchingOpenElement);
|
1208
|
-
}
|
1209
|
-
} else {
|
1210
|
-
p._err(ERR.endTagWithoutMatchingOpenElement);
|
1211
|
-
}
|
1212
|
-
}
|
1213
|
-
|
1214
|
-
function tokenInHead(p, token) {
|
1215
|
-
p.openElements.pop();
|
1216
|
-
p.insertionMode = AFTER_HEAD_MODE;
|
1217
|
-
p._processToken(token);
|
1218
|
-
}
|
1219
|
-
|
1220
|
-
// The "in head no script" insertion mode
|
1221
|
-
//------------------------------------------------------------------
|
1222
|
-
function startTagInHeadNoScript(p, token) {
|
1223
|
-
const tn = token.tagName;
|
1224
|
-
|
1225
|
-
if (tn === $.HTML) {
|
1226
|
-
startTagInBody(p, token);
|
1227
|
-
} else if (
|
1228
|
-
tn === $.BASEFONT ||
|
1229
|
-
tn === $.BGSOUND ||
|
1230
|
-
tn === $.HEAD ||
|
1231
|
-
tn === $.LINK ||
|
1232
|
-
tn === $.META ||
|
1233
|
-
tn === $.NOFRAMES ||
|
1234
|
-
tn === $.STYLE
|
1235
|
-
) {
|
1236
|
-
startTagInHead(p, token);
|
1237
|
-
} else if (tn === $.NOSCRIPT) {
|
1238
|
-
p._err(ERR.nestedNoscriptInHead);
|
1239
|
-
} else {
|
1240
|
-
tokenInHeadNoScript(p, token);
|
1241
|
-
}
|
1242
|
-
}
|
1243
|
-
|
1244
|
-
function endTagInHeadNoScript(p, token) {
|
1245
|
-
const tn = token.tagName;
|
1246
|
-
|
1247
|
-
if (tn === $.NOSCRIPT) {
|
1248
|
-
p.openElements.pop();
|
1249
|
-
p.insertionMode = IN_HEAD_MODE;
|
1250
|
-
} else if (tn === $.BR) {
|
1251
|
-
tokenInHeadNoScript(p, token);
|
1252
|
-
} else {
|
1253
|
-
p._err(ERR.endTagWithoutMatchingOpenElement);
|
1254
|
-
}
|
1255
|
-
}
|
1256
|
-
|
1257
|
-
function tokenInHeadNoScript(p, token) {
|
1258
|
-
const errCode =
|
1259
|
-
token.type === Tokenizer.EOF_TOKEN ? ERR.openElementsLeftAfterEof : ERR.disallowedContentInNoscriptInHead;
|
1260
|
-
|
1261
|
-
p._err(errCode);
|
1262
|
-
p.openElements.pop();
|
1263
|
-
p.insertionMode = IN_HEAD_MODE;
|
1264
|
-
p._processToken(token);
|
1265
|
-
}
|
1266
|
-
|
1267
|
-
// The "after head" insertion mode
|
1268
|
-
//------------------------------------------------------------------
|
1269
|
-
function startTagAfterHead(p, token) {
|
1270
|
-
const tn = token.tagName;
|
1271
|
-
|
1272
|
-
if (tn === $.HTML) {
|
1273
|
-
startTagInBody(p, token);
|
1274
|
-
} else if (tn === $.BODY) {
|
1275
|
-
p._insertElement(token, NS.HTML);
|
1276
|
-
p.framesetOk = false;
|
1277
|
-
p.insertionMode = IN_BODY_MODE;
|
1278
|
-
} else if (tn === $.FRAMESET) {
|
1279
|
-
p._insertElement(token, NS.HTML);
|
1280
|
-
p.insertionMode = IN_FRAMESET_MODE;
|
1281
|
-
} else if (
|
1282
|
-
tn === $.BASE ||
|
1283
|
-
tn === $.BASEFONT ||
|
1284
|
-
tn === $.BGSOUND ||
|
1285
|
-
tn === $.LINK ||
|
1286
|
-
tn === $.META ||
|
1287
|
-
tn === $.NOFRAMES ||
|
1288
|
-
tn === $.SCRIPT ||
|
1289
|
-
tn === $.STYLE ||
|
1290
|
-
tn === $.TEMPLATE ||
|
1291
|
-
tn === $.TITLE
|
1292
|
-
) {
|
1293
|
-
p._err(ERR.abandonedHeadElementChild);
|
1294
|
-
p.openElements.push(p.headElement);
|
1295
|
-
startTagInHead(p, token);
|
1296
|
-
p.openElements.remove(p.headElement);
|
1297
|
-
} else if (tn === $.HEAD) {
|
1298
|
-
p._err(ERR.misplacedStartTagForHeadElement);
|
1299
|
-
} else {
|
1300
|
-
tokenAfterHead(p, token);
|
1301
|
-
}
|
1302
|
-
}
|
1303
|
-
|
1304
|
-
function endTagAfterHead(p, token) {
|
1305
|
-
const tn = token.tagName;
|
1306
|
-
|
1307
|
-
if (tn === $.BODY || tn === $.HTML || tn === $.BR) {
|
1308
|
-
tokenAfterHead(p, token);
|
1309
|
-
} else if (tn === $.TEMPLATE) {
|
1310
|
-
endTagInHead(p, token);
|
1311
|
-
} else {
|
1312
|
-
p._err(ERR.endTagWithoutMatchingOpenElement);
|
1313
|
-
}
|
1314
|
-
}
|
1315
|
-
|
1316
|
-
function tokenAfterHead(p, token) {
|
1317
|
-
p._insertFakeElement($.BODY);
|
1318
|
-
p.insertionMode = IN_BODY_MODE;
|
1319
|
-
p._processToken(token);
|
1320
|
-
}
|
1321
|
-
|
1322
|
-
// The "in body" insertion mode
|
1323
|
-
//------------------------------------------------------------------
|
1324
|
-
function whitespaceCharacterInBody(p, token) {
|
1325
|
-
p._reconstructActiveFormattingElements();
|
1326
|
-
p._insertCharacters(token);
|
1327
|
-
}
|
1328
|
-
|
1329
|
-
function characterInBody(p, token) {
|
1330
|
-
p._reconstructActiveFormattingElements();
|
1331
|
-
p._insertCharacters(token);
|
1332
|
-
p.framesetOk = false;
|
1333
|
-
}
|
1334
|
-
|
1335
|
-
function htmlStartTagInBody(p, token) {
|
1336
|
-
if (p.openElements.tmplCount === 0) {
|
1337
|
-
p.treeAdapter.adoptAttributes(p.openElements.items[0], token.attrs);
|
1338
|
-
}
|
1339
|
-
}
|
1340
|
-
|
1341
|
-
function bodyStartTagInBody(p, token) {
|
1342
|
-
const bodyElement = p.openElements.tryPeekProperlyNestedBodyElement();
|
1343
|
-
|
1344
|
-
if (bodyElement && p.openElements.tmplCount === 0) {
|
1345
|
-
p.framesetOk = false;
|
1346
|
-
p.treeAdapter.adoptAttributes(bodyElement, token.attrs);
|
1347
|
-
}
|
1348
|
-
}
|
1349
|
-
|
1350
|
-
function framesetStartTagInBody(p, token) {
|
1351
|
-
const bodyElement = p.openElements.tryPeekProperlyNestedBodyElement();
|
1352
|
-
|
1353
|
-
if (p.framesetOk && bodyElement) {
|
1354
|
-
p.treeAdapter.detachNode(bodyElement);
|
1355
|
-
p.openElements.popAllUpToHtmlElement();
|
1356
|
-
p._insertElement(token, NS.HTML);
|
1357
|
-
p.insertionMode = IN_FRAMESET_MODE;
|
1358
|
-
}
|
1359
|
-
}
|
1360
|
-
|
1361
|
-
function addressStartTagInBody(p, token) {
|
1362
|
-
if (p.openElements.hasInButtonScope($.P)) {
|
1363
|
-
p._closePElement();
|
1364
|
-
}
|
1365
|
-
|
1366
|
-
p._insertElement(token, NS.HTML);
|
1367
|
-
}
|
1368
|
-
|
1369
|
-
function numberedHeaderStartTagInBody(p, token) {
|
1370
|
-
if (p.openElements.hasInButtonScope($.P)) {
|
1371
|
-
p._closePElement();
|
1372
|
-
}
|
1373
|
-
|
1374
|
-
const tn = p.openElements.currentTagName;
|
1375
|
-
|
1376
|
-
if (tn === $.H1 || tn === $.H2 || tn === $.H3 || tn === $.H4 || tn === $.H5 || tn === $.H6) {
|
1377
|
-
p.openElements.pop();
|
1378
|
-
}
|
1379
|
-
|
1380
|
-
p._insertElement(token, NS.HTML);
|
1381
|
-
}
|
1382
|
-
|
1383
|
-
function preStartTagInBody(p, token) {
|
1384
|
-
if (p.openElements.hasInButtonScope($.P)) {
|
1385
|
-
p._closePElement();
|
1386
|
-
}
|
1387
|
-
|
1388
|
-
p._insertElement(token, NS.HTML);
|
1389
|
-
//NOTE: If the next token is a U+000A LINE FEED (LF) character token, then ignore that token and move
|
1390
|
-
//on to the next one. (Newlines at the start of pre blocks are ignored as an authoring convenience.)
|
1391
|
-
p.skipNextNewLine = true;
|
1392
|
-
p.framesetOk = false;
|
1393
|
-
}
|
1394
|
-
|
1395
|
-
function formStartTagInBody(p, token) {
|
1396
|
-
const inTemplate = p.openElements.tmplCount > 0;
|
1397
|
-
|
1398
|
-
if (!p.formElement || inTemplate) {
|
1399
|
-
if (p.openElements.hasInButtonScope($.P)) {
|
1400
|
-
p._closePElement();
|
1401
|
-
}
|
1402
|
-
|
1403
|
-
p._insertElement(token, NS.HTML);
|
1404
|
-
|
1405
|
-
if (!inTemplate) {
|
1406
|
-
p.formElement = p.openElements.current;
|
1407
|
-
}
|
1408
|
-
}
|
1409
|
-
}
|
1410
|
-
|
1411
|
-
function listItemStartTagInBody(p, token) {
|
1412
|
-
p.framesetOk = false;
|
1413
|
-
|
1414
|
-
const tn = token.tagName;
|
1415
|
-
|
1416
|
-
for (let i = p.openElements.stackTop; i >= 0; i--) {
|
1417
|
-
const element = p.openElements.items[i];
|
1418
|
-
const elementTn = p.treeAdapter.getTagName(element);
|
1419
|
-
let closeTn = null;
|
1420
|
-
|
1421
|
-
if (tn === $.LI && elementTn === $.LI) {
|
1422
|
-
closeTn = $.LI;
|
1423
|
-
} else if ((tn === $.DD || tn === $.DT) && (elementTn === $.DD || elementTn === $.DT)) {
|
1424
|
-
closeTn = elementTn;
|
1425
|
-
}
|
1426
|
-
|
1427
|
-
if (closeTn) {
|
1428
|
-
p.openElements.generateImpliedEndTagsWithExclusion(closeTn);
|
1429
|
-
p.openElements.popUntilTagNamePopped(closeTn);
|
1430
|
-
break;
|
1431
|
-
}
|
1432
|
-
|
1433
|
-
if (elementTn !== $.ADDRESS && elementTn !== $.DIV && elementTn !== $.P && p._isSpecialElement(element)) {
|
1434
|
-
break;
|
1435
|
-
}
|
1436
|
-
}
|
1437
|
-
|
1438
|
-
if (p.openElements.hasInButtonScope($.P)) {
|
1439
|
-
p._closePElement();
|
1440
|
-
}
|
1441
|
-
|
1442
|
-
p._insertElement(token, NS.HTML);
|
1443
|
-
}
|
1444
|
-
|
1445
|
-
function plaintextStartTagInBody(p, token) {
|
1446
|
-
if (p.openElements.hasInButtonScope($.P)) {
|
1447
|
-
p._closePElement();
|
1448
|
-
}
|
1449
|
-
|
1450
|
-
p._insertElement(token, NS.HTML);
|
1451
|
-
p.tokenizer.state = Tokenizer.MODE.PLAINTEXT;
|
1452
|
-
}
|
1453
|
-
|
1454
|
-
function buttonStartTagInBody(p, token) {
|
1455
|
-
if (p.openElements.hasInScope($.BUTTON)) {
|
1456
|
-
p.openElements.generateImpliedEndTags();
|
1457
|
-
p.openElements.popUntilTagNamePopped($.BUTTON);
|
1458
|
-
}
|
1459
|
-
|
1460
|
-
p._reconstructActiveFormattingElements();
|
1461
|
-
p._insertElement(token, NS.HTML);
|
1462
|
-
p.framesetOk = false;
|
1463
|
-
}
|
1464
|
-
|
1465
|
-
function aStartTagInBody(p, token) {
|
1466
|
-
const activeElementEntry = p.activeFormattingElements.getElementEntryInScopeWithTagName($.A);
|
1467
|
-
|
1468
|
-
if (activeElementEntry) {
|
1469
|
-
callAdoptionAgency(p, token);
|
1470
|
-
p.openElements.remove(activeElementEntry.element);
|
1471
|
-
p.activeFormattingElements.removeEntry(activeElementEntry);
|
1472
|
-
}
|
1473
|
-
|
1474
|
-
p._reconstructActiveFormattingElements();
|
1475
|
-
p._insertElement(token, NS.HTML);
|
1476
|
-
p.activeFormattingElements.pushElement(p.openElements.current, token);
|
1477
|
-
}
|
1478
|
-
|
1479
|
-
function bStartTagInBody(p, token) {
|
1480
|
-
p._reconstructActiveFormattingElements();
|
1481
|
-
p._insertElement(token, NS.HTML);
|
1482
|
-
p.activeFormattingElements.pushElement(p.openElements.current, token);
|
1483
|
-
}
|
1484
|
-
|
1485
|
-
function nobrStartTagInBody(p, token) {
|
1486
|
-
p._reconstructActiveFormattingElements();
|
1487
|
-
|
1488
|
-
if (p.openElements.hasInScope($.NOBR)) {
|
1489
|
-
callAdoptionAgency(p, token);
|
1490
|
-
p._reconstructActiveFormattingElements();
|
1491
|
-
}
|
1492
|
-
|
1493
|
-
p._insertElement(token, NS.HTML);
|
1494
|
-
p.activeFormattingElements.pushElement(p.openElements.current, token);
|
1495
|
-
}
|
1496
|
-
|
1497
|
-
function appletStartTagInBody(p, token) {
|
1498
|
-
p._reconstructActiveFormattingElements();
|
1499
|
-
p._insertElement(token, NS.HTML);
|
1500
|
-
p.activeFormattingElements.insertMarker();
|
1501
|
-
p.framesetOk = false;
|
1502
|
-
}
|
1503
|
-
|
1504
|
-
function tableStartTagInBody(p, token) {
|
1505
|
-
if (
|
1506
|
-
p.treeAdapter.getDocumentMode(p.document) !== HTML.DOCUMENT_MODE.QUIRKS &&
|
1507
|
-
p.openElements.hasInButtonScope($.P)
|
1508
|
-
) {
|
1509
|
-
p._closePElement();
|
1510
|
-
}
|
1511
|
-
|
1512
|
-
p._insertElement(token, NS.HTML);
|
1513
|
-
p.framesetOk = false;
|
1514
|
-
p.insertionMode = IN_TABLE_MODE;
|
1515
|
-
}
|
1516
|
-
|
1517
|
-
function areaStartTagInBody(p, token) {
|
1518
|
-
p._reconstructActiveFormattingElements();
|
1519
|
-
p._appendElement(token, NS.HTML);
|
1520
|
-
p.framesetOk = false;
|
1521
|
-
token.ackSelfClosing = true;
|
1522
|
-
}
|
1523
|
-
|
1524
|
-
function inputStartTagInBody(p, token) {
|
1525
|
-
p._reconstructActiveFormattingElements();
|
1526
|
-
p._appendElement(token, NS.HTML);
|
1527
|
-
|
1528
|
-
const inputType = Tokenizer.getTokenAttr(token, ATTRS.TYPE);
|
1529
|
-
|
1530
|
-
if (!inputType || inputType.toLowerCase() !== HIDDEN_INPUT_TYPE) {
|
1531
|
-
p.framesetOk = false;
|
1532
|
-
}
|
1533
|
-
|
1534
|
-
token.ackSelfClosing = true;
|
1535
|
-
}
|
1536
|
-
|
1537
|
-
function paramStartTagInBody(p, token) {
|
1538
|
-
p._appendElement(token, NS.HTML);
|
1539
|
-
token.ackSelfClosing = true;
|
1540
|
-
}
|
1541
|
-
|
1542
|
-
function hrStartTagInBody(p, token) {
|
1543
|
-
if (p.openElements.hasInButtonScope($.P)) {
|
1544
|
-
p._closePElement();
|
1545
|
-
}
|
1546
|
-
|
1547
|
-
p._appendElement(token, NS.HTML);
|
1548
|
-
p.framesetOk = false;
|
1549
|
-
token.ackSelfClosing = true;
|
1550
|
-
}
|
1551
|
-
|
1552
|
-
function imageStartTagInBody(p, token) {
|
1553
|
-
token.tagName = $.IMG;
|
1554
|
-
areaStartTagInBody(p, token);
|
1555
|
-
}
|
1556
|
-
|
1557
|
-
function textareaStartTagInBody(p, token) {
|
1558
|
-
p._insertElement(token, NS.HTML);
|
1559
|
-
//NOTE: If the next token is a U+000A LINE FEED (LF) character token, then ignore that token and move
|
1560
|
-
//on to the next one. (Newlines at the start of textarea elements are ignored as an authoring convenience.)
|
1561
|
-
p.skipNextNewLine = true;
|
1562
|
-
p.tokenizer.state = Tokenizer.MODE.RCDATA;
|
1563
|
-
p.originalInsertionMode = p.insertionMode;
|
1564
|
-
p.framesetOk = false;
|
1565
|
-
p.insertionMode = TEXT_MODE;
|
1566
|
-
}
|
1567
|
-
|
1568
|
-
function xmpStartTagInBody(p, token) {
|
1569
|
-
if (p.openElements.hasInButtonScope($.P)) {
|
1570
|
-
p._closePElement();
|
1571
|
-
}
|
1572
|
-
|
1573
|
-
p._reconstructActiveFormattingElements();
|
1574
|
-
p.framesetOk = false;
|
1575
|
-
p._switchToTextParsing(token, Tokenizer.MODE.RAWTEXT);
|
1576
|
-
}
|
1577
|
-
|
1578
|
-
function iframeStartTagInBody(p, token) {
|
1579
|
-
p.framesetOk = false;
|
1580
|
-
p._switchToTextParsing(token, Tokenizer.MODE.RAWTEXT);
|
1581
|
-
}
|
1582
|
-
|
1583
|
-
//NOTE: here we assume that we always act as an user agent with enabled plugins, so we parse
|
1584
|
-
//<noembed> as a rawtext.
|
1585
|
-
function noembedStartTagInBody(p, token) {
|
1586
|
-
p._switchToTextParsing(token, Tokenizer.MODE.RAWTEXT);
|
1587
|
-
}
|
1588
|
-
|
1589
|
-
function selectStartTagInBody(p, token) {
|
1590
|
-
p._reconstructActiveFormattingElements();
|
1591
|
-
p._insertElement(token, NS.HTML);
|
1592
|
-
p.framesetOk = false;
|
1593
|
-
|
1594
|
-
if (
|
1595
|
-
p.insertionMode === IN_TABLE_MODE ||
|
1596
|
-
p.insertionMode === IN_CAPTION_MODE ||
|
1597
|
-
p.insertionMode === IN_TABLE_BODY_MODE ||
|
1598
|
-
p.insertionMode === IN_ROW_MODE ||
|
1599
|
-
p.insertionMode === IN_CELL_MODE
|
1600
|
-
) {
|
1601
|
-
p.insertionMode = IN_SELECT_IN_TABLE_MODE;
|
1602
|
-
} else {
|
1603
|
-
p.insertionMode = IN_SELECT_MODE;
|
1604
|
-
}
|
1605
|
-
}
|
1606
|
-
|
1607
|
-
function optgroupStartTagInBody(p, token) {
|
1608
|
-
if (p.openElements.currentTagName === $.OPTION) {
|
1609
|
-
p.openElements.pop();
|
1610
|
-
}
|
1611
|
-
|
1612
|
-
p._reconstructActiveFormattingElements();
|
1613
|
-
p._insertElement(token, NS.HTML);
|
1614
|
-
}
|
1615
|
-
|
1616
|
-
function rbStartTagInBody(p, token) {
|
1617
|
-
if (p.openElements.hasInScope($.RUBY)) {
|
1618
|
-
p.openElements.generateImpliedEndTags();
|
1619
|
-
}
|
1620
|
-
|
1621
|
-
p._insertElement(token, NS.HTML);
|
1622
|
-
}
|
1623
|
-
|
1624
|
-
function rtStartTagInBody(p, token) {
|
1625
|
-
if (p.openElements.hasInScope($.RUBY)) {
|
1626
|
-
p.openElements.generateImpliedEndTagsWithExclusion($.RTC);
|
1627
|
-
}
|
1628
|
-
|
1629
|
-
p._insertElement(token, NS.HTML);
|
1630
|
-
}
|
1631
|
-
|
1632
|
-
function menuStartTagInBody(p, token) {
|
1633
|
-
if (p.openElements.hasInButtonScope($.P)) {
|
1634
|
-
p._closePElement();
|
1635
|
-
}
|
1636
|
-
|
1637
|
-
p._insertElement(token, NS.HTML);
|
1638
|
-
}
|
1639
|
-
|
1640
|
-
function mathStartTagInBody(p, token) {
|
1641
|
-
p._reconstructActiveFormattingElements();
|
1642
|
-
|
1643
|
-
foreignContent.adjustTokenMathMLAttrs(token);
|
1644
|
-
foreignContent.adjustTokenXMLAttrs(token);
|
1645
|
-
|
1646
|
-
if (token.selfClosing) {
|
1647
|
-
p._appendElement(token, NS.MATHML);
|
1648
|
-
} else {
|
1649
|
-
p._insertElement(token, NS.MATHML);
|
1650
|
-
}
|
1651
|
-
|
1652
|
-
token.ackSelfClosing = true;
|
1653
|
-
}
|
1654
|
-
|
1655
|
-
function svgStartTagInBody(p, token) {
|
1656
|
-
p._reconstructActiveFormattingElements();
|
1657
|
-
|
1658
|
-
foreignContent.adjustTokenSVGAttrs(token);
|
1659
|
-
foreignContent.adjustTokenXMLAttrs(token);
|
1660
|
-
|
1661
|
-
if (token.selfClosing) {
|
1662
|
-
p._appendElement(token, NS.SVG);
|
1663
|
-
} else {
|
1664
|
-
p._insertElement(token, NS.SVG);
|
1665
|
-
}
|
1666
|
-
|
1667
|
-
token.ackSelfClosing = true;
|
1668
|
-
}
|
1669
|
-
|
1670
|
-
function genericStartTagInBody(p, token) {
|
1671
|
-
p._reconstructActiveFormattingElements();
|
1672
|
-
p._insertElement(token, NS.HTML);
|
1673
|
-
}
|
1674
|
-
|
1675
|
-
//OPTIMIZATION: Integer comparisons are low-cost, so we can use very fast tag name length filters here.
|
1676
|
-
//It's faster than using dictionary.
|
1677
|
-
function startTagInBody(p, token) {
|
1678
|
-
const tn = token.tagName;
|
1679
|
-
|
1680
|
-
switch (tn.length) {
|
1681
|
-
case 1:
|
1682
|
-
if (tn === $.I || tn === $.S || tn === $.B || tn === $.U) {
|
1683
|
-
bStartTagInBody(p, token);
|
1684
|
-
} else if (tn === $.P) {
|
1685
|
-
addressStartTagInBody(p, token);
|
1686
|
-
} else if (tn === $.A) {
|
1687
|
-
aStartTagInBody(p, token);
|
1688
|
-
} else {
|
1689
|
-
genericStartTagInBody(p, token);
|
1690
|
-
}
|
1691
|
-
|
1692
|
-
break;
|
1693
|
-
|
1694
|
-
case 2:
|
1695
|
-
if (tn === $.DL || tn === $.OL || tn === $.UL) {
|
1696
|
-
addressStartTagInBody(p, token);
|
1697
|
-
} else if (tn === $.H1 || tn === $.H2 || tn === $.H3 || tn === $.H4 || tn === $.H5 || tn === $.H6) {
|
1698
|
-
numberedHeaderStartTagInBody(p, token);
|
1699
|
-
} else if (tn === $.LI || tn === $.DD || tn === $.DT) {
|
1700
|
-
listItemStartTagInBody(p, token);
|
1701
|
-
} else if (tn === $.EM || tn === $.TT) {
|
1702
|
-
bStartTagInBody(p, token);
|
1703
|
-
} else if (tn === $.BR) {
|
1704
|
-
areaStartTagInBody(p, token);
|
1705
|
-
} else if (tn === $.HR) {
|
1706
|
-
hrStartTagInBody(p, token);
|
1707
|
-
} else if (tn === $.RB) {
|
1708
|
-
rbStartTagInBody(p, token);
|
1709
|
-
} else if (tn === $.RT || tn === $.RP) {
|
1710
|
-
rtStartTagInBody(p, token);
|
1711
|
-
} else if (tn !== $.TH && tn !== $.TD && tn !== $.TR) {
|
1712
|
-
genericStartTagInBody(p, token);
|
1713
|
-
}
|
1714
|
-
|
1715
|
-
break;
|
1716
|
-
|
1717
|
-
case 3:
|
1718
|
-
if (tn === $.DIV || tn === $.DIR || tn === $.NAV) {
|
1719
|
-
addressStartTagInBody(p, token);
|
1720
|
-
} else if (tn === $.PRE) {
|
1721
|
-
preStartTagInBody(p, token);
|
1722
|
-
} else if (tn === $.BIG) {
|
1723
|
-
bStartTagInBody(p, token);
|
1724
|
-
} else if (tn === $.IMG || tn === $.WBR) {
|
1725
|
-
areaStartTagInBody(p, token);
|
1726
|
-
} else if (tn === $.XMP) {
|
1727
|
-
xmpStartTagInBody(p, token);
|
1728
|
-
} else if (tn === $.SVG) {
|
1729
|
-
svgStartTagInBody(p, token);
|
1730
|
-
} else if (tn === $.RTC) {
|
1731
|
-
rbStartTagInBody(p, token);
|
1732
|
-
} else if (tn !== $.COL) {
|
1733
|
-
genericStartTagInBody(p, token);
|
1734
|
-
}
|
1735
|
-
|
1736
|
-
break;
|
1737
|
-
|
1738
|
-
case 4:
|
1739
|
-
if (tn === $.HTML) {
|
1740
|
-
htmlStartTagInBody(p, token);
|
1741
|
-
} else if (tn === $.BASE || tn === $.LINK || tn === $.META) {
|
1742
|
-
startTagInHead(p, token);
|
1743
|
-
} else if (tn === $.BODY) {
|
1744
|
-
bodyStartTagInBody(p, token);
|
1745
|
-
} else if (tn === $.MAIN || tn === $.MENU) {
|
1746
|
-
addressStartTagInBody(p, token);
|
1747
|
-
} else if (tn === $.FORM) {
|
1748
|
-
formStartTagInBody(p, token);
|
1749
|
-
} else if (tn === $.CODE || tn === $.FONT) {
|
1750
|
-
bStartTagInBody(p, token);
|
1751
|
-
} else if (tn === $.NOBR) {
|
1752
|
-
nobrStartTagInBody(p, token);
|
1753
|
-
} else if (tn === $.AREA) {
|
1754
|
-
areaStartTagInBody(p, token);
|
1755
|
-
} else if (tn === $.MATH) {
|
1756
|
-
mathStartTagInBody(p, token);
|
1757
|
-
} else if (tn === $.MENU) {
|
1758
|
-
menuStartTagInBody(p, token);
|
1759
|
-
} else if (tn !== $.HEAD) {
|
1760
|
-
genericStartTagInBody(p, token);
|
1761
|
-
}
|
1762
|
-
|
1763
|
-
break;
|
1764
|
-
|
1765
|
-
case 5:
|
1766
|
-
if (tn === $.STYLE || tn === $.TITLE) {
|
1767
|
-
startTagInHead(p, token);
|
1768
|
-
} else if (tn === $.ASIDE) {
|
1769
|
-
addressStartTagInBody(p, token);
|
1770
|
-
} else if (tn === $.SMALL) {
|
1771
|
-
bStartTagInBody(p, token);
|
1772
|
-
} else if (tn === $.TABLE) {
|
1773
|
-
tableStartTagInBody(p, token);
|
1774
|
-
} else if (tn === $.EMBED) {
|
1775
|
-
areaStartTagInBody(p, token);
|
1776
|
-
} else if (tn === $.INPUT) {
|
1777
|
-
inputStartTagInBody(p, token);
|
1778
|
-
} else if (tn === $.PARAM || tn === $.TRACK) {
|
1779
|
-
paramStartTagInBody(p, token);
|
1780
|
-
} else if (tn === $.IMAGE) {
|
1781
|
-
imageStartTagInBody(p, token);
|
1782
|
-
} else if (tn !== $.FRAME && tn !== $.TBODY && tn !== $.TFOOT && tn !== $.THEAD) {
|
1783
|
-
genericStartTagInBody(p, token);
|
1784
|
-
}
|
1785
|
-
|
1786
|
-
break;
|
1787
|
-
|
1788
|
-
case 6:
|
1789
|
-
if (tn === $.SCRIPT) {
|
1790
|
-
startTagInHead(p, token);
|
1791
|
-
} else if (
|
1792
|
-
tn === $.CENTER ||
|
1793
|
-
tn === $.FIGURE ||
|
1794
|
-
tn === $.FOOTER ||
|
1795
|
-
tn === $.HEADER ||
|
1796
|
-
tn === $.HGROUP ||
|
1797
|
-
tn === $.DIALOG
|
1798
|
-
) {
|
1799
|
-
addressStartTagInBody(p, token);
|
1800
|
-
} else if (tn === $.BUTTON) {
|
1801
|
-
buttonStartTagInBody(p, token);
|
1802
|
-
} else if (tn === $.STRIKE || tn === $.STRONG) {
|
1803
|
-
bStartTagInBody(p, token);
|
1804
|
-
} else if (tn === $.APPLET || tn === $.OBJECT) {
|
1805
|
-
appletStartTagInBody(p, token);
|
1806
|
-
} else if (tn === $.KEYGEN) {
|
1807
|
-
areaStartTagInBody(p, token);
|
1808
|
-
} else if (tn === $.SOURCE) {
|
1809
|
-
paramStartTagInBody(p, token);
|
1810
|
-
} else if (tn === $.IFRAME) {
|
1811
|
-
iframeStartTagInBody(p, token);
|
1812
|
-
} else if (tn === $.SELECT) {
|
1813
|
-
selectStartTagInBody(p, token);
|
1814
|
-
} else if (tn === $.OPTION) {
|
1815
|
-
optgroupStartTagInBody(p, token);
|
1816
|
-
} else {
|
1817
|
-
genericStartTagInBody(p, token);
|
1818
|
-
}
|
1819
|
-
|
1820
|
-
break;
|
1821
|
-
|
1822
|
-
case 7:
|
1823
|
-
if (tn === $.BGSOUND) {
|
1824
|
-
startTagInHead(p, token);
|
1825
|
-
} else if (
|
1826
|
-
tn === $.DETAILS ||
|
1827
|
-
tn === $.ADDRESS ||
|
1828
|
-
tn === $.ARTICLE ||
|
1829
|
-
tn === $.SECTION ||
|
1830
|
-
tn === $.SUMMARY
|
1831
|
-
) {
|
1832
|
-
addressStartTagInBody(p, token);
|
1833
|
-
} else if (tn === $.LISTING) {
|
1834
|
-
preStartTagInBody(p, token);
|
1835
|
-
} else if (tn === $.MARQUEE) {
|
1836
|
-
appletStartTagInBody(p, token);
|
1837
|
-
} else if (tn === $.NOEMBED) {
|
1838
|
-
noembedStartTagInBody(p, token);
|
1839
|
-
} else if (tn !== $.CAPTION) {
|
1840
|
-
genericStartTagInBody(p, token);
|
1841
|
-
}
|
1842
|
-
|
1843
|
-
break;
|
1844
|
-
|
1845
|
-
case 8:
|
1846
|
-
if (tn === $.BASEFONT) {
|
1847
|
-
startTagInHead(p, token);
|
1848
|
-
} else if (tn === $.FRAMESET) {
|
1849
|
-
framesetStartTagInBody(p, token);
|
1850
|
-
} else if (tn === $.FIELDSET) {
|
1851
|
-
addressStartTagInBody(p, token);
|
1852
|
-
} else if (tn === $.TEXTAREA) {
|
1853
|
-
textareaStartTagInBody(p, token);
|
1854
|
-
} else if (tn === $.TEMPLATE) {
|
1855
|
-
startTagInHead(p, token);
|
1856
|
-
} else if (tn === $.NOSCRIPT) {
|
1857
|
-
if (p.options.scriptingEnabled) {
|
1858
|
-
noembedStartTagInBody(p, token);
|
1859
|
-
} else {
|
1860
|
-
genericStartTagInBody(p, token);
|
1861
|
-
}
|
1862
|
-
} else if (tn === $.OPTGROUP) {
|
1863
|
-
optgroupStartTagInBody(p, token);
|
1864
|
-
} else if (tn !== $.COLGROUP) {
|
1865
|
-
genericStartTagInBody(p, token);
|
1866
|
-
}
|
1867
|
-
|
1868
|
-
break;
|
1869
|
-
|
1870
|
-
case 9:
|
1871
|
-
if (tn === $.PLAINTEXT) {
|
1872
|
-
plaintextStartTagInBody(p, token);
|
1873
|
-
} else {
|
1874
|
-
genericStartTagInBody(p, token);
|
1875
|
-
}
|
1876
|
-
|
1877
|
-
break;
|
1878
|
-
|
1879
|
-
case 10:
|
1880
|
-
if (tn === $.BLOCKQUOTE || tn === $.FIGCAPTION) {
|
1881
|
-
addressStartTagInBody(p, token);
|
1882
|
-
} else {
|
1883
|
-
genericStartTagInBody(p, token);
|
1884
|
-
}
|
1885
|
-
|
1886
|
-
break;
|
1887
|
-
|
1888
|
-
default:
|
1889
|
-
genericStartTagInBody(p, token);
|
1890
|
-
}
|
1891
|
-
}
|
1892
|
-
|
1893
|
-
function bodyEndTagInBody(p) {
|
1894
|
-
if (p.openElements.hasInScope($.BODY)) {
|
1895
|
-
p.insertionMode = AFTER_BODY_MODE;
|
1896
|
-
}
|
1897
|
-
}
|
1898
|
-
|
1899
|
-
function htmlEndTagInBody(p, token) {
|
1900
|
-
if (p.openElements.hasInScope($.BODY)) {
|
1901
|
-
p.insertionMode = AFTER_BODY_MODE;
|
1902
|
-
p._processToken(token);
|
1903
|
-
}
|
1904
|
-
}
|
1905
|
-
|
1906
|
-
function addressEndTagInBody(p, token) {
|
1907
|
-
const tn = token.tagName;
|
1908
|
-
|
1909
|
-
if (p.openElements.hasInScope(tn)) {
|
1910
|
-
p.openElements.generateImpliedEndTags();
|
1911
|
-
p.openElements.popUntilTagNamePopped(tn);
|
1912
|
-
}
|
1913
|
-
}
|
1914
|
-
|
1915
|
-
function formEndTagInBody(p) {
|
1916
|
-
const inTemplate = p.openElements.tmplCount > 0;
|
1917
|
-
const formElement = p.formElement;
|
1918
|
-
|
1919
|
-
if (!inTemplate) {
|
1920
|
-
p.formElement = null;
|
1921
|
-
}
|
1922
|
-
|
1923
|
-
if ((formElement || inTemplate) && p.openElements.hasInScope($.FORM)) {
|
1924
|
-
p.openElements.generateImpliedEndTags();
|
1925
|
-
|
1926
|
-
if (inTemplate) {
|
1927
|
-
p.openElements.popUntilTagNamePopped($.FORM);
|
1928
|
-
} else {
|
1929
|
-
p.openElements.remove(formElement);
|
1930
|
-
}
|
1931
|
-
}
|
1932
|
-
}
|
1933
|
-
|
1934
|
-
function pEndTagInBody(p) {
|
1935
|
-
if (!p.openElements.hasInButtonScope($.P)) {
|
1936
|
-
p._insertFakeElement($.P);
|
1937
|
-
}
|
1938
|
-
|
1939
|
-
p._closePElement();
|
1940
|
-
}
|
1941
|
-
|
1942
|
-
function liEndTagInBody(p) {
|
1943
|
-
if (p.openElements.hasInListItemScope($.LI)) {
|
1944
|
-
p.openElements.generateImpliedEndTagsWithExclusion($.LI);
|
1945
|
-
p.openElements.popUntilTagNamePopped($.LI);
|
1946
|
-
}
|
1947
|
-
}
|
1948
|
-
|
1949
|
-
function ddEndTagInBody(p, token) {
|
1950
|
-
const tn = token.tagName;
|
1951
|
-
|
1952
|
-
if (p.openElements.hasInScope(tn)) {
|
1953
|
-
p.openElements.generateImpliedEndTagsWithExclusion(tn);
|
1954
|
-
p.openElements.popUntilTagNamePopped(tn);
|
1955
|
-
}
|
1956
|
-
}
|
1957
|
-
|
1958
|
-
function numberedHeaderEndTagInBody(p) {
|
1959
|
-
if (p.openElements.hasNumberedHeaderInScope()) {
|
1960
|
-
p.openElements.generateImpliedEndTags();
|
1961
|
-
p.openElements.popUntilNumberedHeaderPopped();
|
1962
|
-
}
|
1963
|
-
}
|
1964
|
-
|
1965
|
-
function appletEndTagInBody(p, token) {
|
1966
|
-
const tn = token.tagName;
|
1967
|
-
|
1968
|
-
if (p.openElements.hasInScope(tn)) {
|
1969
|
-
p.openElements.generateImpliedEndTags();
|
1970
|
-
p.openElements.popUntilTagNamePopped(tn);
|
1971
|
-
p.activeFormattingElements.clearToLastMarker();
|
1972
|
-
}
|
1973
|
-
}
|
1974
|
-
|
1975
|
-
function brEndTagInBody(p) {
|
1976
|
-
p._reconstructActiveFormattingElements();
|
1977
|
-
p._insertFakeElement($.BR);
|
1978
|
-
p.openElements.pop();
|
1979
|
-
p.framesetOk = false;
|
1980
|
-
}
|
1981
|
-
|
1982
|
-
function genericEndTagInBody(p, token) {
|
1983
|
-
const tn = token.tagName;
|
1984
|
-
|
1985
|
-
for (let i = p.openElements.stackTop; i > 0; i--) {
|
1986
|
-
const element = p.openElements.items[i];
|
1987
|
-
|
1988
|
-
if (p.treeAdapter.getTagName(element) === tn) {
|
1989
|
-
p.openElements.generateImpliedEndTagsWithExclusion(tn);
|
1990
|
-
p.openElements.popUntilElementPopped(element);
|
1991
|
-
break;
|
1992
|
-
}
|
1993
|
-
|
1994
|
-
if (p._isSpecialElement(element)) {
|
1995
|
-
break;
|
1996
|
-
}
|
1997
|
-
}
|
1998
|
-
}
|
1999
|
-
|
2000
|
-
//OPTIMIZATION: Integer comparisons are low-cost, so we can use very fast tag name length filters here.
|
2001
|
-
//It's faster than using dictionary.
|
2002
|
-
function endTagInBody(p, token) {
|
2003
|
-
const tn = token.tagName;
|
2004
|
-
|
2005
|
-
switch (tn.length) {
|
2006
|
-
case 1:
|
2007
|
-
if (tn === $.A || tn === $.B || tn === $.I || tn === $.S || tn === $.U) {
|
2008
|
-
callAdoptionAgency(p, token);
|
2009
|
-
} else if (tn === $.P) {
|
2010
|
-
pEndTagInBody(p, token);
|
2011
|
-
} else {
|
2012
|
-
genericEndTagInBody(p, token);
|
2013
|
-
}
|
2014
|
-
|
2015
|
-
break;
|
2016
|
-
|
2017
|
-
case 2:
|
2018
|
-
if (tn === $.DL || tn === $.UL || tn === $.OL) {
|
2019
|
-
addressEndTagInBody(p, token);
|
2020
|
-
} else if (tn === $.LI) {
|
2021
|
-
liEndTagInBody(p, token);
|
2022
|
-
} else if (tn === $.DD || tn === $.DT) {
|
2023
|
-
ddEndTagInBody(p, token);
|
2024
|
-
} else if (tn === $.H1 || tn === $.H2 || tn === $.H3 || tn === $.H4 || tn === $.H5 || tn === $.H6) {
|
2025
|
-
numberedHeaderEndTagInBody(p, token);
|
2026
|
-
} else if (tn === $.BR) {
|
2027
|
-
brEndTagInBody(p, token);
|
2028
|
-
} else if (tn === $.EM || tn === $.TT) {
|
2029
|
-
callAdoptionAgency(p, token);
|
2030
|
-
} else {
|
2031
|
-
genericEndTagInBody(p, token);
|
2032
|
-
}
|
2033
|
-
|
2034
|
-
break;
|
2035
|
-
|
2036
|
-
case 3:
|
2037
|
-
if (tn === $.BIG) {
|
2038
|
-
callAdoptionAgency(p, token);
|
2039
|
-
} else if (tn === $.DIR || tn === $.DIV || tn === $.NAV || tn === $.PRE) {
|
2040
|
-
addressEndTagInBody(p, token);
|
2041
|
-
} else {
|
2042
|
-
genericEndTagInBody(p, token);
|
2043
|
-
}
|
2044
|
-
|
2045
|
-
break;
|
2046
|
-
|
2047
|
-
case 4:
|
2048
|
-
if (tn === $.BODY) {
|
2049
|
-
bodyEndTagInBody(p, token);
|
2050
|
-
} else if (tn === $.HTML) {
|
2051
|
-
htmlEndTagInBody(p, token);
|
2052
|
-
} else if (tn === $.FORM) {
|
2053
|
-
formEndTagInBody(p, token);
|
2054
|
-
} else if (tn === $.CODE || tn === $.FONT || tn === $.NOBR) {
|
2055
|
-
callAdoptionAgency(p, token);
|
2056
|
-
} else if (tn === $.MAIN || tn === $.MENU) {
|
2057
|
-
addressEndTagInBody(p, token);
|
2058
|
-
} else {
|
2059
|
-
genericEndTagInBody(p, token);
|
2060
|
-
}
|
2061
|
-
|
2062
|
-
break;
|
2063
|
-
|
2064
|
-
case 5:
|
2065
|
-
if (tn === $.ASIDE) {
|
2066
|
-
addressEndTagInBody(p, token);
|
2067
|
-
} else if (tn === $.SMALL) {
|
2068
|
-
callAdoptionAgency(p, token);
|
2069
|
-
} else {
|
2070
|
-
genericEndTagInBody(p, token);
|
2071
|
-
}
|
2072
|
-
|
2073
|
-
break;
|
2074
|
-
|
2075
|
-
case 6:
|
2076
|
-
if (
|
2077
|
-
tn === $.CENTER ||
|
2078
|
-
tn === $.FIGURE ||
|
2079
|
-
tn === $.FOOTER ||
|
2080
|
-
tn === $.HEADER ||
|
2081
|
-
tn === $.HGROUP ||
|
2082
|
-
tn === $.DIALOG
|
2083
|
-
) {
|
2084
|
-
addressEndTagInBody(p, token);
|
2085
|
-
} else if (tn === $.APPLET || tn === $.OBJECT) {
|
2086
|
-
appletEndTagInBody(p, token);
|
2087
|
-
} else if (tn === $.STRIKE || tn === $.STRONG) {
|
2088
|
-
callAdoptionAgency(p, token);
|
2089
|
-
} else {
|
2090
|
-
genericEndTagInBody(p, token);
|
2091
|
-
}
|
2092
|
-
|
2093
|
-
break;
|
2094
|
-
|
2095
|
-
case 7:
|
2096
|
-
if (
|
2097
|
-
tn === $.ADDRESS ||
|
2098
|
-
tn === $.ARTICLE ||
|
2099
|
-
tn === $.DETAILS ||
|
2100
|
-
tn === $.SECTION ||
|
2101
|
-
tn === $.SUMMARY ||
|
2102
|
-
tn === $.LISTING
|
2103
|
-
) {
|
2104
|
-
addressEndTagInBody(p, token);
|
2105
|
-
} else if (tn === $.MARQUEE) {
|
2106
|
-
appletEndTagInBody(p, token);
|
2107
|
-
} else {
|
2108
|
-
genericEndTagInBody(p, token);
|
2109
|
-
}
|
2110
|
-
|
2111
|
-
break;
|
2112
|
-
|
2113
|
-
case 8:
|
2114
|
-
if (tn === $.FIELDSET) {
|
2115
|
-
addressEndTagInBody(p, token);
|
2116
|
-
} else if (tn === $.TEMPLATE) {
|
2117
|
-
endTagInHead(p, token);
|
2118
|
-
} else {
|
2119
|
-
genericEndTagInBody(p, token);
|
2120
|
-
}
|
2121
|
-
|
2122
|
-
break;
|
2123
|
-
|
2124
|
-
case 10:
|
2125
|
-
if (tn === $.BLOCKQUOTE || tn === $.FIGCAPTION) {
|
2126
|
-
addressEndTagInBody(p, token);
|
2127
|
-
} else {
|
2128
|
-
genericEndTagInBody(p, token);
|
2129
|
-
}
|
2130
|
-
|
2131
|
-
break;
|
2132
|
-
|
2133
|
-
default:
|
2134
|
-
genericEndTagInBody(p, token);
|
2135
|
-
}
|
2136
|
-
}
|
2137
|
-
|
2138
|
-
function eofInBody(p, token) {
|
2139
|
-
if (p.tmplInsertionModeStackTop > -1) {
|
2140
|
-
eofInTemplate(p, token);
|
2141
|
-
} else {
|
2142
|
-
p.stopped = true;
|
2143
|
-
}
|
2144
|
-
}
|
2145
|
-
|
2146
|
-
// The "text" insertion mode
|
2147
|
-
//------------------------------------------------------------------
|
2148
|
-
function endTagInText(p, token) {
|
2149
|
-
if (token.tagName === $.SCRIPT) {
|
2150
|
-
p.pendingScript = p.openElements.current;
|
2151
|
-
}
|
2152
|
-
|
2153
|
-
p.openElements.pop();
|
2154
|
-
p.insertionMode = p.originalInsertionMode;
|
2155
|
-
}
|
2156
|
-
|
2157
|
-
function eofInText(p, token) {
|
2158
|
-
p._err(ERR.eofInElementThatCanContainOnlyText);
|
2159
|
-
p.openElements.pop();
|
2160
|
-
p.insertionMode = p.originalInsertionMode;
|
2161
|
-
p._processToken(token);
|
2162
|
-
}
|
2163
|
-
|
2164
|
-
// The "in table" insertion mode
|
2165
|
-
//------------------------------------------------------------------
|
2166
|
-
function characterInTable(p, token) {
|
2167
|
-
const curTn = p.openElements.currentTagName;
|
2168
|
-
|
2169
|
-
if (curTn === $.TABLE || curTn === $.TBODY || curTn === $.TFOOT || curTn === $.THEAD || curTn === $.TR) {
|
2170
|
-
p.pendingCharacterTokens = [];
|
2171
|
-
p.hasNonWhitespacePendingCharacterToken = false;
|
2172
|
-
p.originalInsertionMode = p.insertionMode;
|
2173
|
-
p.insertionMode = IN_TABLE_TEXT_MODE;
|
2174
|
-
p._processToken(token);
|
2175
|
-
} else {
|
2176
|
-
tokenInTable(p, token);
|
2177
|
-
}
|
2178
|
-
}
|
2179
|
-
|
2180
|
-
function captionStartTagInTable(p, token) {
|
2181
|
-
p.openElements.clearBackToTableContext();
|
2182
|
-
p.activeFormattingElements.insertMarker();
|
2183
|
-
p._insertElement(token, NS.HTML);
|
2184
|
-
p.insertionMode = IN_CAPTION_MODE;
|
2185
|
-
}
|
2186
|
-
|
2187
|
-
function colgroupStartTagInTable(p, token) {
|
2188
|
-
p.openElements.clearBackToTableContext();
|
2189
|
-
p._insertElement(token, NS.HTML);
|
2190
|
-
p.insertionMode = IN_COLUMN_GROUP_MODE;
|
2191
|
-
}
|
2192
|
-
|
2193
|
-
function colStartTagInTable(p, token) {
|
2194
|
-
p.openElements.clearBackToTableContext();
|
2195
|
-
p._insertFakeElement($.COLGROUP);
|
2196
|
-
p.insertionMode = IN_COLUMN_GROUP_MODE;
|
2197
|
-
p._processToken(token);
|
2198
|
-
}
|
2199
|
-
|
2200
|
-
function tbodyStartTagInTable(p, token) {
|
2201
|
-
p.openElements.clearBackToTableContext();
|
2202
|
-
p._insertElement(token, NS.HTML);
|
2203
|
-
p.insertionMode = IN_TABLE_BODY_MODE;
|
2204
|
-
}
|
2205
|
-
|
2206
|
-
function tdStartTagInTable(p, token) {
|
2207
|
-
p.openElements.clearBackToTableContext();
|
2208
|
-
p._insertFakeElement($.TBODY);
|
2209
|
-
p.insertionMode = IN_TABLE_BODY_MODE;
|
2210
|
-
p._processToken(token);
|
2211
|
-
}
|
2212
|
-
|
2213
|
-
function tableStartTagInTable(p, token) {
|
2214
|
-
if (p.openElements.hasInTableScope($.TABLE)) {
|
2215
|
-
p.openElements.popUntilTagNamePopped($.TABLE);
|
2216
|
-
p._resetInsertionMode();
|
2217
|
-
p._processToken(token);
|
2218
|
-
}
|
2219
|
-
}
|
2220
|
-
|
2221
|
-
function inputStartTagInTable(p, token) {
|
2222
|
-
const inputType = Tokenizer.getTokenAttr(token, ATTRS.TYPE);
|
2223
|
-
|
2224
|
-
if (inputType && inputType.toLowerCase() === HIDDEN_INPUT_TYPE) {
|
2225
|
-
p._appendElement(token, NS.HTML);
|
2226
|
-
} else {
|
2227
|
-
tokenInTable(p, token);
|
2228
|
-
}
|
2229
|
-
|
2230
|
-
token.ackSelfClosing = true;
|
2231
|
-
}
|
2232
|
-
|
2233
|
-
function formStartTagInTable(p, token) {
|
2234
|
-
if (!p.formElement && p.openElements.tmplCount === 0) {
|
2235
|
-
p._insertElement(token, NS.HTML);
|
2236
|
-
p.formElement = p.openElements.current;
|
2237
|
-
p.openElements.pop();
|
2238
|
-
}
|
2239
|
-
}
|
2240
|
-
|
2241
|
-
function startTagInTable(p, token) {
|
2242
|
-
const tn = token.tagName;
|
2243
|
-
|
2244
|
-
switch (tn.length) {
|
2245
|
-
case 2:
|
2246
|
-
if (tn === $.TD || tn === $.TH || tn === $.TR) {
|
2247
|
-
tdStartTagInTable(p, token);
|
2248
|
-
} else {
|
2249
|
-
tokenInTable(p, token);
|
2250
|
-
}
|
2251
|
-
|
2252
|
-
break;
|
2253
|
-
|
2254
|
-
case 3:
|
2255
|
-
if (tn === $.COL) {
|
2256
|
-
colStartTagInTable(p, token);
|
2257
|
-
} else {
|
2258
|
-
tokenInTable(p, token);
|
2259
|
-
}
|
2260
|
-
|
2261
|
-
break;
|
2262
|
-
|
2263
|
-
case 4:
|
2264
|
-
if (tn === $.FORM) {
|
2265
|
-
formStartTagInTable(p, token);
|
2266
|
-
} else {
|
2267
|
-
tokenInTable(p, token);
|
2268
|
-
}
|
2269
|
-
|
2270
|
-
break;
|
2271
|
-
|
2272
|
-
case 5:
|
2273
|
-
if (tn === $.TABLE) {
|
2274
|
-
tableStartTagInTable(p, token);
|
2275
|
-
} else if (tn === $.STYLE) {
|
2276
|
-
startTagInHead(p, token);
|
2277
|
-
} else if (tn === $.TBODY || tn === $.TFOOT || tn === $.THEAD) {
|
2278
|
-
tbodyStartTagInTable(p, token);
|
2279
|
-
} else if (tn === $.INPUT) {
|
2280
|
-
inputStartTagInTable(p, token);
|
2281
|
-
} else {
|
2282
|
-
tokenInTable(p, token);
|
2283
|
-
}
|
2284
|
-
|
2285
|
-
break;
|
2286
|
-
|
2287
|
-
case 6:
|
2288
|
-
if (tn === $.SCRIPT) {
|
2289
|
-
startTagInHead(p, token);
|
2290
|
-
} else {
|
2291
|
-
tokenInTable(p, token);
|
2292
|
-
}
|
2293
|
-
|
2294
|
-
break;
|
2295
|
-
|
2296
|
-
case 7:
|
2297
|
-
if (tn === $.CAPTION) {
|
2298
|
-
captionStartTagInTable(p, token);
|
2299
|
-
} else {
|
2300
|
-
tokenInTable(p, token);
|
2301
|
-
}
|
2302
|
-
|
2303
|
-
break;
|
2304
|
-
|
2305
|
-
case 8:
|
2306
|
-
if (tn === $.COLGROUP) {
|
2307
|
-
colgroupStartTagInTable(p, token);
|
2308
|
-
} else if (tn === $.TEMPLATE) {
|
2309
|
-
startTagInHead(p, token);
|
2310
|
-
} else {
|
2311
|
-
tokenInTable(p, token);
|
2312
|
-
}
|
2313
|
-
|
2314
|
-
break;
|
2315
|
-
|
2316
|
-
default:
|
2317
|
-
tokenInTable(p, token);
|
2318
|
-
}
|
2319
|
-
}
|
2320
|
-
|
2321
|
-
function endTagInTable(p, token) {
|
2322
|
-
const tn = token.tagName;
|
2323
|
-
|
2324
|
-
if (tn === $.TABLE) {
|
2325
|
-
if (p.openElements.hasInTableScope($.TABLE)) {
|
2326
|
-
p.openElements.popUntilTagNamePopped($.TABLE);
|
2327
|
-
p._resetInsertionMode();
|
2328
|
-
}
|
2329
|
-
} else if (tn === $.TEMPLATE) {
|
2330
|
-
endTagInHead(p, token);
|
2331
|
-
} else if (
|
2332
|
-
tn !== $.BODY &&
|
2333
|
-
tn !== $.CAPTION &&
|
2334
|
-
tn !== $.COL &&
|
2335
|
-
tn !== $.COLGROUP &&
|
2336
|
-
tn !== $.HTML &&
|
2337
|
-
tn !== $.TBODY &&
|
2338
|
-
tn !== $.TD &&
|
2339
|
-
tn !== $.TFOOT &&
|
2340
|
-
tn !== $.TH &&
|
2341
|
-
tn !== $.THEAD &&
|
2342
|
-
tn !== $.TR
|
2343
|
-
) {
|
2344
|
-
tokenInTable(p, token);
|
2345
|
-
}
|
2346
|
-
}
|
2347
|
-
|
2348
|
-
function tokenInTable(p, token) {
|
2349
|
-
const savedFosterParentingState = p.fosterParentingEnabled;
|
2350
|
-
|
2351
|
-
p.fosterParentingEnabled = true;
|
2352
|
-
p._processTokenInBodyMode(token);
|
2353
|
-
p.fosterParentingEnabled = savedFosterParentingState;
|
2354
|
-
}
|
2355
|
-
|
2356
|
-
// The "in table text" insertion mode
|
2357
|
-
//------------------------------------------------------------------
|
2358
|
-
function whitespaceCharacterInTableText(p, token) {
|
2359
|
-
p.pendingCharacterTokens.push(token);
|
2360
|
-
}
|
2361
|
-
|
2362
|
-
function characterInTableText(p, token) {
|
2363
|
-
p.pendingCharacterTokens.push(token);
|
2364
|
-
p.hasNonWhitespacePendingCharacterToken = true;
|
2365
|
-
}
|
2366
|
-
|
2367
|
-
function tokenInTableText(p, token) {
|
2368
|
-
let i = 0;
|
2369
|
-
|
2370
|
-
if (p.hasNonWhitespacePendingCharacterToken) {
|
2371
|
-
for (; i < p.pendingCharacterTokens.length; i++) {
|
2372
|
-
tokenInTable(p, p.pendingCharacterTokens[i]);
|
2373
|
-
}
|
2374
|
-
} else {
|
2375
|
-
for (; i < p.pendingCharacterTokens.length; i++) {
|
2376
|
-
p._insertCharacters(p.pendingCharacterTokens[i]);
|
2377
|
-
}
|
2378
|
-
}
|
2379
|
-
|
2380
|
-
p.insertionMode = p.originalInsertionMode;
|
2381
|
-
p._processToken(token);
|
2382
|
-
}
|
2383
|
-
|
2384
|
-
// The "in caption" insertion mode
|
2385
|
-
//------------------------------------------------------------------
|
2386
|
-
function startTagInCaption(p, token) {
|
2387
|
-
const tn = token.tagName;
|
2388
|
-
|
2389
|
-
if (
|
2390
|
-
tn === $.CAPTION ||
|
2391
|
-
tn === $.COL ||
|
2392
|
-
tn === $.COLGROUP ||
|
2393
|
-
tn === $.TBODY ||
|
2394
|
-
tn === $.TD ||
|
2395
|
-
tn === $.TFOOT ||
|
2396
|
-
tn === $.TH ||
|
2397
|
-
tn === $.THEAD ||
|
2398
|
-
tn === $.TR
|
2399
|
-
) {
|
2400
|
-
if (p.openElements.hasInTableScope($.CAPTION)) {
|
2401
|
-
p.openElements.generateImpliedEndTags();
|
2402
|
-
p.openElements.popUntilTagNamePopped($.CAPTION);
|
2403
|
-
p.activeFormattingElements.clearToLastMarker();
|
2404
|
-
p.insertionMode = IN_TABLE_MODE;
|
2405
|
-
p._processToken(token);
|
2406
|
-
}
|
2407
|
-
} else {
|
2408
|
-
startTagInBody(p, token);
|
2409
|
-
}
|
2410
|
-
}
|
2411
|
-
|
2412
|
-
function endTagInCaption(p, token) {
|
2413
|
-
const tn = token.tagName;
|
2414
|
-
|
2415
|
-
if (tn === $.CAPTION || tn === $.TABLE) {
|
2416
|
-
if (p.openElements.hasInTableScope($.CAPTION)) {
|
2417
|
-
p.openElements.generateImpliedEndTags();
|
2418
|
-
p.openElements.popUntilTagNamePopped($.CAPTION);
|
2419
|
-
p.activeFormattingElements.clearToLastMarker();
|
2420
|
-
p.insertionMode = IN_TABLE_MODE;
|
2421
|
-
|
2422
|
-
if (tn === $.TABLE) {
|
2423
|
-
p._processToken(token);
|
2424
|
-
}
|
2425
|
-
}
|
2426
|
-
} else if (
|
2427
|
-
tn !== $.BODY &&
|
2428
|
-
tn !== $.COL &&
|
2429
|
-
tn !== $.COLGROUP &&
|
2430
|
-
tn !== $.HTML &&
|
2431
|
-
tn !== $.TBODY &&
|
2432
|
-
tn !== $.TD &&
|
2433
|
-
tn !== $.TFOOT &&
|
2434
|
-
tn !== $.TH &&
|
2435
|
-
tn !== $.THEAD &&
|
2436
|
-
tn !== $.TR
|
2437
|
-
) {
|
2438
|
-
endTagInBody(p, token);
|
2439
|
-
}
|
2440
|
-
}
|
2441
|
-
|
2442
|
-
// The "in column group" insertion mode
|
2443
|
-
//------------------------------------------------------------------
|
2444
|
-
function startTagInColumnGroup(p, token) {
|
2445
|
-
const tn = token.tagName;
|
2446
|
-
|
2447
|
-
if (tn === $.HTML) {
|
2448
|
-
startTagInBody(p, token);
|
2449
|
-
} else if (tn === $.COL) {
|
2450
|
-
p._appendElement(token, NS.HTML);
|
2451
|
-
token.ackSelfClosing = true;
|
2452
|
-
} else if (tn === $.TEMPLATE) {
|
2453
|
-
startTagInHead(p, token);
|
2454
|
-
} else {
|
2455
|
-
tokenInColumnGroup(p, token);
|
2456
|
-
}
|
2457
|
-
}
|
2458
|
-
|
2459
|
-
function endTagInColumnGroup(p, token) {
|
2460
|
-
const tn = token.tagName;
|
2461
|
-
|
2462
|
-
if (tn === $.COLGROUP) {
|
2463
|
-
if (p.openElements.currentTagName === $.COLGROUP) {
|
2464
|
-
p.openElements.pop();
|
2465
|
-
p.insertionMode = IN_TABLE_MODE;
|
2466
|
-
}
|
2467
|
-
} else if (tn === $.TEMPLATE) {
|
2468
|
-
endTagInHead(p, token);
|
2469
|
-
} else if (tn !== $.COL) {
|
2470
|
-
tokenInColumnGroup(p, token);
|
2471
|
-
}
|
2472
|
-
}
|
2473
|
-
|
2474
|
-
function tokenInColumnGroup(p, token) {
|
2475
|
-
if (p.openElements.currentTagName === $.COLGROUP) {
|
2476
|
-
p.openElements.pop();
|
2477
|
-
p.insertionMode = IN_TABLE_MODE;
|
2478
|
-
p._processToken(token);
|
2479
|
-
}
|
2480
|
-
}
|
2481
|
-
|
2482
|
-
// The "in table body" insertion mode
|
2483
|
-
//------------------------------------------------------------------
|
2484
|
-
function startTagInTableBody(p, token) {
|
2485
|
-
const tn = token.tagName;
|
2486
|
-
|
2487
|
-
if (tn === $.TR) {
|
2488
|
-
p.openElements.clearBackToTableBodyContext();
|
2489
|
-
p._insertElement(token, NS.HTML);
|
2490
|
-
p.insertionMode = IN_ROW_MODE;
|
2491
|
-
} else if (tn === $.TH || tn === $.TD) {
|
2492
|
-
p.openElements.clearBackToTableBodyContext();
|
2493
|
-
p._insertFakeElement($.TR);
|
2494
|
-
p.insertionMode = IN_ROW_MODE;
|
2495
|
-
p._processToken(token);
|
2496
|
-
} else if (
|
2497
|
-
tn === $.CAPTION ||
|
2498
|
-
tn === $.COL ||
|
2499
|
-
tn === $.COLGROUP ||
|
2500
|
-
tn === $.TBODY ||
|
2501
|
-
tn === $.TFOOT ||
|
2502
|
-
tn === $.THEAD
|
2503
|
-
) {
|
2504
|
-
if (p.openElements.hasTableBodyContextInTableScope()) {
|
2505
|
-
p.openElements.clearBackToTableBodyContext();
|
2506
|
-
p.openElements.pop();
|
2507
|
-
p.insertionMode = IN_TABLE_MODE;
|
2508
|
-
p._processToken(token);
|
2509
|
-
}
|
2510
|
-
} else {
|
2511
|
-
startTagInTable(p, token);
|
2512
|
-
}
|
2513
|
-
}
|
2514
|
-
|
2515
|
-
function endTagInTableBody(p, token) {
|
2516
|
-
const tn = token.tagName;
|
2517
|
-
|
2518
|
-
if (tn === $.TBODY || tn === $.TFOOT || tn === $.THEAD) {
|
2519
|
-
if (p.openElements.hasInTableScope(tn)) {
|
2520
|
-
p.openElements.clearBackToTableBodyContext();
|
2521
|
-
p.openElements.pop();
|
2522
|
-
p.insertionMode = IN_TABLE_MODE;
|
2523
|
-
}
|
2524
|
-
} else if (tn === $.TABLE) {
|
2525
|
-
if (p.openElements.hasTableBodyContextInTableScope()) {
|
2526
|
-
p.openElements.clearBackToTableBodyContext();
|
2527
|
-
p.openElements.pop();
|
2528
|
-
p.insertionMode = IN_TABLE_MODE;
|
2529
|
-
p._processToken(token);
|
2530
|
-
}
|
2531
|
-
} else if (
|
2532
|
-
(tn !== $.BODY && tn !== $.CAPTION && tn !== $.COL && tn !== $.COLGROUP) ||
|
2533
|
-
(tn !== $.HTML && tn !== $.TD && tn !== $.TH && tn !== $.TR)
|
2534
|
-
) {
|
2535
|
-
endTagInTable(p, token);
|
2536
|
-
}
|
2537
|
-
}
|
2538
|
-
|
2539
|
-
// The "in row" insertion mode
|
2540
|
-
//------------------------------------------------------------------
|
2541
|
-
function startTagInRow(p, token) {
|
2542
|
-
const tn = token.tagName;
|
2543
|
-
|
2544
|
-
if (tn === $.TH || tn === $.TD) {
|
2545
|
-
p.openElements.clearBackToTableRowContext();
|
2546
|
-
p._insertElement(token, NS.HTML);
|
2547
|
-
p.insertionMode = IN_CELL_MODE;
|
2548
|
-
p.activeFormattingElements.insertMarker();
|
2549
|
-
} else if (
|
2550
|
-
tn === $.CAPTION ||
|
2551
|
-
tn === $.COL ||
|
2552
|
-
tn === $.COLGROUP ||
|
2553
|
-
tn === $.TBODY ||
|
2554
|
-
tn === $.TFOOT ||
|
2555
|
-
tn === $.THEAD ||
|
2556
|
-
tn === $.TR
|
2557
|
-
) {
|
2558
|
-
if (p.openElements.hasInTableScope($.TR)) {
|
2559
|
-
p.openElements.clearBackToTableRowContext();
|
2560
|
-
p.openElements.pop();
|
2561
|
-
p.insertionMode = IN_TABLE_BODY_MODE;
|
2562
|
-
p._processToken(token);
|
2563
|
-
}
|
2564
|
-
} else {
|
2565
|
-
startTagInTable(p, token);
|
2566
|
-
}
|
2567
|
-
}
|
2568
|
-
|
2569
|
-
function endTagInRow(p, token) {
|
2570
|
-
const tn = token.tagName;
|
2571
|
-
|
2572
|
-
if (tn === $.TR) {
|
2573
|
-
if (p.openElements.hasInTableScope($.TR)) {
|
2574
|
-
p.openElements.clearBackToTableRowContext();
|
2575
|
-
p.openElements.pop();
|
2576
|
-
p.insertionMode = IN_TABLE_BODY_MODE;
|
2577
|
-
}
|
2578
|
-
} else if (tn === $.TABLE) {
|
2579
|
-
if (p.openElements.hasInTableScope($.TR)) {
|
2580
|
-
p.openElements.clearBackToTableRowContext();
|
2581
|
-
p.openElements.pop();
|
2582
|
-
p.insertionMode = IN_TABLE_BODY_MODE;
|
2583
|
-
p._processToken(token);
|
2584
|
-
}
|
2585
|
-
} else if (tn === $.TBODY || tn === $.TFOOT || tn === $.THEAD) {
|
2586
|
-
if (p.openElements.hasInTableScope(tn) || p.openElements.hasInTableScope($.TR)) {
|
2587
|
-
p.openElements.clearBackToTableRowContext();
|
2588
|
-
p.openElements.pop();
|
2589
|
-
p.insertionMode = IN_TABLE_BODY_MODE;
|
2590
|
-
p._processToken(token);
|
2591
|
-
}
|
2592
|
-
} else if (
|
2593
|
-
(tn !== $.BODY && tn !== $.CAPTION && tn !== $.COL && tn !== $.COLGROUP) ||
|
2594
|
-
(tn !== $.HTML && tn !== $.TD && tn !== $.TH)
|
2595
|
-
) {
|
2596
|
-
endTagInTable(p, token);
|
2597
|
-
}
|
2598
|
-
}
|
2599
|
-
|
2600
|
-
// The "in cell" insertion mode
|
2601
|
-
//------------------------------------------------------------------
|
2602
|
-
function startTagInCell(p, token) {
|
2603
|
-
const tn = token.tagName;
|
2604
|
-
|
2605
|
-
if (
|
2606
|
-
tn === $.CAPTION ||
|
2607
|
-
tn === $.COL ||
|
2608
|
-
tn === $.COLGROUP ||
|
2609
|
-
tn === $.TBODY ||
|
2610
|
-
tn === $.TD ||
|
2611
|
-
tn === $.TFOOT ||
|
2612
|
-
tn === $.TH ||
|
2613
|
-
tn === $.THEAD ||
|
2614
|
-
tn === $.TR
|
2615
|
-
) {
|
2616
|
-
if (p.openElements.hasInTableScope($.TD) || p.openElements.hasInTableScope($.TH)) {
|
2617
|
-
p._closeTableCell();
|
2618
|
-
p._processToken(token);
|
2619
|
-
}
|
2620
|
-
} else {
|
2621
|
-
startTagInBody(p, token);
|
2622
|
-
}
|
2623
|
-
}
|
2624
|
-
|
2625
|
-
function endTagInCell(p, token) {
|
2626
|
-
const tn = token.tagName;
|
2627
|
-
|
2628
|
-
if (tn === $.TD || tn === $.TH) {
|
2629
|
-
if (p.openElements.hasInTableScope(tn)) {
|
2630
|
-
p.openElements.generateImpliedEndTags();
|
2631
|
-
p.openElements.popUntilTagNamePopped(tn);
|
2632
|
-
p.activeFormattingElements.clearToLastMarker();
|
2633
|
-
p.insertionMode = IN_ROW_MODE;
|
2634
|
-
}
|
2635
|
-
} else if (tn === $.TABLE || tn === $.TBODY || tn === $.TFOOT || tn === $.THEAD || tn === $.TR) {
|
2636
|
-
if (p.openElements.hasInTableScope(tn)) {
|
2637
|
-
p._closeTableCell();
|
2638
|
-
p._processToken(token);
|
2639
|
-
}
|
2640
|
-
} else if (tn !== $.BODY && tn !== $.CAPTION && tn !== $.COL && tn !== $.COLGROUP && tn !== $.HTML) {
|
2641
|
-
endTagInBody(p, token);
|
2642
|
-
}
|
2643
|
-
}
|
2644
|
-
|
2645
|
-
// The "in select" insertion mode
|
2646
|
-
//------------------------------------------------------------------
|
2647
|
-
function startTagInSelect(p, token) {
|
2648
|
-
const tn = token.tagName;
|
2649
|
-
|
2650
|
-
if (tn === $.HTML) {
|
2651
|
-
startTagInBody(p, token);
|
2652
|
-
} else if (tn === $.OPTION) {
|
2653
|
-
if (p.openElements.currentTagName === $.OPTION) {
|
2654
|
-
p.openElements.pop();
|
2655
|
-
}
|
2656
|
-
|
2657
|
-
p._insertElement(token, NS.HTML);
|
2658
|
-
} else if (tn === $.OPTGROUP) {
|
2659
|
-
if (p.openElements.currentTagName === $.OPTION) {
|
2660
|
-
p.openElements.pop();
|
2661
|
-
}
|
2662
|
-
|
2663
|
-
if (p.openElements.currentTagName === $.OPTGROUP) {
|
2664
|
-
p.openElements.pop();
|
2665
|
-
}
|
2666
|
-
|
2667
|
-
p._insertElement(token, NS.HTML);
|
2668
|
-
} else if (tn === $.INPUT || tn === $.KEYGEN || tn === $.TEXTAREA || tn === $.SELECT) {
|
2669
|
-
if (p.openElements.hasInSelectScope($.SELECT)) {
|
2670
|
-
p.openElements.popUntilTagNamePopped($.SELECT);
|
2671
|
-
p._resetInsertionMode();
|
2672
|
-
|
2673
|
-
if (tn !== $.SELECT) {
|
2674
|
-
p._processToken(token);
|
2675
|
-
}
|
2676
|
-
}
|
2677
|
-
} else if (tn === $.SCRIPT || tn === $.TEMPLATE) {
|
2678
|
-
startTagInHead(p, token);
|
2679
|
-
}
|
2680
|
-
}
|
2681
|
-
|
2682
|
-
function endTagInSelect(p, token) {
|
2683
|
-
const tn = token.tagName;
|
2684
|
-
|
2685
|
-
if (tn === $.OPTGROUP) {
|
2686
|
-
const prevOpenElement = p.openElements.items[p.openElements.stackTop - 1];
|
2687
|
-
const prevOpenElementTn = prevOpenElement && p.treeAdapter.getTagName(prevOpenElement);
|
2688
|
-
|
2689
|
-
if (p.openElements.currentTagName === $.OPTION && prevOpenElementTn === $.OPTGROUP) {
|
2690
|
-
p.openElements.pop();
|
2691
|
-
}
|
2692
|
-
|
2693
|
-
if (p.openElements.currentTagName === $.OPTGROUP) {
|
2694
|
-
p.openElements.pop();
|
2695
|
-
}
|
2696
|
-
} else if (tn === $.OPTION) {
|
2697
|
-
if (p.openElements.currentTagName === $.OPTION) {
|
2698
|
-
p.openElements.pop();
|
2699
|
-
}
|
2700
|
-
} else if (tn === $.SELECT && p.openElements.hasInSelectScope($.SELECT)) {
|
2701
|
-
p.openElements.popUntilTagNamePopped($.SELECT);
|
2702
|
-
p._resetInsertionMode();
|
2703
|
-
} else if (tn === $.TEMPLATE) {
|
2704
|
-
endTagInHead(p, token);
|
2705
|
-
}
|
2706
|
-
}
|
2707
|
-
|
2708
|
-
//12.2.5.4.17 The "in select in table" insertion mode
|
2709
|
-
//------------------------------------------------------------------
|
2710
|
-
function startTagInSelectInTable(p, token) {
|
2711
|
-
const tn = token.tagName;
|
2712
|
-
|
2713
|
-
if (
|
2714
|
-
tn === $.CAPTION ||
|
2715
|
-
tn === $.TABLE ||
|
2716
|
-
tn === $.TBODY ||
|
2717
|
-
tn === $.TFOOT ||
|
2718
|
-
tn === $.THEAD ||
|
2719
|
-
tn === $.TR ||
|
2720
|
-
tn === $.TD ||
|
2721
|
-
tn === $.TH
|
2722
|
-
) {
|
2723
|
-
p.openElements.popUntilTagNamePopped($.SELECT);
|
2724
|
-
p._resetInsertionMode();
|
2725
|
-
p._processToken(token);
|
2726
|
-
} else {
|
2727
|
-
startTagInSelect(p, token);
|
2728
|
-
}
|
2729
|
-
}
|
2730
|
-
|
2731
|
-
function endTagInSelectInTable(p, token) {
|
2732
|
-
const tn = token.tagName;
|
2733
|
-
|
2734
|
-
if (
|
2735
|
-
tn === $.CAPTION ||
|
2736
|
-
tn === $.TABLE ||
|
2737
|
-
tn === $.TBODY ||
|
2738
|
-
tn === $.TFOOT ||
|
2739
|
-
tn === $.THEAD ||
|
2740
|
-
tn === $.TR ||
|
2741
|
-
tn === $.TD ||
|
2742
|
-
tn === $.TH
|
2743
|
-
) {
|
2744
|
-
if (p.openElements.hasInTableScope(tn)) {
|
2745
|
-
p.openElements.popUntilTagNamePopped($.SELECT);
|
2746
|
-
p._resetInsertionMode();
|
2747
|
-
p._processToken(token);
|
2748
|
-
}
|
2749
|
-
} else {
|
2750
|
-
endTagInSelect(p, token);
|
2751
|
-
}
|
2752
|
-
}
|
2753
|
-
|
2754
|
-
// The "in template" insertion mode
|
2755
|
-
//------------------------------------------------------------------
|
2756
|
-
function startTagInTemplate(p, token) {
|
2757
|
-
const tn = token.tagName;
|
2758
|
-
|
2759
|
-
if (
|
2760
|
-
tn === $.BASE ||
|
2761
|
-
tn === $.BASEFONT ||
|
2762
|
-
tn === $.BGSOUND ||
|
2763
|
-
tn === $.LINK ||
|
2764
|
-
tn === $.META ||
|
2765
|
-
tn === $.NOFRAMES ||
|
2766
|
-
tn === $.SCRIPT ||
|
2767
|
-
tn === $.STYLE ||
|
2768
|
-
tn === $.TEMPLATE ||
|
2769
|
-
tn === $.TITLE
|
2770
|
-
) {
|
2771
|
-
startTagInHead(p, token);
|
2772
|
-
} else {
|
2773
|
-
const newInsertionMode = TEMPLATE_INSERTION_MODE_SWITCH_MAP[tn] || IN_BODY_MODE;
|
2774
|
-
|
2775
|
-
p._popTmplInsertionMode();
|
2776
|
-
p._pushTmplInsertionMode(newInsertionMode);
|
2777
|
-
p.insertionMode = newInsertionMode;
|
2778
|
-
p._processToken(token);
|
2779
|
-
}
|
2780
|
-
}
|
2781
|
-
|
2782
|
-
function endTagInTemplate(p, token) {
|
2783
|
-
if (token.tagName === $.TEMPLATE) {
|
2784
|
-
endTagInHead(p, token);
|
2785
|
-
}
|
2786
|
-
}
|
2787
|
-
|
2788
|
-
function eofInTemplate(p, token) {
|
2789
|
-
if (p.openElements.tmplCount > 0) {
|
2790
|
-
p.openElements.popUntilTagNamePopped($.TEMPLATE);
|
2791
|
-
p.activeFormattingElements.clearToLastMarker();
|
2792
|
-
p._popTmplInsertionMode();
|
2793
|
-
p._resetInsertionMode();
|
2794
|
-
p._processToken(token);
|
2795
|
-
} else {
|
2796
|
-
p.stopped = true;
|
2797
|
-
}
|
2798
|
-
}
|
2799
|
-
|
2800
|
-
// The "after body" insertion mode
|
2801
|
-
//------------------------------------------------------------------
|
2802
|
-
function startTagAfterBody(p, token) {
|
2803
|
-
if (token.tagName === $.HTML) {
|
2804
|
-
startTagInBody(p, token);
|
2805
|
-
} else {
|
2806
|
-
tokenAfterBody(p, token);
|
2807
|
-
}
|
2808
|
-
}
|
2809
|
-
|
2810
|
-
function endTagAfterBody(p, token) {
|
2811
|
-
if (token.tagName === $.HTML) {
|
2812
|
-
if (!p.fragmentContext) {
|
2813
|
-
p.insertionMode = AFTER_AFTER_BODY_MODE;
|
2814
|
-
}
|
2815
|
-
} else {
|
2816
|
-
tokenAfterBody(p, token);
|
2817
|
-
}
|
2818
|
-
}
|
2819
|
-
|
2820
|
-
function tokenAfterBody(p, token) {
|
2821
|
-
p.insertionMode = IN_BODY_MODE;
|
2822
|
-
p._processToken(token);
|
2823
|
-
}
|
2824
|
-
|
2825
|
-
// The "in frameset" insertion mode
|
2826
|
-
//------------------------------------------------------------------
|
2827
|
-
function startTagInFrameset(p, token) {
|
2828
|
-
const tn = token.tagName;
|
2829
|
-
|
2830
|
-
if (tn === $.HTML) {
|
2831
|
-
startTagInBody(p, token);
|
2832
|
-
} else if (tn === $.FRAMESET) {
|
2833
|
-
p._insertElement(token, NS.HTML);
|
2834
|
-
} else if (tn === $.FRAME) {
|
2835
|
-
p._appendElement(token, NS.HTML);
|
2836
|
-
token.ackSelfClosing = true;
|
2837
|
-
} else if (tn === $.NOFRAMES) {
|
2838
|
-
startTagInHead(p, token);
|
2839
|
-
}
|
2840
|
-
}
|
2841
|
-
|
2842
|
-
function endTagInFrameset(p, token) {
|
2843
|
-
if (token.tagName === $.FRAMESET && !p.openElements.isRootHtmlElementCurrent()) {
|
2844
|
-
p.openElements.pop();
|
2845
|
-
|
2846
|
-
if (!p.fragmentContext && p.openElements.currentTagName !== $.FRAMESET) {
|
2847
|
-
p.insertionMode = AFTER_FRAMESET_MODE;
|
2848
|
-
}
|
2849
|
-
}
|
2850
|
-
}
|
2851
|
-
|
2852
|
-
// The "after frameset" insertion mode
|
2853
|
-
//------------------------------------------------------------------
|
2854
|
-
function startTagAfterFrameset(p, token) {
|
2855
|
-
const tn = token.tagName;
|
2856
|
-
|
2857
|
-
if (tn === $.HTML) {
|
2858
|
-
startTagInBody(p, token);
|
2859
|
-
} else if (tn === $.NOFRAMES) {
|
2860
|
-
startTagInHead(p, token);
|
2861
|
-
}
|
2862
|
-
}
|
2863
|
-
|
2864
|
-
function endTagAfterFrameset(p, token) {
|
2865
|
-
if (token.tagName === $.HTML) {
|
2866
|
-
p.insertionMode = AFTER_AFTER_FRAMESET_MODE;
|
2867
|
-
}
|
2868
|
-
}
|
2869
|
-
|
2870
|
-
// The "after after body" insertion mode
|
2871
|
-
//------------------------------------------------------------------
|
2872
|
-
function startTagAfterAfterBody(p, token) {
|
2873
|
-
if (token.tagName === $.HTML) {
|
2874
|
-
startTagInBody(p, token);
|
2875
|
-
} else {
|
2876
|
-
tokenAfterAfterBody(p, token);
|
2877
|
-
}
|
2878
|
-
}
|
2879
|
-
|
2880
|
-
function tokenAfterAfterBody(p, token) {
|
2881
|
-
p.insertionMode = IN_BODY_MODE;
|
2882
|
-
p._processToken(token);
|
2883
|
-
}
|
2884
|
-
|
2885
|
-
// The "after after frameset" insertion mode
|
2886
|
-
//------------------------------------------------------------------
|
2887
|
-
function startTagAfterAfterFrameset(p, token) {
|
2888
|
-
const tn = token.tagName;
|
2889
|
-
|
2890
|
-
if (tn === $.HTML) {
|
2891
|
-
startTagInBody(p, token);
|
2892
|
-
} else if (tn === $.NOFRAMES) {
|
2893
|
-
startTagInHead(p, token);
|
2894
|
-
}
|
2895
|
-
}
|
2896
|
-
|
2897
|
-
// The rules for parsing tokens in foreign content
|
2898
|
-
//------------------------------------------------------------------
|
2899
|
-
function nullCharacterInForeignContent(p, token) {
|
2900
|
-
token.chars = unicode.REPLACEMENT_CHARACTER;
|
2901
|
-
p._insertCharacters(token);
|
2902
|
-
}
|
2903
|
-
|
2904
|
-
function characterInForeignContent(p, token) {
|
2905
|
-
p._insertCharacters(token);
|
2906
|
-
p.framesetOk = false;
|
2907
|
-
}
|
2908
|
-
|
2909
|
-
function startTagInForeignContent(p, token) {
|
2910
|
-
if (foreignContent.causesExit(token) && !p.fragmentContext) {
|
2911
|
-
while (
|
2912
|
-
p.treeAdapter.getNamespaceURI(p.openElements.current) !== NS.HTML &&
|
2913
|
-
!p._isIntegrationPoint(p.openElements.current)
|
2914
|
-
) {
|
2915
|
-
p.openElements.pop();
|
2916
|
-
}
|
2917
|
-
|
2918
|
-
p._processToken(token);
|
2919
|
-
} else {
|
2920
|
-
const current = p._getAdjustedCurrentElement();
|
2921
|
-
const currentNs = p.treeAdapter.getNamespaceURI(current);
|
2922
|
-
|
2923
|
-
if (currentNs === NS.MATHML) {
|
2924
|
-
foreignContent.adjustTokenMathMLAttrs(token);
|
2925
|
-
} else if (currentNs === NS.SVG) {
|
2926
|
-
foreignContent.adjustTokenSVGTagName(token);
|
2927
|
-
foreignContent.adjustTokenSVGAttrs(token);
|
2928
|
-
}
|
2929
|
-
|
2930
|
-
foreignContent.adjustTokenXMLAttrs(token);
|
2931
|
-
|
2932
|
-
if (token.selfClosing) {
|
2933
|
-
p._appendElement(token, currentNs);
|
2934
|
-
} else {
|
2935
|
-
p._insertElement(token, currentNs);
|
2936
|
-
}
|
2937
|
-
|
2938
|
-
token.ackSelfClosing = true;
|
2939
|
-
}
|
2940
|
-
}
|
2941
|
-
|
2942
|
-
function endTagInForeignContent(p, token) {
|
2943
|
-
for (let i = p.openElements.stackTop; i > 0; i--) {
|
2944
|
-
const element = p.openElements.items[i];
|
2945
|
-
|
2946
|
-
if (p.treeAdapter.getNamespaceURI(element) === NS.HTML) {
|
2947
|
-
p._processToken(token);
|
2948
|
-
break;
|
2949
|
-
}
|
2950
|
-
|
2951
|
-
if (p.treeAdapter.getTagName(element).toLowerCase() === token.tagName) {
|
2952
|
-
p.openElements.popUntilElementPopped(element);
|
2953
|
-
break;
|
2954
|
-
}
|
2955
|
-
}
|
2956
|
-
}
|