@angular-wave/angular.ts 0.7.2 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci.yml +1 -1
- package/.prettierignore +1 -0
- package/@types/core/cache/cache.d.ts +0 -5
- package/@types/core/di/internal-injector.d.ts +2 -5
- package/@types/core/di/ng-module.d.ts +0 -7
- package/@types/core/exception-handler.d.ts +2 -2
- package/@types/core/pubsub/pubsub.d.ts +3 -3
- package/@types/directive/channel/channel.d.ts +9 -3
- package/@types/directive/http/http.d.ts +39 -0
- package/@types/directive/if/if.d.ts +0 -2
- package/@types/interface.d.ts +16 -4
- package/@types/loader.d.ts +3 -3
- package/@types/public.d.ts +1 -2
- package/@types/shared/common.d.ts +7 -8
- package/Makefile +8 -0
- package/dist/angular-ts.esm.js +289 -68
- package/dist/angular-ts.umd.js +289 -68
- package/dist/angular-ts.umd.min.js +1 -1
- package/docs/README.md +69 -39
- package/docs/assets/scss/_variables_project.scss +6 -0
- package/docs/assets/scss/_variables_project_after_bs.scss +8 -0
- package/docs/assets/scss/index.scss +14 -0
- package/docs/content/{en/_index.md → _index.md} +6 -1
- package/docs/content/{en/docs → docs}/_index.md +9 -10
- package/docs/docker-compose.yaml +2 -3
- package/docs/hugo.yaml +17 -18
- package/docs/layouts/404.html +8 -2
- package/docs/static/typedoc/assets/hierarchy.js +1 -0
- package/docs/static/typedoc/assets/highlight.css +78 -0
- package/docs/static/typedoc/assets/icons.js +18 -0
- package/docs/static/typedoc/assets/main.js +60 -0
- package/docs/static/typedoc/assets/navigation.js +1 -0
- package/docs/static/typedoc/assets/search.js +1 -0
- package/docs/static/typedoc/assets/style.css +1640 -0
- package/docs/static/typedoc/hierarchy.html +1 -0
- package/docs/static/typedoc/index.html +1 -0
- package/docs/static/typedoc/interfaces/ChangesObject.html +6 -0
- package/docs/static/typedoc/interfaces/ComponentOptions.html +16 -0
- package/docs/static/typedoc/interfaces/Controller.html +12 -0
- package/docs/static/typedoc/interfaces/Directive.html +36 -0
- package/docs/static/typedoc/interfaces/DirectivePrePost.html +4 -0
- package/docs/static/typedoc/interfaces/NgModelController.html +30 -0
- package/docs/static/typedoc/interfaces/NgModelOptions.html +16 -0
- package/docs/static/typedoc/interfaces/Provider.html +28 -0
- package/docs/static/typedoc/interfaces/ServiceProvider.html +5 -0
- package/docs/static/typedoc/interfaces/TranscludeFunctionObject.html +8 -0
- package/docs/static/typedoc/types/AnnotatedFactory.html +8 -0
- package/docs/static/typedoc/types/CloneAttachFunction.html +2 -0
- package/docs/static/typedoc/types/ControllerConstructor.html +2 -0
- package/docs/static/typedoc/types/DirectiveCompileFn.html +2 -0
- package/docs/static/typedoc/types/DirectiveController.html +2 -0
- package/docs/static/typedoc/types/DirectiveFactory.html +2 -0
- package/docs/static/typedoc/types/DirectiveLinkFn.html +2 -0
- package/docs/static/typedoc/types/Expression.html +6 -0
- package/docs/static/typedoc/types/FilterFactory.html +2 -0
- package/docs/static/typedoc/types/FilterFn.html +2 -0
- package/docs/static/typedoc/types/Injectable.html +1 -0
- package/docs/static/typedoc/types/InjectableFactory.html +4 -0
- package/docs/static/typedoc/types/OnChangesObject.html +2 -0
- package/docs/static/typedoc/types/SwapInsertPosition.html +2 -0
- package/docs/static/typedoc/types/TController.html +2 -0
- package/legacy.d.ts +2695 -0
- package/package.json +2 -2
- package/playwright.config.ts +2 -0
- package/src/animations/animate.spec.js +1 -1
- package/src/binding.spec.js +1 -1
- package/src/core/cache/cache.js +0 -3
- package/src/core/compile/compile.js +3 -1
- package/src/core/compile/compile.spec.js +9 -95
- package/src/core/di/injector.js +1 -1
- package/src/core/di/injector.spec.js +0 -30
- package/src/core/di/internal-injector.js +2 -5
- package/src/core/di/ng-module.js +1 -23
- package/src/core/di/ng-module.spec.js +0 -6
- package/src/core/exception-handler.js +1 -1
- package/src/core/pubsub/pubsub.js +6 -6
- package/src/directive/channel/channel.js +8 -6
- package/src/directive/http/delete.spec.js +24 -0
- package/src/directive/http/get.spec.js +211 -0
- package/src/directive/http/http.html +22 -0
- package/src/directive/http/http.js +245 -0
- package/src/directive/http/http.test.js +12 -0
- package/src/directive/http/post-example.html +30 -0
- package/src/directive/http/post.spec.js +24 -0
- package/src/directive/http/put.spec.js +24 -0
- package/src/directive/if/if.js +0 -2
- package/src/directive/include/include.spec.js +0 -1
- package/src/directive/model-options/model-options.spec.js +1 -5
- package/src/directive/repeat/repeat.spec.js +1 -1
- package/src/directive/setter/setter.spec.js +1 -1
- package/src/directive/style/style.js +1 -1
- package/src/interface.ts +17 -4
- package/src/loader.js +6 -7
- package/src/loader.spec.js +0 -31
- package/src/public.js +12 -6
- package/src/services/http-backend/http-backend.js +3 -1
- package/src/shared/common.js +11 -36
- package/src/shared/common.spec.js +34 -3
- package/src/shared/dom.js +3 -14
- package/typedoc.json +3 -2
- package/utils/express.js +13 -0
- package/docs/netlify.toml +0 -12
- package/typedoc/assets/hierarchy.js +0 -2
- package/typedoc/assets/highlight.css +0 -209
- package/typedoc/assets/icons.js +0 -21
- package/typedoc/assets/main.js +0 -2589
- package/typedoc/assets/navigation.js +0 -2
- package/typedoc/assets/search.js +0 -2
- package/typedoc/assets/style.css +0 -1623
- package/typedoc/classes/animations_animate-cache.AnimateCacheProvider.html +0 -543
- package/typedoc/classes/animations_animate-css-driver.AnimateCssDriverProvider.html +0 -691
- package/typedoc/classes/animations_animate-css.AnimateCssProvider.html +0 -712
- package/typedoc/classes/animations_animate-js-driver.AnimateJsDriverProvider.html +0 -536
- package/typedoc/classes/animations_animate-js.AnimateJsProvider.html +0 -795
- package/typedoc/classes/animations_animate-queue.AnimateQueueProvider.html +0 -1137
- package/typedoc/classes/animations_animate-runner.AnimateAsyncRunFactoryProvider.html +0 -473
- package/typedoc/classes/animations_animate-runner.AnimateRunner.html +0 -1589
- package/typedoc/classes/animations_animate-runner.AnimateRunnerFactoryProvider.html +0 -474
- package/typedoc/classes/animations_animate.AnimateProvider.html +0 -1278
- package/typedoc/classes/animations_animation.AnimationProvider.html +0 -749
- package/typedoc/classes/animations_raf-scheduler.RafSchedulerProvider.html +0 -699
- package/typedoc/classes/core_cache_cache-factory.TemplateCacheProvider.html +0 -525
- package/typedoc/classes/core_compile_attributes.Attributes.html +0 -1776
- package/typedoc/classes/core_compile_compile.CompileProvider.html +0 -2137
- package/typedoc/classes/core_controller_controller.ControllerProvider.html +0 -894
- package/typedoc/classes/core_di_internal-injector.InjectorService.html +0 -1336
- package/typedoc/classes/core_di_internal-injector.ProviderInjector.html +0 -1242
- package/typedoc/classes/core_di_ng-module.NgModule.html +0 -1880
- package/typedoc/classes/core_exception-handler.ExceptionHandlerProvider.html +0 -631
- package/typedoc/classes/core_filter_filter.FilterProvider.html +0 -786
- package/typedoc/classes/core_interpolate_interpolate.InterpolateProvider.html +0 -1318
- package/typedoc/classes/core_location_location.Location.html +0 -2128
- package/typedoc/classes/core_location_location.LocationHashbangUrl.html +0 -2502
- package/typedoc/classes/core_location_location.LocationHtml5Url.html +0 -2490
- package/typedoc/classes/core_location_location.LocationProvider.html +0 -1023
- package/typedoc/classes/core_parse_ast_ast.AST.html +0 -2520
- package/typedoc/classes/core_parse_interpreter.ASTInterpreter.html +0 -3314
- package/typedoc/classes/core_parse_lexer_lexer.Lexer.html +0 -1788
- package/typedoc/classes/core_parse_parse.ParseProvider.html +0 -753
- package/typedoc/classes/core_parse_parser_parser.Parser.html +0 -741
- package/typedoc/classes/core_pubsub_pubsub.PubSub.html +0 -1346
- package/typedoc/classes/core_pubsub_pubsub.PubSubProvider.html +0 -576
- package/typedoc/classes/core_sanitize_sanitize-uri.SanitizeUriProvider.html +0 -696
- package/typedoc/classes/core_sce_sce.SceDelegateProvider.html +0 -1219
- package/typedoc/classes/core_sce_sce.SceProvider.html +0 -589
- package/typedoc/classes/core_scope_scope.RootScopeProvider.html +0 -520
- package/typedoc/classes/core_scope_scope.Scope.html +0 -2753
- package/typedoc/classes/core_task-tracker-factory.TaskTracker.html +0 -882
- package/typedoc/classes/core_task-tracker-factory.TaskTrackerFactoryProvider.html +0 -478
- package/typedoc/classes/directive_aria_aria.AriaProvider.html +0 -605
- package/typedoc/classes/directive_form_form.FormController.html +0 -2320
- package/typedoc/classes/directive_model_model.NgModelController.html +0 -4214
- package/typedoc/classes/loader.Angular.html +0 -1634
- package/typedoc/classes/router_common_glob.Glob.html +0 -904
- package/typedoc/classes/router_common_queue.Queue.html +0 -1284
- package/typedoc/classes/router_common_trace.Trace.html +0 -2020
- package/typedoc/classes/router_globals.RouterGlobals.html +0 -824
- package/typedoc/classes/router_params_param-factory.ParamFactory.html +0 -797
- package/typedoc/classes/router_params_param-type.ParamType.html +0 -1168
- package/typedoc/classes/router_params_param-types.ParamTypes.html +0 -770
- package/typedoc/classes/router_params_param.Param.html +0 -1614
- package/typedoc/classes/router_params_state-params.StateParams.html +0 -558
- package/typedoc/classes/router_path_path-node.PathNode.html +0 -1046
- package/typedoc/classes/router_path_path-utils.PathUtils.html +0 -1432
- package/typedoc/classes/router_resolve_resolvable.Resolvable.html +0 -1225
- package/typedoc/classes/router_resolve_resolve-context.ResolveContext.html +0 -1315
- package/typedoc/classes/router_state-provider.StateProvider.html +0 -957
- package/typedoc/classes/router_state_state-builder.StateBuilder.html +0 -1045
- package/typedoc/classes/router_state_state-matcher.StateMatcher.html +0 -742
- package/typedoc/classes/router_state_state-object.StateObject.html +0 -1515
- package/typedoc/classes/router_state_state-queue-manager.StateQueueManager.html +0 -941
- package/typedoc/classes/router_state_state-registry.StateRegistryProvider.html +0 -1712
- package/typedoc/classes/router_state_state-service.StateProvider.html +0 -3038
- package/typedoc/classes/router_state_target-state.TargetState.html +0 -1655
- package/typedoc/classes/router_state_views.ViewConfig.html +0 -1123
- package/typedoc/classes/router_template-factory.TemplateFactoryProvider.html +0 -1689
- package/typedoc/classes/router_transition_hook-builder.HookBuilder.html +0 -823
- package/typedoc/classes/router_transition_hook-registry.RegisteredHook.html +0 -1302
- package/typedoc/classes/router_transition_reject-factory.Rejection.html +0 -1299
- package/typedoc/classes/router_transition_transition-event-type.TransitionEventType.html +0 -995
- package/typedoc/classes/router_transition_transition-hook.TransitionHook.html +0 -1739
- package/typedoc/classes/router_transition_transition-service.TransitionProvider.html +0 -1763
- package/typedoc/classes/router_transition_transition.Transition.html +0 -3942
- package/typedoc/classes/router_url_url-config.UrlConfigProvider.html +0 -1198
- package/typedoc/classes/router_url_url-matcher.UrlMatcher.html +0 -2056
- package/typedoc/classes/router_url_url-rule.BaseUrlRule.html +0 -736
- package/typedoc/classes/router_url_url-rule.UrlRuleFactory.html +0 -1461
- package/typedoc/classes/router_url_url-rules.UrlRules.html +0 -1808
- package/typedoc/classes/router_url_url-service.UrlService.html +0 -2792
- package/typedoc/classes/router_view-scroll.ViewScrollProvider.html +0 -687
- package/typedoc/classes/router_view_view.ViewService.html +0 -1691
- package/typedoc/classes/services_anchor-scroll.AnchorScrollProvider.html +0 -618
- package/typedoc/classes/services_browser.Browser.html +0 -1331
- package/typedoc/classes/services_browser.BrowserProvider.html +0 -564
- package/typedoc/classes/services_http-backend_http-backend.HttpBackendProvider.html +0 -782
- package/typedoc/classes/services_http_http.HttpParamSerializerProvider.html +0 -535
- package/typedoc/classes/services_http_http.HttpProvider.html +0 -1537
- package/typedoc/classes/services_log.LogProvider.html +0 -776
- package/typedoc/classes/services_template-request.TemplateRequestProvider.html +0 -914
- package/typedoc/classes/shared_noderef.NodeRef.html +0 -1529
- package/typedoc/enums/core_parse_ast-type.ASTType.html +0 -903
- package/typedoc/enums/router_common_trace.Category.html +0 -492
- package/typedoc/enums/router_transition_interface.TransitionHookPhase.html +0 -489
- package/typedoc/enums/router_transition_interface.TransitionHookScope.html +0 -390
- package/typedoc/enums/router_transition_reject-factory.RejectType.html +0 -546
- package/typedoc/functions/animations_animate-cache.animateCache.html +0 -818
- package/typedoc/functions/animations_animate-children-directive.__AnimateChildrenDirective.html +0 -412
- package/typedoc/functions/animations_animate-swap.ngAnimateSwapDirective.html +0 -409
- package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +0 -294
- package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +0 -297
- package/typedoc/functions/animations_shared.applyAnimationStyles.html +0 -296
- package/typedoc/functions/animations_shared.applyAnimationToStyles.html +0 -297
- package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +0 -311
- package/typedoc/functions/animations_shared.applyInlineStyle.html +0 -293
- package/typedoc/functions/animations_shared.assertArg.html +0 -303
- package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +0 -299
- package/typedoc/functions/animations_shared.clearGeneratedClasses.html +0 -297
- package/typedoc/functions/animations_shared.concatWithSpace.html +0 -293
- package/typedoc/functions/animations_shared.extractElementNode.html +0 -292
- package/typedoc/functions/animations_shared.mergeAnimationDetails.html +0 -307
- package/typedoc/functions/animations_shared.mergeClasses.html +0 -293
- package/typedoc/functions/animations_shared.packageStyles.html +0 -299
- package/typedoc/functions/animations_shared.pendClasses.html +0 -303
- package/typedoc/functions/animations_shared.prepareAnimationOptions.html +0 -287
- package/typedoc/functions/animations_shared.removeFromArray.html +0 -293
- package/typedoc/functions/animations_shared.resolveElementClasses.html +0 -328
- package/typedoc/functions/animations_shared.stripCommentsFromElement.html +0 -299
- package/typedoc/functions/core_controller_controller.identifierForController.html +0 -299
- package/typedoc/functions/core_di_injector.annotate.html +0 -311
- package/typedoc/functions/core_di_injector.createInjector.html +0 -323
- package/typedoc/functions/core_location_location.serverBase.html +0 -285
- package/typedoc/functions/core_location_location.stripBaseUrl.html +0 -303
- package/typedoc/functions/core_location_location.stripFile.html +0 -285
- package/typedoc/functions/core_location_location.stripHash.html +0 -285
- package/typedoc/functions/core_parse_interpreter.isAssignable.html +0 -294
- package/typedoc/functions/core_parse_parse.constantWatchDelegate.html +0 -323
- package/typedoc/functions/core_sce_sce.adjustMatcher.html +0 -281
- package/typedoc/functions/core_sce_sce.escapeForRegexp.html +0 -281
- package/typedoc/functions/core_scope_scope.createScope.html +0 -334
- package/typedoc/functions/core_scope_scope.nextId.html +0 -268
- package/typedoc/functions/core_url-utils_url-utils.getBaseUrl.html +0 -274
- package/typedoc/functions/core_url-utils_url-utils.urlIsAllowedOriginFactory.html +0 -314
- package/typedoc/functions/core_url-utils_url-utils.urlIsSameOrigin.html +0 -303
- package/typedoc/functions/core_url-utils_url-utils.urlIsSameOriginAsBaseUrl.html +0 -309
- package/typedoc/functions/core_url-utils_url-utils.urlResolve.html +0 -285
- package/typedoc/functions/core_url-utils_url-utils.urlsAreSameOrigin.html +0 -320
- package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +0 -400
- package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +0 -489
- package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +0 -428
- package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +0 -400
- package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +0 -399
- package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +0 -334
- package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +0 -512
- package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +0 -400
- package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +0 -400
- package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +0 -399
- package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +0 -399
- package/typedoc/functions/directive_bind_bind.ngBindDirective.html +0 -279
- package/typedoc/functions/directive_bind_bind.ngBindHtmlDirective.html +0 -408
- package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +0 -283
- package/typedoc/functions/directive_channel_channel.ngChannelDirective.html +0 -312
- package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +0 -279
- package/typedoc/functions/directive_controller_controller.ngControllerDirective.html +0 -283
- package/typedoc/functions/directive_events_events.createEventDirective.html +0 -353
- package/typedoc/functions/directive_form_form.setupValidity.html +0 -285
- package/typedoc/functions/directive_if_if.ngIfDirective.html +0 -407
- package/typedoc/functions/directive_include_include.ngIncludeDirective.html +0 -464
- package/typedoc/functions/directive_include_include.ngIncludeFillContentDirective.html +0 -419
- package/typedoc/functions/directive_init_init.ngInitDirective.html +0 -279
- package/typedoc/functions/directive_input_input.badInputChecker.html +0 -332
- package/typedoc/functions/directive_input_input.countDecimals.html +0 -285
- package/typedoc/functions/directive_input_input.createDateInputType.html +0 -392
- package/typedoc/functions/directive_input_input.createDateParser.html +0 -319
- package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +0 -287
- package/typedoc/functions/directive_input_input.inputDirective.html +0 -523
- package/typedoc/functions/directive_input_input.isNumberInteger.html +0 -285
- package/typedoc/functions/directive_input_input.isValidForStep.html +0 -305
- package/typedoc/functions/directive_input_input.ngValueDirective.html +0 -279
- package/typedoc/functions/directive_input_input.numberFormatterParser.html +0 -289
- package/typedoc/functions/directive_input_input.numberInputType.html +0 -354
- package/typedoc/functions/directive_input_input.rangeInputType.html +0 -315
- package/typedoc/functions/directive_input_input.weekParser.html +0 -295
- package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +0 -464
- package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +0 -476
- package/typedoc/functions/directive_model-options_model-options.ngModelOptionsDirective.html +0 -283
- package/typedoc/functions/directive_model_model.ngModelDirective.html +0 -449
- package/typedoc/functions/directive_non-bindable_non-bindable.ngNonBindableDirective.html +0 -283
- package/typedoc/functions/directive_observe_observe.ngObserveDirective.html +0 -317
- package/typedoc/functions/directive_ref_ref.ngRefDirective.html +0 -483
- package/typedoc/functions/directive_repeat_repeat.ngRepeatDirective.html +0 -409
- package/typedoc/functions/directive_script_script.scriptDirective.html +0 -413
- package/typedoc/functions/directive_select_select.optionDirective.html +0 -498
- package/typedoc/functions/directive_select_select.selectDirective.html +0 -279
- package/typedoc/functions/directive_setter_setter.ngSetterDirective.html +0 -431
- package/typedoc/functions/directive_show-hide_show-hide.ngHideDirective.html +0 -405
- package/typedoc/functions/directive_show-hide_show-hide.ngShowDirective.html +0 -405
- package/typedoc/functions/directive_style_style.ngStyleDirective.html +0 -279
- package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +0 -283
- package/typedoc/functions/directive_switch_switch.ngSwitchDirective.html +0 -405
- package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +0 -283
- package/typedoc/functions/filters_filter.filterFilter.html +0 -275
- package/typedoc/functions/filters_filters.formatNumber.html +0 -435
- package/typedoc/functions/filters_filters.jsonFilter.html +0 -277
- package/typedoc/functions/filters_limit-to.limitToFilter.html +0 -277
- package/typedoc/functions/filters_order-by.orderByFilter.html +0 -403
- package/typedoc/functions/public.publishExternalAPI.html +0 -305
- package/typedoc/functions/router_common_glob.hasGlobs.html +0 -292
- package/typedoc/functions/router_directives_state-directives._StateRefActiveDirective.html +0 -468
- package/typedoc/functions/router_directives_state-directives._StateRefDirective.html +0 -493
- package/typedoc/functions/router_directives_state-directives._StateRefDynamicDirective.html +0 -439
- package/typedoc/functions/router_directives_view-directive._ViewDirectiveFill.html +0 -477
- package/typedoc/functions/router_hooks_core-resolvables.registerAddCoreResolvables.html +0 -292
- package/typedoc/functions/router_hooks_core-resolvables.treeChangesCleanup.html +0 -288
- package/typedoc/functions/router_hooks_ignored-transition.registerIgnoredTransitionHook.html +0 -292
- package/typedoc/functions/router_hooks_invalid-transition.registerInvalidTransitionHook.html +0 -292
- package/typedoc/functions/router_hooks_lazy-load.lazyLoadState.html +0 -318
- package/typedoc/functions/router_hooks_lazy-load.registerLazyLoadHook.html +0 -381
- package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnEnterHook.html +0 -289
- package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnExitHook.html +0 -289
- package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnRetainHook.html +0 -289
- package/typedoc/functions/router_hooks_redirect-to.registerRedirectToHook.html +0 -300
- package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +0 -290
- package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +0 -290
- package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +0 -290
- package/typedoc/functions/router_hooks_update-globals.registerUpdateGlobalState.html +0 -292
- package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +0 -309
- package/typedoc/functions/router_hooks_views.registerActivateViews.html +0 -300
- package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +0 -292
- package/typedoc/functions/router_path_path-utils.makeTargetState.html +0 -324
- package/typedoc/functions/router_state-filters._IncludedByStateFilter.html +0 -437
- package/typedoc/functions/router_state-filters._IsStateFilter.html +0 -433
- package/typedoc/functions/router_state_state-builder.resolvablesBuilder.html +0 -347
- package/typedoc/functions/router_state_state-registry.getLocals.html +0 -285
- package/typedoc/functions/router_state_views.getViewConfigFactory.html +0 -300
- package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +0 -304
- package/typedoc/functions/router_transition_hook-registry.makeEvent.html +0 -343
- package/typedoc/functions/router_transition_hook-registry.matchState.html +0 -334
- package/typedoc/functions/services_browser.trimEmptyHash.html +0 -291
- package/typedoc/functions/services_cookie-reader.getCookies.html +0 -272
- package/typedoc/functions/services_http-backend_http-backend.createHttpBackend.html +0 -406
- package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +0 -301
- package/typedoc/functions/shared_common._removeFrom.html +0 -291
- package/typedoc/functions/shared_common.allTrueR.html +0 -314
- package/typedoc/functions/shared_common.ancestors.html +0 -309
- package/typedoc/functions/shared_common.anyTrueR.html +0 -317
- package/typedoc/functions/shared_common.applyPairs.html +0 -322
- package/typedoc/functions/shared_common.arrayTuples.html +0 -313
- package/typedoc/functions/shared_common.assertFn.html +0 -306
- package/typedoc/functions/shared_common.copy.html +0 -292
- package/typedoc/functions/shared_common.createProxyFunctions.html +0 -430
- package/typedoc/functions/shared_common.defaults.html +0 -304
- package/typedoc/functions/shared_common.deregAll.html +0 -288
- package/typedoc/functions/shared_common.equals.html +0 -291
- package/typedoc/functions/shared_common.filter.html +0 -298
- package/typedoc/functions/shared_common.find.html +0 -295
- package/typedoc/functions/shared_common.flatten.html +0 -301
- package/typedoc/functions/shared_common.flattenR.html +0 -311
- package/typedoc/functions/shared_common.inherit.html +0 -317
- package/typedoc/functions/shared_common.map.html +0 -304
- package/typedoc/functions/shared_common.omit.html +0 -322
- package/typedoc/functions/shared_common.pairs.html +0 -305
- package/typedoc/functions/shared_common.pick.html +0 -334
- package/typedoc/functions/shared_common.pushR.html +0 -296
- package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +0 -285
- package/typedoc/functions/shared_common.silentRejection.html +0 -281
- package/typedoc/functions/shared_common.tail.html +0 -282
- package/typedoc/functions/shared_common.uniqR.html +0 -292
- package/typedoc/functions/shared_common.unnest.html +0 -303
- package/typedoc/functions/shared_common.unnestR.html +0 -311
- package/typedoc/functions/shared_dom.appendNodesToElement.html +0 -316
- package/typedoc/functions/shared_dom.buildFragment.html +0 -284
- package/typedoc/functions/shared_dom.cleanElementData.html +0 -302
- package/typedoc/functions/shared_dom.createElementFromHTML.html +0 -299
- package/typedoc/functions/shared_dom.createNodelistFromHTML.html +0 -296
- package/typedoc/functions/shared_dom.dealoc.html +0 -295
- package/typedoc/functions/shared_dom.deleteCacheData.html +0 -306
- package/typedoc/functions/shared_dom.domInsert.html +0 -301
- package/typedoc/functions/shared_dom.emptyElement.html +0 -289
- package/typedoc/functions/shared_dom.getBlockNodes.html +0 -298
- package/typedoc/functions/shared_dom.getBooleanAttrName.html +0 -316
- package/typedoc/functions/shared_dom.getCacheData.html +0 -313
- package/typedoc/functions/shared_dom.getController.html +0 -318
- package/typedoc/functions/shared_dom.getExpando.html +0 -333
- package/typedoc/functions/shared_dom.getInheritedData.html +0 -294
- package/typedoc/functions/shared_dom.getInjector.html +0 -294
- package/typedoc/functions/shared_dom.getIsolateScope.html +0 -295
- package/typedoc/functions/shared_dom.getOrSetCacheData.html +0 -330
- package/typedoc/functions/shared_dom.getScope.html +0 -295
- package/typedoc/functions/shared_dom.isRoot.html +0 -286
- package/typedoc/functions/shared_dom.isTextNode.html +0 -290
- package/typedoc/functions/shared_dom.kebabToCamel.html +0 -289
- package/typedoc/functions/shared_dom.parseHtml.html +0 -295
- package/typedoc/functions/shared_dom.removeElement.html +0 -297
- package/typedoc/functions/shared_dom.removeElementData.html +0 -305
- package/typedoc/functions/shared_dom.setCacheData.html +0 -328
- package/typedoc/functions/shared_dom.setInheritedData.html +0 -312
- package/typedoc/functions/shared_dom.setIsolateScope.html +0 -310
- package/typedoc/functions/shared_dom.setScope.html +0 -318
- package/typedoc/functions/shared_dom.snakeToCamel.html +0 -286
- package/typedoc/functions/shared_dom.startingTag.html +0 -301
- package/typedoc/functions/shared_hof.all.html +0 -305
- package/typedoc/functions/shared_hof.compose.html +0 -306
- package/typedoc/functions/shared_hof.curry.html +0 -319
- package/typedoc/functions/shared_hof.is.html +0 -297
- package/typedoc/functions/shared_hof.or.html +0 -312
- package/typedoc/functions/shared_hof.parse.html +0 -292
- package/typedoc/functions/shared_hof.pattern.html +0 -343
- package/typedoc/functions/shared_hof.pipe.html +0 -289
- package/typedoc/functions/shared_hof.val.html +0 -288
- package/typedoc/functions/shared_predicates.isInjectable.html +0 -294
- package/typedoc/functions/shared_predicates.isPromise.html +0 -292
- package/typedoc/functions/shared_strings.beforeAfterSubstr.html +0 -302
- package/typedoc/functions/shared_strings.fnToString.html +0 -281
- package/typedoc/functions/shared_strings.functionToString.html +0 -281
- package/typedoc/functions/shared_strings.joinNeighborsR.html +0 -327
- package/typedoc/functions/shared_strings.kebobString.html +0 -281
- package/typedoc/functions/shared_strings.maxLength.html +0 -309
- package/typedoc/functions/shared_strings.padString.html +0 -312
- package/typedoc/functions/shared_strings.splitOnDelim.html +0 -328
- package/typedoc/functions/shared_strings.stringify.html +0 -281
- package/typedoc/functions/shared_strings.stripLastPathElement.html +0 -284
- package/typedoc/functions/shared_strings.trimHashVal.html +0 -281
- package/typedoc/functions/shared_test-utils.bootstrap.html +0 -297
- package/typedoc/functions/shared_test-utils.browserTrigger.html +0 -307
- package/typedoc/functions/shared_test-utils.wait.html +0 -301
- package/typedoc/functions/shared_utils.addDateMinutes.html +0 -291
- package/typedoc/functions/shared_utils.arrayRemove.html +0 -344
- package/typedoc/functions/shared_utils.assert.html +0 -300
- package/typedoc/functions/shared_utils.assertArg.html +0 -305
- package/typedoc/functions/shared_utils.assertArgFn.html +0 -302
- package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +0 -310
- package/typedoc/functions/shared_utils.baseExtend.html +0 -301
- package/typedoc/functions/shared_utils.bind.html +0 -333
- package/typedoc/functions/shared_utils.concat.html +0 -301
- package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +0 -305
- package/typedoc/functions/shared_utils.csp.html +0 -263
- package/typedoc/functions/shared_utils.directiveNormalize.html +0 -295
- package/typedoc/functions/shared_utils.encodeUriQuery.html +0 -314
- package/typedoc/functions/shared_utils.encodeUriSegment.html +0 -302
- package/typedoc/functions/shared_utils.equals.html +0 -357
- package/typedoc/functions/shared_utils.errorHandlingConfig.html +0 -313
- package/typedoc/functions/shared_utils.extend.html +0 -323
- package/typedoc/functions/shared_utils.fromJson.html +0 -290
- package/typedoc/functions/shared_utils.getNgAttribute.html +0 -291
- package/typedoc/functions/shared_utils.getNodeName.html +0 -292
- package/typedoc/functions/shared_utils.hasAnimate.html +0 -286
- package/typedoc/functions/shared_utils.hasCustomToString.html +0 -281
- package/typedoc/functions/shared_utils.hasOwn.html +0 -339
- package/typedoc/functions/shared_utils.hashKey.html +0 -296
- package/typedoc/functions/shared_utils.includes.html +0 -291
- package/typedoc/functions/shared_utils.inherit.html +0 -294
- package/typedoc/functions/shared_utils.isArrayBuffer.html +0 -283
- package/typedoc/functions/shared_utils.isArrayLike.html +0 -290
- package/typedoc/functions/shared_utils.isBlankObject.html +0 -295
- package/typedoc/functions/shared_utils.isBlob.html +0 -283
- package/typedoc/functions/shared_utils.isBoolean.html +0 -283
- package/typedoc/functions/shared_utils.isDate.html +0 -281
- package/typedoc/functions/shared_utils.isDefined.html +0 -290
- package/typedoc/functions/shared_utils.isElement.html +0 -281
- package/typedoc/functions/shared_utils.isError.html +0 -296
- package/typedoc/functions/shared_utils.isFile.html +0 -283
- package/typedoc/functions/shared_utils.isFormData.html +0 -283
- package/typedoc/functions/shared_utils.isFunction.html +0 -290
- package/typedoc/functions/shared_utils.isNull.html +0 -290
- package/typedoc/functions/shared_utils.isNullOrUndefined.html +0 -290
- package/typedoc/functions/shared_utils.isNumber.html +0 -303
- package/typedoc/functions/shared_utils.isNumberNaN.html +0 -283
- package/typedoc/functions/shared_utils.isObject.html +0 -298
- package/typedoc/functions/shared_utils.isObjectEmpty.html +0 -283
- package/typedoc/functions/shared_utils.isPromiseLike.html +0 -283
- package/typedoc/functions/shared_utils.isProxy.html +0 -283
- package/typedoc/functions/shared_utils.isRegExp.html +0 -290
- package/typedoc/functions/shared_utils.isScope.html +0 -283
- package/typedoc/functions/shared_utils.isString.html +0 -290
- package/typedoc/functions/shared_utils.isTypedArray.html +0 -283
- package/typedoc/functions/shared_utils.isUndefined.html +0 -290
- package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +0 -287
- package/typedoc/functions/shared_utils.isWindow.html +0 -290
- package/typedoc/functions/shared_utils.lowercase.html +0 -302
- package/typedoc/functions/shared_utils.mergeClasses.html +0 -291
- package/typedoc/functions/shared_utils.minErr.html +0 -341
- package/typedoc/functions/shared_utils.nextUid.html +0 -268
- package/typedoc/functions/shared_utils.parseKeyValue.html +0 -288
- package/typedoc/functions/shared_utils.setHashKey.html +0 -303
- package/typedoc/functions/shared_utils.shallowCopy.html +0 -299
- package/typedoc/functions/shared_utils.simpleCompare.html +0 -291
- package/typedoc/functions/shared_utils.sliceArgs.html +0 -291
- package/typedoc/functions/shared_utils.snakeCase.html +0 -291
- package/typedoc/functions/shared_utils.stringify.html +0 -281
- package/typedoc/functions/shared_utils.timezoneToOffset.html +0 -291
- package/typedoc/functions/shared_utils.toDebugString.html +0 -281
- package/typedoc/functions/shared_utils.toInt.html +0 -280
- package/typedoc/functions/shared_utils.toJson.html +0 -350
- package/typedoc/functions/shared_utils.toKeyValue.html +0 -281
- package/typedoc/functions/shared_utils.trim.html +0 -280
- package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +0 -300
- package/typedoc/functions/shared_utils.uppercase.html +0 -302
- package/typedoc/hierarchy.html +0 -274
- package/typedoc/index.html +0 -668
- package/typedoc/interfaces/animations_animate.AnimationOptions.html +0 -506
- package/typedoc/interfaces/animations_raf-scheduler.ServiceProvider.html +0 -390
- package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +0 -448
- package/typedoc/interfaces/core_compile_compile.LinkFnMapping.html +0 -466
- package/typedoc/interfaces/core_compile_compile.NodeLinkFnCtx.html +0 -596
- package/typedoc/interfaces/core_compile_compile.SimpleChange.html +0 -412
- package/typedoc/interfaces/core_location_location.DefaultPorts.html +0 -444
- package/typedoc/interfaces/core_location_location.Html5Mode.html +0 -491
- package/typedoc/interfaces/core_parse_ast_ast.Token.html +0 -598
- package/typedoc/interfaces/core_parse_interface.CompiledExpressionHandlerMap.html +0 -570
- package/typedoc/interfaces/core_parse_interface.CompiledExpressionProps.html +0 -959
- package/typedoc/interfaces/core_parse_lexer_lexer.LexerOptions.html +0 -466
- package/typedoc/interfaces/core_parse_parser_parser.ParsedAST.html +0 -378
- package/typedoc/interfaces/core_sanitize_interface.SanitizerFn.html +0 -305
- package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +0 -455
- package/typedoc/interfaces/core_scope_scope.Listener.html +0 -688
- package/typedoc/interfaces/directive_model-options_model-options.ModelOptionsConfig.html +0 -570
- package/typedoc/interfaces/interface.ChangesObject.html +0 -445
- package/typedoc/interfaces/interface.ComponentOptions.html +0 -712
- package/typedoc/interfaces/interface.Controller.html +0 -582
- package/typedoc/interfaces/interface.Directive.html +0 -1250
- package/typedoc/interfaces/interface.DirectivePrePost.html +0 -423
- package/typedoc/interfaces/interface.NgModelController.html +0 -1362
- package/typedoc/interfaces/interface.NgModelOptions.html +0 -660
- package/typedoc/interfaces/interface.Provider.html +0 -1056
- package/typedoc/interfaces/interface.TranscludeFunctionObject.html +0 -723
- package/typedoc/interfaces/loader.AngularBootstrapConfig.html +0 -374
- package/typedoc/interfaces/router_params_interface.ParamDeclaration.html +0 -1211
- package/typedoc/interfaces/router_params_interface.ParamTypeDefinition.html +0 -1273
- package/typedoc/interfaces/router_params_interface.RawParams.html +0 -295
- package/typedoc/interfaces/router_params_interface.Replace.html +0 -429
- package/typedoc/interfaces/router_resolve_interface.CustomAsyncPolicy.html +0 -291
- package/typedoc/interfaces/router_resolve_interface.ProviderLike.html +0 -580
- package/typedoc/interfaces/router_resolve_interface.ResolvableLiteral.html +0 -601
- package/typedoc/interfaces/router_resolve_interface.ResolvePolicy.html +0 -638
- package/typedoc/interfaces/router_state_interface.HrefOptions.html +0 -530
- package/typedoc/interfaces/router_state_interface.LazyLoadResult.html +0 -390
- package/typedoc/interfaces/router_state_interface.StateDeclaration.html +0 -2461
- package/typedoc/interfaces/router_state_interface.TargetStateDef.html +0 -468
- package/typedoc/interfaces/router_state_interface.TransitionPromise.html +0 -1192
- package/typedoc/interfaces/router_state_interface.ViewDeclaration.html +0 -1499
- package/typedoc/interfaces/router_template-factory.BindingTuple.html +0 -406
- package/typedoc/interfaces/router_transition_interface.HookMatchCriteria.html +0 -719
- package/typedoc/interfaces/router_transition_interface.HookRegOptions.html +0 -482
- package/typedoc/interfaces/router_transition_interface.IHookRegistry.html +0 -2969
- package/typedoc/interfaces/router_transition_interface.IMatchingNodes.html +0 -594
- package/typedoc/interfaces/router_transition_interface.PathType.html +0 -411
- package/typedoc/interfaces/router_transition_interface.PathTypes.html +0 -588
- package/typedoc/interfaces/router_transition_interface.RegisteredHooks.html +0 -266
- package/typedoc/interfaces/router_transition_interface.TransitionCreateHookFn.html +0 -316
- package/typedoc/interfaces/router_transition_interface.TransitionHookFn.html +0 -352
- package/typedoc/interfaces/router_transition_interface.TransitionHookOptions.html +0 -627
- package/typedoc/interfaces/router_transition_interface.TransitionOptions.html +0 -1096
- package/typedoc/interfaces/router_transition_interface.TransitionStateHookFn.html +0 -374
- package/typedoc/interfaces/router_transition_interface.TreeChanges.html +0 -769
- package/typedoc/interfaces/router_view_interface.ActiveUIView.html +0 -620
- package/typedoc/interfaces/router_view_interface.ViewConfig.html +0 -651
- package/typedoc/interfaces/router_view_interface.ViewContext.html +0 -419
- package/typedoc/interfaces/services_anchor-scroll.AnchorScrollObject.html +0 -379
- package/typedoc/interfaces/services_log.LogService.html +0 -566
- package/typedoc/interfaces/shared_interface.TypedMap.html +0 -268
- package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +0 -435
- package/typedoc/media/CONTRIBUTING.md +0 -248
- package/typedoc/media/DEVELOPERS.md +0 -500
- package/typedoc/modules/animations_animate-cache.html +0 -383
- package/typedoc/modules/animations_animate-children-directive.html +0 -326
- package/typedoc/modules/animations_animate-css-driver.html +0 -324
- package/typedoc/modules/animations_animate-css.html +0 -320
- package/typedoc/modules/animations_animate-js-driver.html +0 -324
- package/typedoc/modules/animations_animate-js.html +0 -320
- package/typedoc/modules/animations_animate-queue.html +0 -320
- package/typedoc/modules/animations_animate-runner.html +0 -382
- package/typedoc/modules/animations_animate-swap.html +0 -320
- package/typedoc/modules/animations_animate.html +0 -447
- package/typedoc/modules/animations_animation.html +0 -320
- package/typedoc/modules/animations_interface.html +0 -322
- package/typedoc/modules/animations_raf-scheduler.html +0 -446
- package/typedoc/modules/animations_shared.html +0 -1535
- package/typedoc/modules/core_cache_cache-factory.html +0 -385
- package/typedoc/modules/core_cache_cache.html +0 -457
- package/typedoc/modules/core_compile_attributes.html +0 -319
- package/typedoc/modules/core_compile_compile.html +0 -755
- package/typedoc/modules/core_controller_controller.html +0 -385
- package/typedoc/modules/core_di_injector.html +0 -346
- package/typedoc/modules/core_di_internal-injector.html +0 -350
- package/typedoc/modules/core_di_ng-module.html +0 -490
- package/typedoc/modules/core_error-handler.html +0 -322
- package/typedoc/modules/core_exception-handler.html +0 -448
- package/typedoc/modules/core_filter_filter.html +0 -319
- package/typedoc/modules/core_interpolate_interpolate.html +0 -322
- package/typedoc/modules/core_location_location.html +0 -636
- package/typedoc/modules/core_parse_ast-type.html +0 -321
- package/typedoc/modules/core_parse_ast_ast-node.html +0 -322
- package/typedoc/modules/core_parse_ast_ast.html +0 -436
- package/typedoc/modules/core_parse_interface.html +0 -470
- package/typedoc/modules/core_parse_interpreter.html +0 -537
- package/typedoc/modules/core_parse_lexer_lexer.html +0 -440
- package/typedoc/modules/core_parse_lexer_token.html +0 -319
- package/typedoc/modules/core_parse_parse.html +0 -382
- package/typedoc/modules/core_parse_parser_parser.html +0 -381
- package/typedoc/modules/core_pubsub_pubsub.html +0 -471
- package/typedoc/modules/core_sanitize_interface.html +0 -320
- package/typedoc/modules/core_sanitize_sanitize-uri.html +0 -386
- package/typedoc/modules/core_sce_sce.html +0 -560
- package/typedoc/modules/core_scope_scope.html +0 -700
- package/typedoc/modules/core_task-tracker-factory.html +0 -481
- package/typedoc/modules/core_url-utils_url-utils.html +0 -527
- package/typedoc/modules/directive_aria_aria.html +0 -672
- package/typedoc/modules/directive_attrs_attrs.html +0 -350
- package/typedoc/modules/directive_bind_bind.html +0 -377
- package/typedoc/modules/directive_channel_channel.html +0 -322
- package/typedoc/modules/directive_class_class.html +0 -376
- package/typedoc/modules/directive_cloak_cloak.html +0 -320
- package/typedoc/modules/directive_controller_controller.html +0 -322
- package/typedoc/modules/directive_events_events.html +0 -383
- package/typedoc/modules/directive_form_form.html +0 -524
- package/typedoc/modules/directive_if_if.html +0 -319
- package/typedoc/modules/directive_include_include.html +0 -352
- package/typedoc/modules/directive_init_init.html +0 -319
- package/typedoc/modules/directive_input_input.html +0 -804
- package/typedoc/modules/directive_messages_messages.html +0 -473
- package/typedoc/modules/directive_model-options_model-options.html +0 -452
- package/typedoc/modules/directive_model_model.html +0 -445
- package/typedoc/modules/directive_non-bindable_non-bindable.html +0 -324
- package/typedoc/modules/directive_observe_observe.html +0 -322
- package/typedoc/modules/directive_options_options.html +0 -322
- package/typedoc/modules/directive_ref_ref.html +0 -319
- package/typedoc/modules/directive_repeat_repeat.html +0 -320
- package/typedoc/modules/directive_script_script.html +0 -320
- package/typedoc/modules/directive_select_select.html +0 -348
- package/typedoc/modules/directive_setter_setter.html +0 -320
- package/typedoc/modules/directive_show-hide_show-hide.html +0 -350
- package/typedoc/modules/directive_style_style.html +0 -320
- package/typedoc/modules/directive_switch_switch.html +0 -378
- package/typedoc/modules/directive_transclude_transclude.html +0 -322
- package/typedoc/modules/directive_validators_validators.html +0 -406
- package/typedoc/modules/filters_filter.html +0 -319
- package/typedoc/modules/filters_filters.html +0 -346
- package/typedoc/modules/filters_limit-to.html +0 -319
- package/typedoc/modules/filters_order-by.html +0 -319
- package/typedoc/modules/index.html +0 -241
- package/typedoc/modules/injection-tokens.html +0 -319
- package/typedoc/modules/interface.html +0 -1010
- package/typedoc/modules/loader.html +0 -380
- package/typedoc/modules/public.html +0 -380
- package/typedoc/modules/router_common_glob.html +0 -377
- package/typedoc/modules/router_common_queue.html +0 -315
- package/typedoc/modules/router_common_trace.html +0 -522
- package/typedoc/modules/router_directives_state-directives.html +0 -384
- package/typedoc/modules/router_directives_view-directive.html +0 -387
- package/typedoc/modules/router_globals.html +0 -383
- package/typedoc/modules/router_hooks_core-resolvables.html +0 -352
- package/typedoc/modules/router_hooks_ignored-transition.html +0 -324
- package/typedoc/modules/router_hooks_invalid-transition.html +0 -324
- package/typedoc/modules/router_hooks_lazy-load.html +0 -348
- package/typedoc/modules/router_hooks_on-enter-exit-retain.html +0 -380
- package/typedoc/modules/router_hooks_redirect-to.html +0 -320
- package/typedoc/modules/router_hooks_resolve.html +0 -443
- package/typedoc/modules/router_hooks_update-globals.html +0 -324
- package/typedoc/modules/router_hooks_url.html +0 -319
- package/typedoc/modules/router_hooks_views.html +0 -350
- package/typedoc/modules/router_params_interface.html +0 -402
- package/typedoc/modules/router_params_param-factory.html +0 -322
- package/typedoc/modules/router_params_param-type.html +0 -319
- package/typedoc/modules/router_params_param-types.html +0 -321
- package/typedoc/modules/router_params_param.html +0 -377
- package/typedoc/modules/router_params_state-params.html +0 -322
- package/typedoc/modules/router_path_path-node.html +0 -319
- package/typedoc/modules/router_path_path-utils.html +0 -382
- package/typedoc/modules/router_resolve_interface.html +0 -521
- package/typedoc/modules/router_resolve_resolvable.html +0 -384
- package/typedoc/modules/router_resolve_resolve-context.html +0 -385
- package/typedoc/modules/router_state-filters.html +0 -349
- package/typedoc/modules/router_state-provider.html +0 -319
- package/typedoc/modules/router_state_interface.html +0 -606
- package/typedoc/modules/router_state_state-builder.html +0 -385
- package/typedoc/modules/router_state_state-matcher.html +0 -322
- package/typedoc/modules/router_state_state-object.html +0 -385
- package/typedoc/modules/router_state_state-queue-manager.html +0 -324
- package/typedoc/modules/router_state_state-registry.html +0 -449
- package/typedoc/modules/router_state_state-service.html +0 -322
- package/typedoc/modules/router_state_target-state.html +0 -321
- package/typedoc/modules/router_state_views.html +0 -409
- package/typedoc/modules/router_template-factory.html +0 -383
- package/typedoc/modules/router_transition_hook-builder.html +0 -322
- package/typedoc/modules/router_transition_hook-registry.html +0 -413
- package/typedoc/modules/router_transition_interface.html +0 -927
- package/typedoc/modules/router_transition_reject-factory.html +0 -390
- package/typedoc/modules/router_transition_transition-event-type.html +0 -324
- package/typedoc/modules/router_transition_transition-hook.html +0 -324
- package/typedoc/modules/router_transition_transition-service.html +0 -387
- package/typedoc/modules/router_transition_transition.html +0 -386
- package/typedoc/modules/router_url_url-config.html +0 -320
- package/typedoc/modules/router_url_url-matcher.html +0 -319
- package/typedoc/modules/router_url_url-rule.html +0 -346
- package/typedoc/modules/router_url_url-rules.html +0 -319
- package/typedoc/modules/router_url_url-service.html +0 -319
- package/typedoc/modules/router_view-scroll.html +0 -319
- package/typedoc/modules/router_view_interface.html +0 -373
- package/typedoc/modules/router_view_view.html +0 -319
- package/typedoc/modules/services_anchor-scroll.html +0 -477
- package/typedoc/modules/services_browser.html +0 -472
- package/typedoc/modules/services_cookie-reader.html +0 -319
- package/typedoc/modules/services_http-backend_http-backend.html +0 -387
- package/typedoc/modules/services_http_http.html +0 -414
- package/typedoc/modules/services_log.html +0 -507
- package/typedoc/modules/services_template-request.html +0 -322
- package/typedoc/modules/shared_common.html +0 -1145
- package/typedoc/modules/shared_constants.html +0 -590
- package/typedoc/modules/shared_dom.html +0 -1185
- package/typedoc/modules/shared_hof.html +0 -566
- package/typedoc/modules/shared_interface.html +0 -436
- package/typedoc/modules/shared_noderef.html +0 -318
- package/typedoc/modules/shared_predicates.html +0 -346
- package/typedoc/modules/shared_strings.html +0 -732
- package/typedoc/modules/shared_test-utils.html +0 -369
- package/typedoc/modules/shared_utils.html +0 -2343
- package/typedoc/modules.html +0 -4406
- package/typedoc/types/animations_animate.AnimationMethod.html +0 -265
- package/typedoc/types/animations_interface.RafScheduler.html +0 -602
- package/typedoc/types/core_cache_cache-factory.TemplateCache.html +0 -257
- package/typedoc/types/core_compile_compile.ApplyDirectivesToNodeFn.html +0 -251
- package/typedoc/types/core_compile_compile.BoundTranscludeFn.html +0 -279
- package/typedoc/types/core_compile_compile.CompileFn.html +0 -445
- package/typedoc/types/core_compile_compile.CompileNodesFn.html +0 -252
- package/typedoc/types/core_compile_compile.CompositeLinkFn.html +0 -358
- package/typedoc/types/core_compile_compile.NodeLinkFn.html +0 -285
- package/typedoc/types/core_compile_compile.PublicLinkFn.html +0 -381
- package/typedoc/types/core_compile_compile.TranscludeFn.html +0 -364
- package/typedoc/types/core_error-handler.ErrorHandler.html +0 -321
- package/typedoc/types/core_exception-handler.LogService.html +0 -256
- package/typedoc/types/core_parse_ast_ast-node.ASTNode.html +0 -1457
- package/typedoc/types/core_parse_interface.CompiledExpression.html +0 -268
- package/typedoc/types/core_parse_interface.CompiledExpressionFunction.html +0 -347
- package/typedoc/types/core_parse_interface.ParseService.html +0 -474
- package/typedoc/types/core_parse_interpreter.DecoratedASTNode.html +0 -279
- package/typedoc/types/core_scope_scope.ListenerFunction.html +0 -313
- package/typedoc/types/core_task-tracker-factory.AnnotatedFactory.html +0 -278
- package/typedoc/types/core_url-utils_url-utils.HttpProtocol.html +0 -254
- package/typedoc/types/interface.CloneAttachFunction.html +0 -318
- package/typedoc/types/interface.ControllerConstructor.html +0 -315
- package/typedoc/types/interface.DirectiveCompileFn.html +0 -406
- package/typedoc/types/interface.DirectiveController.html +0 -274
- package/typedoc/types/interface.DirectiveFactory.html +0 -328
- package/typedoc/types/interface.DirectiveLinkFn.html +0 -420
- package/typedoc/types/interface.Expression.html +0 -259
- package/typedoc/types/interface.FilterFactory.html +0 -310
- package/typedoc/types/interface.FilterFn.html +0 -314
- package/typedoc/types/interface.Injectable.html +0 -257
- package/typedoc/types/interface.InjectableFactory.html +0 -309
- package/typedoc/types/interface.OnChangesObject.html +0 -259
- package/typedoc/types/interface.TController.html +0 -261
- package/typedoc/types/router_resolve_interface.PolicyAsync.html +0 -259
- package/typedoc/types/router_resolve_interface.PolicyWhen.html +0 -253
- package/typedoc/types/router_state_interface.RedirectToResult.html +0 -287
- package/typedoc/types/router_state_interface.ResolveTypes.html +0 -267
- package/typedoc/types/router_state_interface.StateOrName.html +0 -263
- package/typedoc/types/router_state_interface._StateDeclaration.html +0 -274
- package/typedoc/types/router_transition_interface.HookFn.html +0 -267
- package/typedoc/types/router_transition_interface.HookMatchCriterion.html +0 -270
- package/typedoc/types/router_transition_interface.HookResult.html +0 -310
- package/typedoc/types/router_transition_interface.IHookRegistration.html +0 -362
- package/typedoc/types/router_transition_interface.IStateMatch.html +0 -272
- package/typedoc/types/services_anchor-scroll.AnchorScrollFunction.html +0 -292
- package/typedoc/types/services_anchor-scroll.AnchorScrollService.html +0 -262
- package/typedoc/types/services_browser.UrlChangeListener.html +0 -250
- package/typedoc/types/services_log.LogCall.html +0 -294
- package/typedoc/types/shared_interface.Mapper.html +0 -337
- package/typedoc/types/shared_interface.Predicate.html +0 -305
- package/typedoc/types/shared_interface.PredicateBinary.html +0 -330
- package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +0 -251
- package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +0 -249
- package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +0 -249
- package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +0 -252
- package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +0 -252
- package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +0 -255
- package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +0 -251
- package/typedoc/variables/animations_shared.ANIMATION_PROP.html +0 -249
- package/typedoc/variables/animations_shared.CSS_PREFIX.html +0 -250
- package/typedoc/variables/animations_shared.DELAY_KEY.html +0 -249
- package/typedoc/variables/animations_shared.DURATION_KEY.html +0 -249
- package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +0 -249
- package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +0 -253
- package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +0 -251
- package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +0 -251
- package/typedoc/variables/animations_shared.PROPERTY_KEY.html +0 -250
- package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +0 -251
- package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +0 -257
- package/typedoc/variables/animations_shared.TIMING_KEY.html +0 -249
- package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +0 -249
- package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +0 -252
- package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +0 -252
- package/typedoc/variables/animations_shared.TRANSITION_PROP.html +0 -249
- package/typedoc/variables/animations_shared.ngMinErr.html +0 -307
- package/typedoc/variables/core_cache_cache.Cache.html +0 -267
- package/typedoc/variables/core_cache_cache.EXPANDO.html +0 -250
- package/typedoc/variables/core_cache_cache.ISOLATE_SCOPE_KEY.html +0 -253
- package/typedoc/variables/core_cache_cache.SCOPE_KEY.html +0 -253
- package/typedoc/variables/core_compile_compile.DirectiveSuffix.html +0 -251
- package/typedoc/variables/core_di_ng-module.ANIMATION_LITERAL.html +0 -249
- package/typedoc/variables/core_di_ng-module.COMPILE_LITERAL.html +0 -249
- package/typedoc/variables/core_di_ng-module.CONTROLLER_LITERAL.html +0 -251
- package/typedoc/variables/core_di_ng-module.FILTER_LITERAL.html +0 -249
- package/typedoc/variables/core_di_ng-module.INJECTOR_LITERAL.html +0 -249
- package/typedoc/variables/core_parse_interpreter.PURITY_ABSOLUTE.html +0 -251
- package/typedoc/variables/core_parse_interpreter.PURITY_RELATIVE.html +0 -251
- package/typedoc/variables/core_pubsub_pubsub.EventBus.html +0 -255
- package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +0 -327
- package/typedoc/variables/core_scope_scope.NONSCOPE.html +0 -253
- package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +0 -252
- package/typedoc/variables/core_scope_scope._postUpdateQueue.html +0 -252
- package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +0 -254
- package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +0 -262
- package/typedoc/variables/directive_class_class.ngClassDirective.html +0 -285
- package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +0 -287
- package/typedoc/variables/directive_class_class.ngClassOddDirective.html +0 -287
- package/typedoc/variables/directive_events_events.ngEventDirectives.html +0 -256
- package/typedoc/variables/directive_form_form.PENDING_CLASS.html +0 -251
- package/typedoc/variables/directive_form_form.formDirective.html +0 -340
- package/typedoc/variables/directive_form_form.ngFormDirective.html +0 -340
- package/typedoc/variables/directive_form_form.nullFormCtrl.html +0 -424
- package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +0 -252
- package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +0 -252
- package/typedoc/variables/directive_input_input.URL_REGEXP.html +0 -252
- package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +0 -253
- package/typedoc/variables/directive_messages_messages.ngMessageDefaultDirective.html +0 -496
- package/typedoc/variables/directive_messages_messages.ngMessageDirective.html +0 -492
- package/typedoc/variables/directive_messages_messages.ngMessageExpDirective.html +0 -494
- package/typedoc/variables/directive_model-options_model-options.defaultModelOptions.html +0 -254
- package/typedoc/variables/directive_model_model.ngModelMinErr.html +0 -309
- package/typedoc/variables/directive_options_options.ngOptionsDirective.html +0 -692
- package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +0 -343
- package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +0 -401
- package/typedoc/variables/directive_validators_validators.minlengthDirective.html +0 -363
- package/typedoc/variables/directive_validators_validators.patternDirective.html +0 -424
- package/typedoc/variables/directive_validators_validators.requiredDirective.html +0 -388
- package/typedoc/variables/injection-tokens._injectTokens.html +0 -270
- package/typedoc/variables/public.VERSION.html +0 -247
- package/typedoc/variables/router_common_trace.trace.html +0 -287
- package/typedoc/variables/router_directives_view-directive.ngView.html +0 -499
- package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +0 -253
- package/typedoc/variables/router_params_param.DefType.html +0 -251
- package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +0 -279
- package/typedoc/variables/router_resolve_resolve-context.resolvePolicies.html +0 -315
- package/typedoc/variables/router_transition_transition-service.defaultTransOpts.html +0 -380
- package/typedoc/variables/services_log.LogService.html +0 -252
- package/typedoc/variables/shared_common.assertMap.html +0 -344
- package/typedoc/variables/shared_common.assertPredicate.html +0 -344
- package/typedoc/variables/shared_common.pushTo.html +0 -252
- package/typedoc/variables/shared_common.removeFrom.html +0 -255
- package/typedoc/variables/shared_constants.ALIASED_ATTR.html +0 -329
- package/typedoc/variables/shared_constants.DIRTY_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.EMPTY_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.INVALID_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +0 -250
- package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +0 -252
- package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.VALID_CLASS.html +0 -249
- package/typedoc/variables/shared_dom.BOOLEAN_ATTR.html +0 -253
- package/typedoc/variables/shared_hof.propEq.html +0 -258
- package/typedoc/variables/shared_strings.hostRegex.html +0 -248
- package/typedoc/variables/shared_strings.splitEqual.html +0 -291
- package/typedoc/variables/shared_strings.splitHash.html +0 -291
- package/typedoc/variables/shared_strings.splitQuery.html +0 -291
- package/typedoc/variables/shared_utils.isProxySymbol.html +0 -250
- package/typedoc/variables/shared_utils.ngAttrPrefixes.html +0 -249
- /package/{typedoc → docs/static/typedoc}/.nojekyll +0 -0
- /package/{typedoc → docs/static/typedoc}/assets/icons.svg +0 -0
package/typedoc/assets/main.js
DELETED
|
@@ -1,2589 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
window.translations = {
|
|
3
|
-
copy: "Copy",
|
|
4
|
-
copied: "Copied!",
|
|
5
|
-
normally_hidden:
|
|
6
|
-
"This member is normally hidden due to your filter settings.",
|
|
7
|
-
hierarchy_expand: "Expand",
|
|
8
|
-
hierarchy_collapse: "Collapse",
|
|
9
|
-
folder: "Folder",
|
|
10
|
-
search_index_not_available: "The search index is not available",
|
|
11
|
-
search_no_results_found_for_0: "No results found for {0}",
|
|
12
|
-
kind_1: "Project",
|
|
13
|
-
kind_2: "Module",
|
|
14
|
-
kind_4: "Namespace",
|
|
15
|
-
kind_8: "Enumeration",
|
|
16
|
-
kind_16: "Enumeration Member",
|
|
17
|
-
kind_32: "Variable",
|
|
18
|
-
kind_64: "Function",
|
|
19
|
-
kind_128: "Class",
|
|
20
|
-
kind_256: "Interface",
|
|
21
|
-
kind_512: "Constructor",
|
|
22
|
-
kind_1024: "Property",
|
|
23
|
-
kind_2048: "Method",
|
|
24
|
-
kind_4096: "Call Signature",
|
|
25
|
-
kind_8192: "Index Signature",
|
|
26
|
-
kind_16384: "Constructor Signature",
|
|
27
|
-
kind_32768: "Parameter",
|
|
28
|
-
kind_65536: "Type Literal",
|
|
29
|
-
kind_131072: "Type Parameter",
|
|
30
|
-
kind_262144: "Accessor",
|
|
31
|
-
kind_524288: "Get Signature",
|
|
32
|
-
kind_1048576: "Set Signature",
|
|
33
|
-
kind_2097152: "Type Alias",
|
|
34
|
-
kind_4194304: "Reference",
|
|
35
|
-
kind_8388608: "Document",
|
|
36
|
-
};
|
|
37
|
-
("use strict");
|
|
38
|
-
(() => {
|
|
39
|
-
var Ke = Object.create;
|
|
40
|
-
var he = Object.defineProperty;
|
|
41
|
-
var Ge = Object.getOwnPropertyDescriptor;
|
|
42
|
-
var Ze = Object.getOwnPropertyNames;
|
|
43
|
-
var Xe = Object.getPrototypeOf,
|
|
44
|
-
Ye = Object.prototype.hasOwnProperty;
|
|
45
|
-
var et = (t, e) => () => (
|
|
46
|
-
e || t((e = { exports: {} }).exports, e), e.exports
|
|
47
|
-
);
|
|
48
|
-
var tt = (t, e, n, r) => {
|
|
49
|
-
if ((e && typeof e == "object") || typeof e == "function")
|
|
50
|
-
for (let i of Ze(e))
|
|
51
|
-
!Ye.call(t, i) &&
|
|
52
|
-
i !== n &&
|
|
53
|
-
he(t, i, {
|
|
54
|
-
get: () => e[i],
|
|
55
|
-
enumerable: !(r = Ge(e, i)) || r.enumerable,
|
|
56
|
-
});
|
|
57
|
-
return t;
|
|
58
|
-
};
|
|
59
|
-
var nt = (t, e, n) => (
|
|
60
|
-
(n = t != null ? Ke(Xe(t)) : {}),
|
|
61
|
-
tt(
|
|
62
|
-
e || !t || !t.__esModule
|
|
63
|
-
? he(n, "default", { value: t, enumerable: !0 })
|
|
64
|
-
: n,
|
|
65
|
-
t,
|
|
66
|
-
)
|
|
67
|
-
);
|
|
68
|
-
var ye = et((me, ge) => {
|
|
69
|
-
(function () {
|
|
70
|
-
var t = function (e) {
|
|
71
|
-
var n = new t.Builder();
|
|
72
|
-
return (
|
|
73
|
-
n.pipeline.add(t.trimmer, t.stopWordFilter, t.stemmer),
|
|
74
|
-
n.searchPipeline.add(t.stemmer),
|
|
75
|
-
e.call(n, n),
|
|
76
|
-
n.build()
|
|
77
|
-
);
|
|
78
|
-
};
|
|
79
|
-
t.version = "2.3.9";
|
|
80
|
-
(t.utils = {}),
|
|
81
|
-
(t.utils.warn = (function (e) {
|
|
82
|
-
return function (n) {
|
|
83
|
-
e.console && console.warn && console.warn(n);
|
|
84
|
-
};
|
|
85
|
-
})(this)),
|
|
86
|
-
(t.utils.asString = function (e) {
|
|
87
|
-
return e == null ? "" : e.toString();
|
|
88
|
-
}),
|
|
89
|
-
(t.utils.clone = function (e) {
|
|
90
|
-
if (e == null) return e;
|
|
91
|
-
for (
|
|
92
|
-
var n = Object.create(null), r = Object.keys(e), i = 0;
|
|
93
|
-
i < r.length;
|
|
94
|
-
i++
|
|
95
|
-
) {
|
|
96
|
-
var s = r[i],
|
|
97
|
-
o = e[s];
|
|
98
|
-
if (Array.isArray(o)) {
|
|
99
|
-
n[s] = o.slice();
|
|
100
|
-
continue;
|
|
101
|
-
}
|
|
102
|
-
if (
|
|
103
|
-
typeof o == "string" ||
|
|
104
|
-
typeof o == "number" ||
|
|
105
|
-
typeof o == "boolean"
|
|
106
|
-
) {
|
|
107
|
-
n[s] = o;
|
|
108
|
-
continue;
|
|
109
|
-
}
|
|
110
|
-
throw new TypeError(
|
|
111
|
-
"clone is not deep and does not support nested objects",
|
|
112
|
-
);
|
|
113
|
-
}
|
|
114
|
-
return n;
|
|
115
|
-
}),
|
|
116
|
-
(t.FieldRef = function (e, n, r) {
|
|
117
|
-
(this.docRef = e), (this.fieldName = n), (this._stringValue = r);
|
|
118
|
-
}),
|
|
119
|
-
(t.FieldRef.joiner = "/"),
|
|
120
|
-
(t.FieldRef.fromString = function (e) {
|
|
121
|
-
var n = e.indexOf(t.FieldRef.joiner);
|
|
122
|
-
if (n === -1) throw "malformed field ref string";
|
|
123
|
-
var r = e.slice(0, n),
|
|
124
|
-
i = e.slice(n + 1);
|
|
125
|
-
return new t.FieldRef(i, r, e);
|
|
126
|
-
}),
|
|
127
|
-
(t.FieldRef.prototype.toString = function () {
|
|
128
|
-
return (
|
|
129
|
-
this._stringValue == null &&
|
|
130
|
-
(this._stringValue =
|
|
131
|
-
this.fieldName + t.FieldRef.joiner + this.docRef),
|
|
132
|
-
this._stringValue
|
|
133
|
-
);
|
|
134
|
-
});
|
|
135
|
-
(t.Set = function (e) {
|
|
136
|
-
if (((this.elements = Object.create(null)), e)) {
|
|
137
|
-
this.length = e.length;
|
|
138
|
-
for (var n = 0; n < this.length; n++) this.elements[e[n]] = !0;
|
|
139
|
-
} else this.length = 0;
|
|
140
|
-
}),
|
|
141
|
-
(t.Set.complete = {
|
|
142
|
-
intersect: function (e) {
|
|
143
|
-
return e;
|
|
144
|
-
},
|
|
145
|
-
union: function () {
|
|
146
|
-
return this;
|
|
147
|
-
},
|
|
148
|
-
contains: function () {
|
|
149
|
-
return !0;
|
|
150
|
-
},
|
|
151
|
-
}),
|
|
152
|
-
(t.Set.empty = {
|
|
153
|
-
intersect: function () {
|
|
154
|
-
return this;
|
|
155
|
-
},
|
|
156
|
-
union: function (e) {
|
|
157
|
-
return e;
|
|
158
|
-
},
|
|
159
|
-
contains: function () {
|
|
160
|
-
return !1;
|
|
161
|
-
},
|
|
162
|
-
}),
|
|
163
|
-
(t.Set.prototype.contains = function (e) {
|
|
164
|
-
return !!this.elements[e];
|
|
165
|
-
}),
|
|
166
|
-
(t.Set.prototype.intersect = function (e) {
|
|
167
|
-
var n,
|
|
168
|
-
r,
|
|
169
|
-
i,
|
|
170
|
-
s = [];
|
|
171
|
-
if (e === t.Set.complete) return this;
|
|
172
|
-
if (e === t.Set.empty) return e;
|
|
173
|
-
this.length < e.length
|
|
174
|
-
? ((n = this), (r = e))
|
|
175
|
-
: ((n = e), (r = this)),
|
|
176
|
-
(i = Object.keys(n.elements));
|
|
177
|
-
for (var o = 0; o < i.length; o++) {
|
|
178
|
-
var a = i[o];
|
|
179
|
-
a in r.elements && s.push(a);
|
|
180
|
-
}
|
|
181
|
-
return new t.Set(s);
|
|
182
|
-
}),
|
|
183
|
-
(t.Set.prototype.union = function (e) {
|
|
184
|
-
return e === t.Set.complete
|
|
185
|
-
? t.Set.complete
|
|
186
|
-
: e === t.Set.empty
|
|
187
|
-
? this
|
|
188
|
-
: new t.Set(
|
|
189
|
-
Object.keys(this.elements).concat(Object.keys(e.elements)),
|
|
190
|
-
);
|
|
191
|
-
}),
|
|
192
|
-
(t.idf = function (e, n) {
|
|
193
|
-
var r = 0;
|
|
194
|
-
for (var i in e) i != "_index" && (r += Object.keys(e[i]).length);
|
|
195
|
-
var s = (n - r + 0.5) / (r + 0.5);
|
|
196
|
-
return Math.log(1 + Math.abs(s));
|
|
197
|
-
}),
|
|
198
|
-
(t.Token = function (e, n) {
|
|
199
|
-
(this.str = e || ""), (this.metadata = n || {});
|
|
200
|
-
}),
|
|
201
|
-
(t.Token.prototype.toString = function () {
|
|
202
|
-
return this.str;
|
|
203
|
-
}),
|
|
204
|
-
(t.Token.prototype.update = function (e) {
|
|
205
|
-
return (this.str = e(this.str, this.metadata)), this;
|
|
206
|
-
}),
|
|
207
|
-
(t.Token.prototype.clone = function (e) {
|
|
208
|
-
return (
|
|
209
|
-
(e =
|
|
210
|
-
e ||
|
|
211
|
-
function (n) {
|
|
212
|
-
return n;
|
|
213
|
-
}),
|
|
214
|
-
new t.Token(e(this.str, this.metadata), this.metadata)
|
|
215
|
-
);
|
|
216
|
-
});
|
|
217
|
-
(t.tokenizer = function (e, n) {
|
|
218
|
-
if (e == null || e == null) return [];
|
|
219
|
-
if (Array.isArray(e))
|
|
220
|
-
return e.map(function (f) {
|
|
221
|
-
return new t.Token(
|
|
222
|
-
t.utils.asString(f).toLowerCase(),
|
|
223
|
-
t.utils.clone(n),
|
|
224
|
-
);
|
|
225
|
-
});
|
|
226
|
-
for (
|
|
227
|
-
var r = e.toString().toLowerCase(),
|
|
228
|
-
i = r.length,
|
|
229
|
-
s = [],
|
|
230
|
-
o = 0,
|
|
231
|
-
a = 0;
|
|
232
|
-
o <= i;
|
|
233
|
-
o++
|
|
234
|
-
) {
|
|
235
|
-
var c = r.charAt(o),
|
|
236
|
-
l = o - a;
|
|
237
|
-
if (c.match(t.tokenizer.separator) || o == i) {
|
|
238
|
-
if (l > 0) {
|
|
239
|
-
var d = t.utils.clone(n) || {};
|
|
240
|
-
(d.position = [a, l]),
|
|
241
|
-
(d.index = s.length),
|
|
242
|
-
s.push(new t.Token(r.slice(a, o), d));
|
|
243
|
-
}
|
|
244
|
-
a = o + 1;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
return s;
|
|
248
|
-
}),
|
|
249
|
-
(t.tokenizer.separator = /[\s\-]+/);
|
|
250
|
-
(t.Pipeline = function () {
|
|
251
|
-
this._stack = [];
|
|
252
|
-
}),
|
|
253
|
-
(t.Pipeline.registeredFunctions = Object.create(null)),
|
|
254
|
-
(t.Pipeline.registerFunction = function (e, n) {
|
|
255
|
-
n in this.registeredFunctions &&
|
|
256
|
-
t.utils.warn("Overwriting existing registered function: " + n),
|
|
257
|
-
(e.label = n),
|
|
258
|
-
(t.Pipeline.registeredFunctions[e.label] = e);
|
|
259
|
-
}),
|
|
260
|
-
(t.Pipeline.warnIfFunctionNotRegistered = function (e) {
|
|
261
|
-
var n = e.label && e.label in this.registeredFunctions;
|
|
262
|
-
n ||
|
|
263
|
-
t.utils.warn(
|
|
264
|
-
`Function is not registered with pipeline. This may cause problems when serialising the index.
|
|
265
|
-
`,
|
|
266
|
-
e,
|
|
267
|
-
);
|
|
268
|
-
}),
|
|
269
|
-
(t.Pipeline.load = function (e) {
|
|
270
|
-
var n = new t.Pipeline();
|
|
271
|
-
return (
|
|
272
|
-
e.forEach(function (r) {
|
|
273
|
-
var i = t.Pipeline.registeredFunctions[r];
|
|
274
|
-
if (i) n.add(i);
|
|
275
|
-
else throw new Error("Cannot load unregistered function: " + r);
|
|
276
|
-
}),
|
|
277
|
-
n
|
|
278
|
-
);
|
|
279
|
-
}),
|
|
280
|
-
(t.Pipeline.prototype.add = function () {
|
|
281
|
-
var e = Array.prototype.slice.call(arguments);
|
|
282
|
-
e.forEach(function (n) {
|
|
283
|
-
t.Pipeline.warnIfFunctionNotRegistered(n), this._stack.push(n);
|
|
284
|
-
}, this);
|
|
285
|
-
}),
|
|
286
|
-
(t.Pipeline.prototype.after = function (e, n) {
|
|
287
|
-
t.Pipeline.warnIfFunctionNotRegistered(n);
|
|
288
|
-
var r = this._stack.indexOf(e);
|
|
289
|
-
if (r == -1) throw new Error("Cannot find existingFn");
|
|
290
|
-
(r = r + 1), this._stack.splice(r, 0, n);
|
|
291
|
-
}),
|
|
292
|
-
(t.Pipeline.prototype.before = function (e, n) {
|
|
293
|
-
t.Pipeline.warnIfFunctionNotRegistered(n);
|
|
294
|
-
var r = this._stack.indexOf(e);
|
|
295
|
-
if (r == -1) throw new Error("Cannot find existingFn");
|
|
296
|
-
this._stack.splice(r, 0, n);
|
|
297
|
-
}),
|
|
298
|
-
(t.Pipeline.prototype.remove = function (e) {
|
|
299
|
-
var n = this._stack.indexOf(e);
|
|
300
|
-
n != -1 && this._stack.splice(n, 1);
|
|
301
|
-
}),
|
|
302
|
-
(t.Pipeline.prototype.run = function (e) {
|
|
303
|
-
for (var n = this._stack.length, r = 0; r < n; r++) {
|
|
304
|
-
for (var i = this._stack[r], s = [], o = 0; o < e.length; o++) {
|
|
305
|
-
var a = i(e[o], o, e);
|
|
306
|
-
if (!(a == null || a === ""))
|
|
307
|
-
if (Array.isArray(a))
|
|
308
|
-
for (var c = 0; c < a.length; c++) s.push(a[c]);
|
|
309
|
-
else s.push(a);
|
|
310
|
-
}
|
|
311
|
-
e = s;
|
|
312
|
-
}
|
|
313
|
-
return e;
|
|
314
|
-
}),
|
|
315
|
-
(t.Pipeline.prototype.runString = function (e, n) {
|
|
316
|
-
var r = new t.Token(e, n);
|
|
317
|
-
return this.run([r]).map(function (i) {
|
|
318
|
-
return i.toString();
|
|
319
|
-
});
|
|
320
|
-
}),
|
|
321
|
-
(t.Pipeline.prototype.reset = function () {
|
|
322
|
-
this._stack = [];
|
|
323
|
-
}),
|
|
324
|
-
(t.Pipeline.prototype.toJSON = function () {
|
|
325
|
-
return this._stack.map(function (e) {
|
|
326
|
-
return t.Pipeline.warnIfFunctionNotRegistered(e), e.label;
|
|
327
|
-
});
|
|
328
|
-
});
|
|
329
|
-
(t.Vector = function (e) {
|
|
330
|
-
(this._magnitude = 0), (this.elements = e || []);
|
|
331
|
-
}),
|
|
332
|
-
(t.Vector.prototype.positionForIndex = function (e) {
|
|
333
|
-
if (this.elements.length == 0) return 0;
|
|
334
|
-
for (
|
|
335
|
-
var n = 0,
|
|
336
|
-
r = this.elements.length / 2,
|
|
337
|
-
i = r - n,
|
|
338
|
-
s = Math.floor(i / 2),
|
|
339
|
-
o = this.elements[s * 2];
|
|
340
|
-
i > 1 && (o < e && (n = s), o > e && (r = s), o != e);
|
|
341
|
-
|
|
342
|
-
)
|
|
343
|
-
(i = r - n),
|
|
344
|
-
(s = n + Math.floor(i / 2)),
|
|
345
|
-
(o = this.elements[s * 2]);
|
|
346
|
-
if (o == e || o > e) return s * 2;
|
|
347
|
-
if (o < e) return (s + 1) * 2;
|
|
348
|
-
}),
|
|
349
|
-
(t.Vector.prototype.insert = function (e, n) {
|
|
350
|
-
this.upsert(e, n, function () {
|
|
351
|
-
throw "duplicate index";
|
|
352
|
-
});
|
|
353
|
-
}),
|
|
354
|
-
(t.Vector.prototype.upsert = function (e, n, r) {
|
|
355
|
-
this._magnitude = 0;
|
|
356
|
-
var i = this.positionForIndex(e);
|
|
357
|
-
this.elements[i] == e
|
|
358
|
-
? (this.elements[i + 1] = r(this.elements[i + 1], n))
|
|
359
|
-
: this.elements.splice(i, 0, e, n);
|
|
360
|
-
}),
|
|
361
|
-
(t.Vector.prototype.magnitude = function () {
|
|
362
|
-
if (this._magnitude) return this._magnitude;
|
|
363
|
-
for (var e = 0, n = this.elements.length, r = 1; r < n; r += 2) {
|
|
364
|
-
var i = this.elements[r];
|
|
365
|
-
e += i * i;
|
|
366
|
-
}
|
|
367
|
-
return (this._magnitude = Math.sqrt(e));
|
|
368
|
-
}),
|
|
369
|
-
(t.Vector.prototype.dot = function (e) {
|
|
370
|
-
for (
|
|
371
|
-
var n = 0,
|
|
372
|
-
r = this.elements,
|
|
373
|
-
i = e.elements,
|
|
374
|
-
s = r.length,
|
|
375
|
-
o = i.length,
|
|
376
|
-
a = 0,
|
|
377
|
-
c = 0,
|
|
378
|
-
l = 0,
|
|
379
|
-
d = 0;
|
|
380
|
-
l < s && d < o;
|
|
381
|
-
|
|
382
|
-
)
|
|
383
|
-
(a = r[l]),
|
|
384
|
-
(c = i[d]),
|
|
385
|
-
a < c
|
|
386
|
-
? (l += 2)
|
|
387
|
-
: a > c
|
|
388
|
-
? (d += 2)
|
|
389
|
-
: a == c && ((n += r[l + 1] * i[d + 1]), (l += 2), (d += 2));
|
|
390
|
-
return n;
|
|
391
|
-
}),
|
|
392
|
-
(t.Vector.prototype.similarity = function (e) {
|
|
393
|
-
return this.dot(e) / this.magnitude() || 0;
|
|
394
|
-
}),
|
|
395
|
-
(t.Vector.prototype.toArray = function () {
|
|
396
|
-
for (
|
|
397
|
-
var e = new Array(this.elements.length / 2), n = 1, r = 0;
|
|
398
|
-
n < this.elements.length;
|
|
399
|
-
n += 2, r++
|
|
400
|
-
)
|
|
401
|
-
e[r] = this.elements[n];
|
|
402
|
-
return e;
|
|
403
|
-
}),
|
|
404
|
-
(t.Vector.prototype.toJSON = function () {
|
|
405
|
-
return this.elements;
|
|
406
|
-
});
|
|
407
|
-
(t.stemmer = (function () {
|
|
408
|
-
var e = {
|
|
409
|
-
ational: "ate",
|
|
410
|
-
tional: "tion",
|
|
411
|
-
enci: "ence",
|
|
412
|
-
anci: "ance",
|
|
413
|
-
izer: "ize",
|
|
414
|
-
bli: "ble",
|
|
415
|
-
alli: "al",
|
|
416
|
-
entli: "ent",
|
|
417
|
-
eli: "e",
|
|
418
|
-
ousli: "ous",
|
|
419
|
-
ization: "ize",
|
|
420
|
-
ation: "ate",
|
|
421
|
-
ator: "ate",
|
|
422
|
-
alism: "al",
|
|
423
|
-
iveness: "ive",
|
|
424
|
-
fulness: "ful",
|
|
425
|
-
ousness: "ous",
|
|
426
|
-
aliti: "al",
|
|
427
|
-
iviti: "ive",
|
|
428
|
-
biliti: "ble",
|
|
429
|
-
logi: "log",
|
|
430
|
-
},
|
|
431
|
-
n = {
|
|
432
|
-
icate: "ic",
|
|
433
|
-
ative: "",
|
|
434
|
-
alize: "al",
|
|
435
|
-
iciti: "ic",
|
|
436
|
-
ical: "ic",
|
|
437
|
-
ful: "",
|
|
438
|
-
ness: "",
|
|
439
|
-
},
|
|
440
|
-
r = "[^aeiou]",
|
|
441
|
-
i = "[aeiouy]",
|
|
442
|
-
s = r + "[^aeiouy]*",
|
|
443
|
-
o = i + "[aeiou]*",
|
|
444
|
-
a = "^(" + s + ")?" + o + s,
|
|
445
|
-
c = "^(" + s + ")?" + o + s + "(" + o + ")?$",
|
|
446
|
-
l = "^(" + s + ")?" + o + s + o + s,
|
|
447
|
-
d = "^(" + s + ")?" + i,
|
|
448
|
-
f = new RegExp(a),
|
|
449
|
-
p = new RegExp(l),
|
|
450
|
-
v = new RegExp(c),
|
|
451
|
-
x = new RegExp(d),
|
|
452
|
-
w = /^(.+?)(ss|i)es$/,
|
|
453
|
-
m = /^(.+?)([^s])s$/,
|
|
454
|
-
g = /^(.+?)eed$/,
|
|
455
|
-
T = /^(.+?)(ed|ing)$/,
|
|
456
|
-
L = /.$/,
|
|
457
|
-
C = /(at|bl|iz)$/,
|
|
458
|
-
O = new RegExp("([^aeiouylsz])\\1$"),
|
|
459
|
-
j = new RegExp("^" + s + i + "[^aeiouwxy]$"),
|
|
460
|
-
N = /^(.+?[^aeiou])y$/,
|
|
461
|
-
q =
|
|
462
|
-
/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,
|
|
463
|
-
W = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,
|
|
464
|
-
B =
|
|
465
|
-
/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,
|
|
466
|
-
z = /^(.+?)(s|t)(ion)$/,
|
|
467
|
-
_ = /^(.+?)e$/,
|
|
468
|
-
U = /ll$/,
|
|
469
|
-
J = new RegExp("^" + s + i + "[^aeiouwxy]$"),
|
|
470
|
-
V = function (u) {
|
|
471
|
-
var y, P, k, h, E, Q, H;
|
|
472
|
-
if (u.length < 3) return u;
|
|
473
|
-
if (
|
|
474
|
-
((k = u.substr(0, 1)),
|
|
475
|
-
k == "y" && (u = k.toUpperCase() + u.substr(1)),
|
|
476
|
-
(h = w),
|
|
477
|
-
(E = m),
|
|
478
|
-
h.test(u)
|
|
479
|
-
? (u = u.replace(h, "$1$2"))
|
|
480
|
-
: E.test(u) && (u = u.replace(E, "$1$2")),
|
|
481
|
-
(h = g),
|
|
482
|
-
(E = T),
|
|
483
|
-
h.test(u))
|
|
484
|
-
) {
|
|
485
|
-
var b = h.exec(u);
|
|
486
|
-
(h = f), h.test(b[1]) && ((h = L), (u = u.replace(h, "")));
|
|
487
|
-
} else if (E.test(u)) {
|
|
488
|
-
var b = E.exec(u);
|
|
489
|
-
(y = b[1]),
|
|
490
|
-
(E = x),
|
|
491
|
-
E.test(y) &&
|
|
492
|
-
((u = y),
|
|
493
|
-
(E = C),
|
|
494
|
-
(Q = O),
|
|
495
|
-
(H = j),
|
|
496
|
-
E.test(u)
|
|
497
|
-
? (u = u + "e")
|
|
498
|
-
: Q.test(u)
|
|
499
|
-
? ((h = L), (u = u.replace(h, "")))
|
|
500
|
-
: H.test(u) && (u = u + "e"));
|
|
501
|
-
}
|
|
502
|
-
if (((h = N), h.test(u))) {
|
|
503
|
-
var b = h.exec(u);
|
|
504
|
-
(y = b[1]), (u = y + "i");
|
|
505
|
-
}
|
|
506
|
-
if (((h = q), h.test(u))) {
|
|
507
|
-
var b = h.exec(u);
|
|
508
|
-
(y = b[1]), (P = b[2]), (h = f), h.test(y) && (u = y + e[P]);
|
|
509
|
-
}
|
|
510
|
-
if (((h = W), h.test(u))) {
|
|
511
|
-
var b = h.exec(u);
|
|
512
|
-
(y = b[1]), (P = b[2]), (h = f), h.test(y) && (u = y + n[P]);
|
|
513
|
-
}
|
|
514
|
-
if (((h = B), (E = z), h.test(u))) {
|
|
515
|
-
var b = h.exec(u);
|
|
516
|
-
(y = b[1]), (h = p), h.test(y) && (u = y);
|
|
517
|
-
} else if (E.test(u)) {
|
|
518
|
-
var b = E.exec(u);
|
|
519
|
-
(y = b[1] + b[2]), (E = p), E.test(y) && (u = y);
|
|
520
|
-
}
|
|
521
|
-
if (((h = _), h.test(u))) {
|
|
522
|
-
var b = h.exec(u);
|
|
523
|
-
(y = b[1]),
|
|
524
|
-
(h = p),
|
|
525
|
-
(E = v),
|
|
526
|
-
(Q = J),
|
|
527
|
-
(h.test(y) || (E.test(y) && !Q.test(y))) && (u = y);
|
|
528
|
-
}
|
|
529
|
-
return (
|
|
530
|
-
(h = U),
|
|
531
|
-
(E = p),
|
|
532
|
-
h.test(u) && E.test(u) && ((h = L), (u = u.replace(h, ""))),
|
|
533
|
-
k == "y" && (u = k.toLowerCase() + u.substr(1)),
|
|
534
|
-
u
|
|
535
|
-
);
|
|
536
|
-
};
|
|
537
|
-
return function (A) {
|
|
538
|
-
return A.update(V);
|
|
539
|
-
};
|
|
540
|
-
})()),
|
|
541
|
-
t.Pipeline.registerFunction(t.stemmer, "stemmer");
|
|
542
|
-
(t.generateStopWordFilter = function (e) {
|
|
543
|
-
var n = e.reduce(function (r, i) {
|
|
544
|
-
return (r[i] = i), r;
|
|
545
|
-
}, {});
|
|
546
|
-
return function (r) {
|
|
547
|
-
if (r && n[r.toString()] !== r.toString()) return r;
|
|
548
|
-
};
|
|
549
|
-
}),
|
|
550
|
-
(t.stopWordFilter = t.generateStopWordFilter([
|
|
551
|
-
"a",
|
|
552
|
-
"able",
|
|
553
|
-
"about",
|
|
554
|
-
"across",
|
|
555
|
-
"after",
|
|
556
|
-
"all",
|
|
557
|
-
"almost",
|
|
558
|
-
"also",
|
|
559
|
-
"am",
|
|
560
|
-
"among",
|
|
561
|
-
"an",
|
|
562
|
-
"and",
|
|
563
|
-
"any",
|
|
564
|
-
"are",
|
|
565
|
-
"as",
|
|
566
|
-
"at",
|
|
567
|
-
"be",
|
|
568
|
-
"because",
|
|
569
|
-
"been",
|
|
570
|
-
"but",
|
|
571
|
-
"by",
|
|
572
|
-
"can",
|
|
573
|
-
"cannot",
|
|
574
|
-
"could",
|
|
575
|
-
"dear",
|
|
576
|
-
"did",
|
|
577
|
-
"do",
|
|
578
|
-
"does",
|
|
579
|
-
"either",
|
|
580
|
-
"else",
|
|
581
|
-
"ever",
|
|
582
|
-
"every",
|
|
583
|
-
"for",
|
|
584
|
-
"from",
|
|
585
|
-
"get",
|
|
586
|
-
"got",
|
|
587
|
-
"had",
|
|
588
|
-
"has",
|
|
589
|
-
"have",
|
|
590
|
-
"he",
|
|
591
|
-
"her",
|
|
592
|
-
"hers",
|
|
593
|
-
"him",
|
|
594
|
-
"his",
|
|
595
|
-
"how",
|
|
596
|
-
"however",
|
|
597
|
-
"i",
|
|
598
|
-
"if",
|
|
599
|
-
"in",
|
|
600
|
-
"into",
|
|
601
|
-
"is",
|
|
602
|
-
"it",
|
|
603
|
-
"its",
|
|
604
|
-
"just",
|
|
605
|
-
"least",
|
|
606
|
-
"let",
|
|
607
|
-
"like",
|
|
608
|
-
"likely",
|
|
609
|
-
"may",
|
|
610
|
-
"me",
|
|
611
|
-
"might",
|
|
612
|
-
"most",
|
|
613
|
-
"must",
|
|
614
|
-
"my",
|
|
615
|
-
"neither",
|
|
616
|
-
"no",
|
|
617
|
-
"nor",
|
|
618
|
-
"not",
|
|
619
|
-
"of",
|
|
620
|
-
"off",
|
|
621
|
-
"often",
|
|
622
|
-
"on",
|
|
623
|
-
"only",
|
|
624
|
-
"or",
|
|
625
|
-
"other",
|
|
626
|
-
"our",
|
|
627
|
-
"own",
|
|
628
|
-
"rather",
|
|
629
|
-
"said",
|
|
630
|
-
"say",
|
|
631
|
-
"says",
|
|
632
|
-
"she",
|
|
633
|
-
"should",
|
|
634
|
-
"since",
|
|
635
|
-
"so",
|
|
636
|
-
"some",
|
|
637
|
-
"than",
|
|
638
|
-
"that",
|
|
639
|
-
"the",
|
|
640
|
-
"their",
|
|
641
|
-
"them",
|
|
642
|
-
"then",
|
|
643
|
-
"there",
|
|
644
|
-
"these",
|
|
645
|
-
"they",
|
|
646
|
-
"this",
|
|
647
|
-
"tis",
|
|
648
|
-
"to",
|
|
649
|
-
"too",
|
|
650
|
-
"twas",
|
|
651
|
-
"us",
|
|
652
|
-
"wants",
|
|
653
|
-
"was",
|
|
654
|
-
"we",
|
|
655
|
-
"were",
|
|
656
|
-
"what",
|
|
657
|
-
"when",
|
|
658
|
-
"where",
|
|
659
|
-
"which",
|
|
660
|
-
"while",
|
|
661
|
-
"who",
|
|
662
|
-
"whom",
|
|
663
|
-
"why",
|
|
664
|
-
"will",
|
|
665
|
-
"with",
|
|
666
|
-
"would",
|
|
667
|
-
"yet",
|
|
668
|
-
"you",
|
|
669
|
-
"your",
|
|
670
|
-
])),
|
|
671
|
-
t.Pipeline.registerFunction(t.stopWordFilter, "stopWordFilter");
|
|
672
|
-
(t.trimmer = function (e) {
|
|
673
|
-
return e.update(function (n) {
|
|
674
|
-
return n.replace(/^\W+/, "").replace(/\W+$/, "");
|
|
675
|
-
});
|
|
676
|
-
}),
|
|
677
|
-
t.Pipeline.registerFunction(t.trimmer, "trimmer");
|
|
678
|
-
(t.TokenSet = function () {
|
|
679
|
-
(this.final = !1),
|
|
680
|
-
(this.edges = {}),
|
|
681
|
-
(this.id = t.TokenSet._nextId),
|
|
682
|
-
(t.TokenSet._nextId += 1);
|
|
683
|
-
}),
|
|
684
|
-
(t.TokenSet._nextId = 1),
|
|
685
|
-
(t.TokenSet.fromArray = function (e) {
|
|
686
|
-
for (
|
|
687
|
-
var n = new t.TokenSet.Builder(), r = 0, i = e.length;
|
|
688
|
-
r < i;
|
|
689
|
-
r++
|
|
690
|
-
)
|
|
691
|
-
n.insert(e[r]);
|
|
692
|
-
return n.finish(), n.root;
|
|
693
|
-
}),
|
|
694
|
-
(t.TokenSet.fromClause = function (e) {
|
|
695
|
-
return "editDistance" in e
|
|
696
|
-
? t.TokenSet.fromFuzzyString(e.term, e.editDistance)
|
|
697
|
-
: t.TokenSet.fromString(e.term);
|
|
698
|
-
}),
|
|
699
|
-
(t.TokenSet.fromFuzzyString = function (e, n) {
|
|
700
|
-
for (
|
|
701
|
-
var r = new t.TokenSet(),
|
|
702
|
-
i = [{ node: r, editsRemaining: n, str: e }];
|
|
703
|
-
i.length;
|
|
704
|
-
|
|
705
|
-
) {
|
|
706
|
-
var s = i.pop();
|
|
707
|
-
if (s.str.length > 0) {
|
|
708
|
-
var o = s.str.charAt(0),
|
|
709
|
-
a;
|
|
710
|
-
o in s.node.edges
|
|
711
|
-
? (a = s.node.edges[o])
|
|
712
|
-
: ((a = new t.TokenSet()), (s.node.edges[o] = a)),
|
|
713
|
-
s.str.length == 1 && (a.final = !0),
|
|
714
|
-
i.push({
|
|
715
|
-
node: a,
|
|
716
|
-
editsRemaining: s.editsRemaining,
|
|
717
|
-
str: s.str.slice(1),
|
|
718
|
-
});
|
|
719
|
-
}
|
|
720
|
-
if (s.editsRemaining != 0) {
|
|
721
|
-
if ("*" in s.node.edges) var c = s.node.edges["*"];
|
|
722
|
-
else {
|
|
723
|
-
var c = new t.TokenSet();
|
|
724
|
-
s.node.edges["*"] = c;
|
|
725
|
-
}
|
|
726
|
-
if (
|
|
727
|
-
(s.str.length == 0 && (c.final = !0),
|
|
728
|
-
i.push({
|
|
729
|
-
node: c,
|
|
730
|
-
editsRemaining: s.editsRemaining - 1,
|
|
731
|
-
str: s.str,
|
|
732
|
-
}),
|
|
733
|
-
s.str.length > 1 &&
|
|
734
|
-
i.push({
|
|
735
|
-
node: s.node,
|
|
736
|
-
editsRemaining: s.editsRemaining - 1,
|
|
737
|
-
str: s.str.slice(1),
|
|
738
|
-
}),
|
|
739
|
-
s.str.length == 1 && (s.node.final = !0),
|
|
740
|
-
s.str.length >= 1)
|
|
741
|
-
) {
|
|
742
|
-
if ("*" in s.node.edges) var l = s.node.edges["*"];
|
|
743
|
-
else {
|
|
744
|
-
var l = new t.TokenSet();
|
|
745
|
-
s.node.edges["*"] = l;
|
|
746
|
-
}
|
|
747
|
-
s.str.length == 1 && (l.final = !0),
|
|
748
|
-
i.push({
|
|
749
|
-
node: l,
|
|
750
|
-
editsRemaining: s.editsRemaining - 1,
|
|
751
|
-
str: s.str.slice(1),
|
|
752
|
-
});
|
|
753
|
-
}
|
|
754
|
-
if (s.str.length > 1) {
|
|
755
|
-
var d = s.str.charAt(0),
|
|
756
|
-
f = s.str.charAt(1),
|
|
757
|
-
p;
|
|
758
|
-
f in s.node.edges
|
|
759
|
-
? (p = s.node.edges[f])
|
|
760
|
-
: ((p = new t.TokenSet()), (s.node.edges[f] = p)),
|
|
761
|
-
s.str.length == 1 && (p.final = !0),
|
|
762
|
-
i.push({
|
|
763
|
-
node: p,
|
|
764
|
-
editsRemaining: s.editsRemaining - 1,
|
|
765
|
-
str: d + s.str.slice(2),
|
|
766
|
-
});
|
|
767
|
-
}
|
|
768
|
-
}
|
|
769
|
-
}
|
|
770
|
-
return r;
|
|
771
|
-
}),
|
|
772
|
-
(t.TokenSet.fromString = function (e) {
|
|
773
|
-
for (
|
|
774
|
-
var n = new t.TokenSet(), r = n, i = 0, s = e.length;
|
|
775
|
-
i < s;
|
|
776
|
-
i++
|
|
777
|
-
) {
|
|
778
|
-
var o = e[i],
|
|
779
|
-
a = i == s - 1;
|
|
780
|
-
if (o == "*") (n.edges[o] = n), (n.final = a);
|
|
781
|
-
else {
|
|
782
|
-
var c = new t.TokenSet();
|
|
783
|
-
(c.final = a), (n.edges[o] = c), (n = c);
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
return r;
|
|
787
|
-
}),
|
|
788
|
-
(t.TokenSet.prototype.toArray = function () {
|
|
789
|
-
for (var e = [], n = [{ prefix: "", node: this }]; n.length; ) {
|
|
790
|
-
var r = n.pop(),
|
|
791
|
-
i = Object.keys(r.node.edges),
|
|
792
|
-
s = i.length;
|
|
793
|
-
r.node.final && (r.prefix.charAt(0), e.push(r.prefix));
|
|
794
|
-
for (var o = 0; o < s; o++) {
|
|
795
|
-
var a = i[o];
|
|
796
|
-
n.push({ prefix: r.prefix.concat(a), node: r.node.edges[a] });
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
return e;
|
|
800
|
-
}),
|
|
801
|
-
(t.TokenSet.prototype.toString = function () {
|
|
802
|
-
if (this._str) return this._str;
|
|
803
|
-
for (
|
|
804
|
-
var e = this.final ? "1" : "0",
|
|
805
|
-
n = Object.keys(this.edges).sort(),
|
|
806
|
-
r = n.length,
|
|
807
|
-
i = 0;
|
|
808
|
-
i < r;
|
|
809
|
-
i++
|
|
810
|
-
) {
|
|
811
|
-
var s = n[i],
|
|
812
|
-
o = this.edges[s];
|
|
813
|
-
e = e + s + o.id;
|
|
814
|
-
}
|
|
815
|
-
return e;
|
|
816
|
-
}),
|
|
817
|
-
(t.TokenSet.prototype.intersect = function (e) {
|
|
818
|
-
for (
|
|
819
|
-
var n = new t.TokenSet(),
|
|
820
|
-
r = void 0,
|
|
821
|
-
i = [{ qNode: e, output: n, node: this }];
|
|
822
|
-
i.length;
|
|
823
|
-
|
|
824
|
-
) {
|
|
825
|
-
r = i.pop();
|
|
826
|
-
for (
|
|
827
|
-
var s = Object.keys(r.qNode.edges),
|
|
828
|
-
o = s.length,
|
|
829
|
-
a = Object.keys(r.node.edges),
|
|
830
|
-
c = a.length,
|
|
831
|
-
l = 0;
|
|
832
|
-
l < o;
|
|
833
|
-
l++
|
|
834
|
-
)
|
|
835
|
-
for (var d = s[l], f = 0; f < c; f++) {
|
|
836
|
-
var p = a[f];
|
|
837
|
-
if (p == d || d == "*") {
|
|
838
|
-
var v = r.node.edges[p],
|
|
839
|
-
x = r.qNode.edges[d],
|
|
840
|
-
w = v.final && x.final,
|
|
841
|
-
m = void 0;
|
|
842
|
-
p in r.output.edges
|
|
843
|
-
? ((m = r.output.edges[p]), (m.final = m.final || w))
|
|
844
|
-
: ((m = new t.TokenSet()),
|
|
845
|
-
(m.final = w),
|
|
846
|
-
(r.output.edges[p] = m)),
|
|
847
|
-
i.push({ qNode: x, output: m, node: v });
|
|
848
|
-
}
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
return n;
|
|
852
|
-
}),
|
|
853
|
-
(t.TokenSet.Builder = function () {
|
|
854
|
-
(this.previousWord = ""),
|
|
855
|
-
(this.root = new t.TokenSet()),
|
|
856
|
-
(this.uncheckedNodes = []),
|
|
857
|
-
(this.minimizedNodes = {});
|
|
858
|
-
}),
|
|
859
|
-
(t.TokenSet.Builder.prototype.insert = function (e) {
|
|
860
|
-
var n,
|
|
861
|
-
r = 0;
|
|
862
|
-
if (e < this.previousWord)
|
|
863
|
-
throw new Error("Out of order word insertion");
|
|
864
|
-
for (
|
|
865
|
-
var i = 0;
|
|
866
|
-
i < e.length &&
|
|
867
|
-
i < this.previousWord.length &&
|
|
868
|
-
e[i] == this.previousWord[i];
|
|
869
|
-
i++
|
|
870
|
-
)
|
|
871
|
-
r++;
|
|
872
|
-
this.minimize(r),
|
|
873
|
-
this.uncheckedNodes.length == 0
|
|
874
|
-
? (n = this.root)
|
|
875
|
-
: (n = this.uncheckedNodes[this.uncheckedNodes.length - 1].child);
|
|
876
|
-
for (var i = r; i < e.length; i++) {
|
|
877
|
-
var s = new t.TokenSet(),
|
|
878
|
-
o = e[i];
|
|
879
|
-
(n.edges[o] = s),
|
|
880
|
-
this.uncheckedNodes.push({ parent: n, char: o, child: s }),
|
|
881
|
-
(n = s);
|
|
882
|
-
}
|
|
883
|
-
(n.final = !0), (this.previousWord = e);
|
|
884
|
-
}),
|
|
885
|
-
(t.TokenSet.Builder.prototype.finish = function () {
|
|
886
|
-
this.minimize(0);
|
|
887
|
-
}),
|
|
888
|
-
(t.TokenSet.Builder.prototype.minimize = function (e) {
|
|
889
|
-
for (var n = this.uncheckedNodes.length - 1; n >= e; n--) {
|
|
890
|
-
var r = this.uncheckedNodes[n],
|
|
891
|
-
i = r.child.toString();
|
|
892
|
-
i in this.minimizedNodes
|
|
893
|
-
? (r.parent.edges[r.char] = this.minimizedNodes[i])
|
|
894
|
-
: ((r.child._str = i), (this.minimizedNodes[i] = r.child)),
|
|
895
|
-
this.uncheckedNodes.pop();
|
|
896
|
-
}
|
|
897
|
-
});
|
|
898
|
-
(t.Index = function (e) {
|
|
899
|
-
(this.invertedIndex = e.invertedIndex),
|
|
900
|
-
(this.fieldVectors = e.fieldVectors),
|
|
901
|
-
(this.tokenSet = e.tokenSet),
|
|
902
|
-
(this.fields = e.fields),
|
|
903
|
-
(this.pipeline = e.pipeline);
|
|
904
|
-
}),
|
|
905
|
-
(t.Index.prototype.search = function (e) {
|
|
906
|
-
return this.query(function (n) {
|
|
907
|
-
var r = new t.QueryParser(e, n);
|
|
908
|
-
r.parse();
|
|
909
|
-
});
|
|
910
|
-
}),
|
|
911
|
-
(t.Index.prototype.query = function (e) {
|
|
912
|
-
for (
|
|
913
|
-
var n = new t.Query(this.fields),
|
|
914
|
-
r = Object.create(null),
|
|
915
|
-
i = Object.create(null),
|
|
916
|
-
s = Object.create(null),
|
|
917
|
-
o = Object.create(null),
|
|
918
|
-
a = Object.create(null),
|
|
919
|
-
c = 0;
|
|
920
|
-
c < this.fields.length;
|
|
921
|
-
c++
|
|
922
|
-
)
|
|
923
|
-
i[this.fields[c]] = new t.Vector();
|
|
924
|
-
e.call(n, n);
|
|
925
|
-
for (var c = 0; c < n.clauses.length; c++) {
|
|
926
|
-
var l = n.clauses[c],
|
|
927
|
-
d = null,
|
|
928
|
-
f = t.Set.empty;
|
|
929
|
-
l.usePipeline
|
|
930
|
-
? (d = this.pipeline.runString(l.term, { fields: l.fields }))
|
|
931
|
-
: (d = [l.term]);
|
|
932
|
-
for (var p = 0; p < d.length; p++) {
|
|
933
|
-
var v = d[p];
|
|
934
|
-
l.term = v;
|
|
935
|
-
var x = t.TokenSet.fromClause(l),
|
|
936
|
-
w = this.tokenSet.intersect(x).toArray();
|
|
937
|
-
if (w.length === 0 && l.presence === t.Query.presence.REQUIRED) {
|
|
938
|
-
for (var m = 0; m < l.fields.length; m++) {
|
|
939
|
-
var g = l.fields[m];
|
|
940
|
-
o[g] = t.Set.empty;
|
|
941
|
-
}
|
|
942
|
-
break;
|
|
943
|
-
}
|
|
944
|
-
for (var T = 0; T < w.length; T++)
|
|
945
|
-
for (
|
|
946
|
-
var L = w[T], C = this.invertedIndex[L], O = C._index, m = 0;
|
|
947
|
-
m < l.fields.length;
|
|
948
|
-
m++
|
|
949
|
-
) {
|
|
950
|
-
var g = l.fields[m],
|
|
951
|
-
j = C[g],
|
|
952
|
-
N = Object.keys(j),
|
|
953
|
-
q = L + "/" + g,
|
|
954
|
-
W = new t.Set(N);
|
|
955
|
-
if (
|
|
956
|
-
(l.presence == t.Query.presence.REQUIRED &&
|
|
957
|
-
((f = f.union(W)),
|
|
958
|
-
o[g] === void 0 && (o[g] = t.Set.complete)),
|
|
959
|
-
l.presence == t.Query.presence.PROHIBITED)
|
|
960
|
-
) {
|
|
961
|
-
a[g] === void 0 && (a[g] = t.Set.empty),
|
|
962
|
-
(a[g] = a[g].union(W));
|
|
963
|
-
continue;
|
|
964
|
-
}
|
|
965
|
-
if (
|
|
966
|
-
(i[g].upsert(O, l.boost, function (Ue, Je) {
|
|
967
|
-
return Ue + Je;
|
|
968
|
-
}),
|
|
969
|
-
!s[q])
|
|
970
|
-
) {
|
|
971
|
-
for (var B = 0; B < N.length; B++) {
|
|
972
|
-
var z = N[B],
|
|
973
|
-
_ = new t.FieldRef(z, g),
|
|
974
|
-
U = j[z],
|
|
975
|
-
J;
|
|
976
|
-
(J = r[_]) === void 0
|
|
977
|
-
? (r[_] = new t.MatchData(L, g, U))
|
|
978
|
-
: J.add(L, g, U);
|
|
979
|
-
}
|
|
980
|
-
s[q] = !0;
|
|
981
|
-
}
|
|
982
|
-
}
|
|
983
|
-
}
|
|
984
|
-
if (l.presence === t.Query.presence.REQUIRED)
|
|
985
|
-
for (var m = 0; m < l.fields.length; m++) {
|
|
986
|
-
var g = l.fields[m];
|
|
987
|
-
o[g] = o[g].intersect(f);
|
|
988
|
-
}
|
|
989
|
-
}
|
|
990
|
-
for (
|
|
991
|
-
var V = t.Set.complete, A = t.Set.empty, c = 0;
|
|
992
|
-
c < this.fields.length;
|
|
993
|
-
c++
|
|
994
|
-
) {
|
|
995
|
-
var g = this.fields[c];
|
|
996
|
-
o[g] && (V = V.intersect(o[g])), a[g] && (A = A.union(a[g]));
|
|
997
|
-
}
|
|
998
|
-
var u = Object.keys(r),
|
|
999
|
-
y = [],
|
|
1000
|
-
P = Object.create(null);
|
|
1001
|
-
if (n.isNegated()) {
|
|
1002
|
-
u = Object.keys(this.fieldVectors);
|
|
1003
|
-
for (var c = 0; c < u.length; c++) {
|
|
1004
|
-
var _ = u[c],
|
|
1005
|
-
k = t.FieldRef.fromString(_);
|
|
1006
|
-
r[_] = new t.MatchData();
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1009
|
-
for (var c = 0; c < u.length; c++) {
|
|
1010
|
-
var k = t.FieldRef.fromString(u[c]),
|
|
1011
|
-
h = k.docRef;
|
|
1012
|
-
if (V.contains(h) && !A.contains(h)) {
|
|
1013
|
-
var E = this.fieldVectors[k],
|
|
1014
|
-
Q = i[k.fieldName].similarity(E),
|
|
1015
|
-
H;
|
|
1016
|
-
if ((H = P[h]) !== void 0)
|
|
1017
|
-
(H.score += Q), H.matchData.combine(r[k]);
|
|
1018
|
-
else {
|
|
1019
|
-
var b = { ref: h, score: Q, matchData: r[k] };
|
|
1020
|
-
(P[h] = b), y.push(b);
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
return y.sort(function (We, ze) {
|
|
1025
|
-
return ze.score - We.score;
|
|
1026
|
-
});
|
|
1027
|
-
}),
|
|
1028
|
-
(t.Index.prototype.toJSON = function () {
|
|
1029
|
-
var e = Object.keys(this.invertedIndex)
|
|
1030
|
-
.sort()
|
|
1031
|
-
.map(function (r) {
|
|
1032
|
-
return [r, this.invertedIndex[r]];
|
|
1033
|
-
}, this),
|
|
1034
|
-
n = Object.keys(this.fieldVectors).map(function (r) {
|
|
1035
|
-
return [r, this.fieldVectors[r].toJSON()];
|
|
1036
|
-
}, this);
|
|
1037
|
-
return {
|
|
1038
|
-
version: t.version,
|
|
1039
|
-
fields: this.fields,
|
|
1040
|
-
fieldVectors: n,
|
|
1041
|
-
invertedIndex: e,
|
|
1042
|
-
pipeline: this.pipeline.toJSON(),
|
|
1043
|
-
};
|
|
1044
|
-
}),
|
|
1045
|
-
(t.Index.load = function (e) {
|
|
1046
|
-
var n = {},
|
|
1047
|
-
r = {},
|
|
1048
|
-
i = e.fieldVectors,
|
|
1049
|
-
s = Object.create(null),
|
|
1050
|
-
o = e.invertedIndex,
|
|
1051
|
-
a = new t.TokenSet.Builder(),
|
|
1052
|
-
c = t.Pipeline.load(e.pipeline);
|
|
1053
|
-
e.version != t.version &&
|
|
1054
|
-
t.utils.warn(
|
|
1055
|
-
"Version mismatch when loading serialised index. Current version of lunr '" +
|
|
1056
|
-
t.version +
|
|
1057
|
-
"' does not match serialized index '" +
|
|
1058
|
-
e.version +
|
|
1059
|
-
"'",
|
|
1060
|
-
);
|
|
1061
|
-
for (var l = 0; l < i.length; l++) {
|
|
1062
|
-
var d = i[l],
|
|
1063
|
-
f = d[0],
|
|
1064
|
-
p = d[1];
|
|
1065
|
-
r[f] = new t.Vector(p);
|
|
1066
|
-
}
|
|
1067
|
-
for (var l = 0; l < o.length; l++) {
|
|
1068
|
-
var d = o[l],
|
|
1069
|
-
v = d[0],
|
|
1070
|
-
x = d[1];
|
|
1071
|
-
a.insert(v), (s[v] = x);
|
|
1072
|
-
}
|
|
1073
|
-
return (
|
|
1074
|
-
a.finish(),
|
|
1075
|
-
(n.fields = e.fields),
|
|
1076
|
-
(n.fieldVectors = r),
|
|
1077
|
-
(n.invertedIndex = s),
|
|
1078
|
-
(n.tokenSet = a.root),
|
|
1079
|
-
(n.pipeline = c),
|
|
1080
|
-
new t.Index(n)
|
|
1081
|
-
);
|
|
1082
|
-
});
|
|
1083
|
-
(t.Builder = function () {
|
|
1084
|
-
(this._ref = "id"),
|
|
1085
|
-
(this._fields = Object.create(null)),
|
|
1086
|
-
(this._documents = Object.create(null)),
|
|
1087
|
-
(this.invertedIndex = Object.create(null)),
|
|
1088
|
-
(this.fieldTermFrequencies = {}),
|
|
1089
|
-
(this.fieldLengths = {}),
|
|
1090
|
-
(this.tokenizer = t.tokenizer),
|
|
1091
|
-
(this.pipeline = new t.Pipeline()),
|
|
1092
|
-
(this.searchPipeline = new t.Pipeline()),
|
|
1093
|
-
(this.documentCount = 0),
|
|
1094
|
-
(this._b = 0.75),
|
|
1095
|
-
(this._k1 = 1.2),
|
|
1096
|
-
(this.termIndex = 0),
|
|
1097
|
-
(this.metadataWhitelist = []);
|
|
1098
|
-
}),
|
|
1099
|
-
(t.Builder.prototype.ref = function (e) {
|
|
1100
|
-
this._ref = e;
|
|
1101
|
-
}),
|
|
1102
|
-
(t.Builder.prototype.field = function (e, n) {
|
|
1103
|
-
if (/\//.test(e))
|
|
1104
|
-
throw new RangeError(
|
|
1105
|
-
"Field '" + e + "' contains illegal character '/'",
|
|
1106
|
-
);
|
|
1107
|
-
this._fields[e] = n || {};
|
|
1108
|
-
}),
|
|
1109
|
-
(t.Builder.prototype.b = function (e) {
|
|
1110
|
-
e < 0 ? (this._b = 0) : e > 1 ? (this._b = 1) : (this._b = e);
|
|
1111
|
-
}),
|
|
1112
|
-
(t.Builder.prototype.k1 = function (e) {
|
|
1113
|
-
this._k1 = e;
|
|
1114
|
-
}),
|
|
1115
|
-
(t.Builder.prototype.add = function (e, n) {
|
|
1116
|
-
var r = e[this._ref],
|
|
1117
|
-
i = Object.keys(this._fields);
|
|
1118
|
-
(this._documents[r] = n || {}), (this.documentCount += 1);
|
|
1119
|
-
for (var s = 0; s < i.length; s++) {
|
|
1120
|
-
var o = i[s],
|
|
1121
|
-
a = this._fields[o].extractor,
|
|
1122
|
-
c = a ? a(e) : e[o],
|
|
1123
|
-
l = this.tokenizer(c, { fields: [o] }),
|
|
1124
|
-
d = this.pipeline.run(l),
|
|
1125
|
-
f = new t.FieldRef(r, o),
|
|
1126
|
-
p = Object.create(null);
|
|
1127
|
-
(this.fieldTermFrequencies[f] = p),
|
|
1128
|
-
(this.fieldLengths[f] = 0),
|
|
1129
|
-
(this.fieldLengths[f] += d.length);
|
|
1130
|
-
for (var v = 0; v < d.length; v++) {
|
|
1131
|
-
var x = d[v];
|
|
1132
|
-
if (
|
|
1133
|
-
(p[x] == null && (p[x] = 0),
|
|
1134
|
-
(p[x] += 1),
|
|
1135
|
-
this.invertedIndex[x] == null)
|
|
1136
|
-
) {
|
|
1137
|
-
var w = Object.create(null);
|
|
1138
|
-
(w._index = this.termIndex), (this.termIndex += 1);
|
|
1139
|
-
for (var m = 0; m < i.length; m++)
|
|
1140
|
-
w[i[m]] = Object.create(null);
|
|
1141
|
-
this.invertedIndex[x] = w;
|
|
1142
|
-
}
|
|
1143
|
-
this.invertedIndex[x][o][r] == null &&
|
|
1144
|
-
(this.invertedIndex[x][o][r] = Object.create(null));
|
|
1145
|
-
for (var g = 0; g < this.metadataWhitelist.length; g++) {
|
|
1146
|
-
var T = this.metadataWhitelist[g],
|
|
1147
|
-
L = x.metadata[T];
|
|
1148
|
-
this.invertedIndex[x][o][r][T] == null &&
|
|
1149
|
-
(this.invertedIndex[x][o][r][T] = []),
|
|
1150
|
-
this.invertedIndex[x][o][r][T].push(L);
|
|
1151
|
-
}
|
|
1152
|
-
}
|
|
1153
|
-
}
|
|
1154
|
-
}),
|
|
1155
|
-
(t.Builder.prototype.calculateAverageFieldLengths = function () {
|
|
1156
|
-
for (
|
|
1157
|
-
var e = Object.keys(this.fieldLengths),
|
|
1158
|
-
n = e.length,
|
|
1159
|
-
r = {},
|
|
1160
|
-
i = {},
|
|
1161
|
-
s = 0;
|
|
1162
|
-
s < n;
|
|
1163
|
-
s++
|
|
1164
|
-
) {
|
|
1165
|
-
var o = t.FieldRef.fromString(e[s]),
|
|
1166
|
-
a = o.fieldName;
|
|
1167
|
-
i[a] || (i[a] = 0),
|
|
1168
|
-
(i[a] += 1),
|
|
1169
|
-
r[a] || (r[a] = 0),
|
|
1170
|
-
(r[a] += this.fieldLengths[o]);
|
|
1171
|
-
}
|
|
1172
|
-
for (var c = Object.keys(this._fields), s = 0; s < c.length; s++) {
|
|
1173
|
-
var l = c[s];
|
|
1174
|
-
r[l] = r[l] / i[l];
|
|
1175
|
-
}
|
|
1176
|
-
this.averageFieldLength = r;
|
|
1177
|
-
}),
|
|
1178
|
-
(t.Builder.prototype.createFieldVectors = function () {
|
|
1179
|
-
for (
|
|
1180
|
-
var e = {},
|
|
1181
|
-
n = Object.keys(this.fieldTermFrequencies),
|
|
1182
|
-
r = n.length,
|
|
1183
|
-
i = Object.create(null),
|
|
1184
|
-
s = 0;
|
|
1185
|
-
s < r;
|
|
1186
|
-
s++
|
|
1187
|
-
) {
|
|
1188
|
-
for (
|
|
1189
|
-
var o = t.FieldRef.fromString(n[s]),
|
|
1190
|
-
a = o.fieldName,
|
|
1191
|
-
c = this.fieldLengths[o],
|
|
1192
|
-
l = new t.Vector(),
|
|
1193
|
-
d = this.fieldTermFrequencies[o],
|
|
1194
|
-
f = Object.keys(d),
|
|
1195
|
-
p = f.length,
|
|
1196
|
-
v = this._fields[a].boost || 1,
|
|
1197
|
-
x = this._documents[o.docRef].boost || 1,
|
|
1198
|
-
w = 0;
|
|
1199
|
-
w < p;
|
|
1200
|
-
w++
|
|
1201
|
-
) {
|
|
1202
|
-
var m = f[w],
|
|
1203
|
-
g = d[m],
|
|
1204
|
-
T = this.invertedIndex[m]._index,
|
|
1205
|
-
L,
|
|
1206
|
-
C,
|
|
1207
|
-
O;
|
|
1208
|
-
i[m] === void 0
|
|
1209
|
-
? ((L = t.idf(this.invertedIndex[m], this.documentCount)),
|
|
1210
|
-
(i[m] = L))
|
|
1211
|
-
: (L = i[m]),
|
|
1212
|
-
(C =
|
|
1213
|
-
(L * ((this._k1 + 1) * g)) /
|
|
1214
|
-
(this._k1 *
|
|
1215
|
-
(1 - this._b + this._b * (c / this.averageFieldLength[a])) +
|
|
1216
|
-
g)),
|
|
1217
|
-
(C *= v),
|
|
1218
|
-
(C *= x),
|
|
1219
|
-
(O = Math.round(C * 1e3) / 1e3),
|
|
1220
|
-
l.insert(T, O);
|
|
1221
|
-
}
|
|
1222
|
-
e[o] = l;
|
|
1223
|
-
}
|
|
1224
|
-
this.fieldVectors = e;
|
|
1225
|
-
}),
|
|
1226
|
-
(t.Builder.prototype.createTokenSet = function () {
|
|
1227
|
-
this.tokenSet = t.TokenSet.fromArray(
|
|
1228
|
-
Object.keys(this.invertedIndex).sort(),
|
|
1229
|
-
);
|
|
1230
|
-
}),
|
|
1231
|
-
(t.Builder.prototype.build = function () {
|
|
1232
|
-
return (
|
|
1233
|
-
this.calculateAverageFieldLengths(),
|
|
1234
|
-
this.createFieldVectors(),
|
|
1235
|
-
this.createTokenSet(),
|
|
1236
|
-
new t.Index({
|
|
1237
|
-
invertedIndex: this.invertedIndex,
|
|
1238
|
-
fieldVectors: this.fieldVectors,
|
|
1239
|
-
tokenSet: this.tokenSet,
|
|
1240
|
-
fields: Object.keys(this._fields),
|
|
1241
|
-
pipeline: this.searchPipeline,
|
|
1242
|
-
})
|
|
1243
|
-
);
|
|
1244
|
-
}),
|
|
1245
|
-
(t.Builder.prototype.use = function (e) {
|
|
1246
|
-
var n = Array.prototype.slice.call(arguments, 1);
|
|
1247
|
-
n.unshift(this), e.apply(this, n);
|
|
1248
|
-
}),
|
|
1249
|
-
(t.MatchData = function (e, n, r) {
|
|
1250
|
-
for (
|
|
1251
|
-
var i = Object.create(null), s = Object.keys(r || {}), o = 0;
|
|
1252
|
-
o < s.length;
|
|
1253
|
-
o++
|
|
1254
|
-
) {
|
|
1255
|
-
var a = s[o];
|
|
1256
|
-
i[a] = r[a].slice();
|
|
1257
|
-
}
|
|
1258
|
-
(this.metadata = Object.create(null)),
|
|
1259
|
-
e !== void 0 &&
|
|
1260
|
-
((this.metadata[e] = Object.create(null)),
|
|
1261
|
-
(this.metadata[e][n] = i));
|
|
1262
|
-
}),
|
|
1263
|
-
(t.MatchData.prototype.combine = function (e) {
|
|
1264
|
-
for (var n = Object.keys(e.metadata), r = 0; r < n.length; r++) {
|
|
1265
|
-
var i = n[r],
|
|
1266
|
-
s = Object.keys(e.metadata[i]);
|
|
1267
|
-
this.metadata[i] == null &&
|
|
1268
|
-
(this.metadata[i] = Object.create(null));
|
|
1269
|
-
for (var o = 0; o < s.length; o++) {
|
|
1270
|
-
var a = s[o],
|
|
1271
|
-
c = Object.keys(e.metadata[i][a]);
|
|
1272
|
-
this.metadata[i][a] == null &&
|
|
1273
|
-
(this.metadata[i][a] = Object.create(null));
|
|
1274
|
-
for (var l = 0; l < c.length; l++) {
|
|
1275
|
-
var d = c[l];
|
|
1276
|
-
this.metadata[i][a][d] == null
|
|
1277
|
-
? (this.metadata[i][a][d] = e.metadata[i][a][d])
|
|
1278
|
-
: (this.metadata[i][a][d] = this.metadata[i][a][d].concat(
|
|
1279
|
-
e.metadata[i][a][d],
|
|
1280
|
-
));
|
|
1281
|
-
}
|
|
1282
|
-
}
|
|
1283
|
-
}
|
|
1284
|
-
}),
|
|
1285
|
-
(t.MatchData.prototype.add = function (e, n, r) {
|
|
1286
|
-
if (!(e in this.metadata)) {
|
|
1287
|
-
(this.metadata[e] = Object.create(null)), (this.metadata[e][n] = r);
|
|
1288
|
-
return;
|
|
1289
|
-
}
|
|
1290
|
-
if (!(n in this.metadata[e])) {
|
|
1291
|
-
this.metadata[e][n] = r;
|
|
1292
|
-
return;
|
|
1293
|
-
}
|
|
1294
|
-
for (var i = Object.keys(r), s = 0; s < i.length; s++) {
|
|
1295
|
-
var o = i[s];
|
|
1296
|
-
o in this.metadata[e][n]
|
|
1297
|
-
? (this.metadata[e][n][o] = this.metadata[e][n][o].concat(r[o]))
|
|
1298
|
-
: (this.metadata[e][n][o] = r[o]);
|
|
1299
|
-
}
|
|
1300
|
-
}),
|
|
1301
|
-
(t.Query = function (e) {
|
|
1302
|
-
(this.clauses = []), (this.allFields = e);
|
|
1303
|
-
}),
|
|
1304
|
-
(t.Query.wildcard = new String("*")),
|
|
1305
|
-
(t.Query.wildcard.NONE = 0),
|
|
1306
|
-
(t.Query.wildcard.LEADING = 1),
|
|
1307
|
-
(t.Query.wildcard.TRAILING = 2),
|
|
1308
|
-
(t.Query.presence = { OPTIONAL: 1, REQUIRED: 2, PROHIBITED: 3 }),
|
|
1309
|
-
(t.Query.prototype.clause = function (e) {
|
|
1310
|
-
return (
|
|
1311
|
-
"fields" in e || (e.fields = this.allFields),
|
|
1312
|
-
"boost" in e || (e.boost = 1),
|
|
1313
|
-
"usePipeline" in e || (e.usePipeline = !0),
|
|
1314
|
-
"wildcard" in e || (e.wildcard = t.Query.wildcard.NONE),
|
|
1315
|
-
e.wildcard & t.Query.wildcard.LEADING &&
|
|
1316
|
-
e.term.charAt(0) != t.Query.wildcard &&
|
|
1317
|
-
(e.term = "*" + e.term),
|
|
1318
|
-
e.wildcard & t.Query.wildcard.TRAILING &&
|
|
1319
|
-
e.term.slice(-1) != t.Query.wildcard &&
|
|
1320
|
-
(e.term = "" + e.term + "*"),
|
|
1321
|
-
"presence" in e || (e.presence = t.Query.presence.OPTIONAL),
|
|
1322
|
-
this.clauses.push(e),
|
|
1323
|
-
this
|
|
1324
|
-
);
|
|
1325
|
-
}),
|
|
1326
|
-
(t.Query.prototype.isNegated = function () {
|
|
1327
|
-
for (var e = 0; e < this.clauses.length; e++)
|
|
1328
|
-
if (this.clauses[e].presence != t.Query.presence.PROHIBITED)
|
|
1329
|
-
return !1;
|
|
1330
|
-
return !0;
|
|
1331
|
-
}),
|
|
1332
|
-
(t.Query.prototype.term = function (e, n) {
|
|
1333
|
-
if (Array.isArray(e))
|
|
1334
|
-
return (
|
|
1335
|
-
e.forEach(function (i) {
|
|
1336
|
-
this.term(i, t.utils.clone(n));
|
|
1337
|
-
}, this),
|
|
1338
|
-
this
|
|
1339
|
-
);
|
|
1340
|
-
var r = n || {};
|
|
1341
|
-
return (r.term = e.toString()), this.clause(r), this;
|
|
1342
|
-
}),
|
|
1343
|
-
(t.QueryParseError = function (e, n, r) {
|
|
1344
|
-
(this.name = "QueryParseError"),
|
|
1345
|
-
(this.message = e),
|
|
1346
|
-
(this.start = n),
|
|
1347
|
-
(this.end = r);
|
|
1348
|
-
}),
|
|
1349
|
-
(t.QueryParseError.prototype = new Error()),
|
|
1350
|
-
(t.QueryLexer = function (e) {
|
|
1351
|
-
(this.lexemes = []),
|
|
1352
|
-
(this.str = e),
|
|
1353
|
-
(this.length = e.length),
|
|
1354
|
-
(this.pos = 0),
|
|
1355
|
-
(this.start = 0),
|
|
1356
|
-
(this.escapeCharPositions = []);
|
|
1357
|
-
}),
|
|
1358
|
-
(t.QueryLexer.prototype.run = function () {
|
|
1359
|
-
for (var e = t.QueryLexer.lexText; e; ) e = e(this);
|
|
1360
|
-
}),
|
|
1361
|
-
(t.QueryLexer.prototype.sliceString = function () {
|
|
1362
|
-
for (
|
|
1363
|
-
var e = [], n = this.start, r = this.pos, i = 0;
|
|
1364
|
-
i < this.escapeCharPositions.length;
|
|
1365
|
-
i++
|
|
1366
|
-
)
|
|
1367
|
-
(r = this.escapeCharPositions[i]),
|
|
1368
|
-
e.push(this.str.slice(n, r)),
|
|
1369
|
-
(n = r + 1);
|
|
1370
|
-
return (
|
|
1371
|
-
e.push(this.str.slice(n, this.pos)),
|
|
1372
|
-
(this.escapeCharPositions.length = 0),
|
|
1373
|
-
e.join("")
|
|
1374
|
-
);
|
|
1375
|
-
}),
|
|
1376
|
-
(t.QueryLexer.prototype.emit = function (e) {
|
|
1377
|
-
this.lexemes.push({
|
|
1378
|
-
type: e,
|
|
1379
|
-
str: this.sliceString(),
|
|
1380
|
-
start: this.start,
|
|
1381
|
-
end: this.pos,
|
|
1382
|
-
}),
|
|
1383
|
-
(this.start = this.pos);
|
|
1384
|
-
}),
|
|
1385
|
-
(t.QueryLexer.prototype.escapeCharacter = function () {
|
|
1386
|
-
this.escapeCharPositions.push(this.pos - 1), (this.pos += 1);
|
|
1387
|
-
}),
|
|
1388
|
-
(t.QueryLexer.prototype.next = function () {
|
|
1389
|
-
if (this.pos >= this.length) return t.QueryLexer.EOS;
|
|
1390
|
-
var e = this.str.charAt(this.pos);
|
|
1391
|
-
return (this.pos += 1), e;
|
|
1392
|
-
}),
|
|
1393
|
-
(t.QueryLexer.prototype.width = function () {
|
|
1394
|
-
return this.pos - this.start;
|
|
1395
|
-
}),
|
|
1396
|
-
(t.QueryLexer.prototype.ignore = function () {
|
|
1397
|
-
this.start == this.pos && (this.pos += 1), (this.start = this.pos);
|
|
1398
|
-
}),
|
|
1399
|
-
(t.QueryLexer.prototype.backup = function () {
|
|
1400
|
-
this.pos -= 1;
|
|
1401
|
-
}),
|
|
1402
|
-
(t.QueryLexer.prototype.acceptDigitRun = function () {
|
|
1403
|
-
var e, n;
|
|
1404
|
-
do (e = this.next()), (n = e.charCodeAt(0));
|
|
1405
|
-
while (n > 47 && n < 58);
|
|
1406
|
-
e != t.QueryLexer.EOS && this.backup();
|
|
1407
|
-
}),
|
|
1408
|
-
(t.QueryLexer.prototype.more = function () {
|
|
1409
|
-
return this.pos < this.length;
|
|
1410
|
-
}),
|
|
1411
|
-
(t.QueryLexer.EOS = "EOS"),
|
|
1412
|
-
(t.QueryLexer.FIELD = "FIELD"),
|
|
1413
|
-
(t.QueryLexer.TERM = "TERM"),
|
|
1414
|
-
(t.QueryLexer.EDIT_DISTANCE = "EDIT_DISTANCE"),
|
|
1415
|
-
(t.QueryLexer.BOOST = "BOOST"),
|
|
1416
|
-
(t.QueryLexer.PRESENCE = "PRESENCE"),
|
|
1417
|
-
(t.QueryLexer.lexField = function (e) {
|
|
1418
|
-
return (
|
|
1419
|
-
e.backup(),
|
|
1420
|
-
e.emit(t.QueryLexer.FIELD),
|
|
1421
|
-
e.ignore(),
|
|
1422
|
-
t.QueryLexer.lexText
|
|
1423
|
-
);
|
|
1424
|
-
}),
|
|
1425
|
-
(t.QueryLexer.lexTerm = function (e) {
|
|
1426
|
-
if (
|
|
1427
|
-
(e.width() > 1 && (e.backup(), e.emit(t.QueryLexer.TERM)),
|
|
1428
|
-
e.ignore(),
|
|
1429
|
-
e.more())
|
|
1430
|
-
)
|
|
1431
|
-
return t.QueryLexer.lexText;
|
|
1432
|
-
}),
|
|
1433
|
-
(t.QueryLexer.lexEditDistance = function (e) {
|
|
1434
|
-
return (
|
|
1435
|
-
e.ignore(),
|
|
1436
|
-
e.acceptDigitRun(),
|
|
1437
|
-
e.emit(t.QueryLexer.EDIT_DISTANCE),
|
|
1438
|
-
t.QueryLexer.lexText
|
|
1439
|
-
);
|
|
1440
|
-
}),
|
|
1441
|
-
(t.QueryLexer.lexBoost = function (e) {
|
|
1442
|
-
return (
|
|
1443
|
-
e.ignore(),
|
|
1444
|
-
e.acceptDigitRun(),
|
|
1445
|
-
e.emit(t.QueryLexer.BOOST),
|
|
1446
|
-
t.QueryLexer.lexText
|
|
1447
|
-
);
|
|
1448
|
-
}),
|
|
1449
|
-
(t.QueryLexer.lexEOS = function (e) {
|
|
1450
|
-
e.width() > 0 && e.emit(t.QueryLexer.TERM);
|
|
1451
|
-
}),
|
|
1452
|
-
(t.QueryLexer.termSeparator = t.tokenizer.separator),
|
|
1453
|
-
(t.QueryLexer.lexText = function (e) {
|
|
1454
|
-
for (;;) {
|
|
1455
|
-
var n = e.next();
|
|
1456
|
-
if (n == t.QueryLexer.EOS) return t.QueryLexer.lexEOS;
|
|
1457
|
-
if (n.charCodeAt(0) == 92) {
|
|
1458
|
-
e.escapeCharacter();
|
|
1459
|
-
continue;
|
|
1460
|
-
}
|
|
1461
|
-
if (n == ":") return t.QueryLexer.lexField;
|
|
1462
|
-
if (n == "~")
|
|
1463
|
-
return (
|
|
1464
|
-
e.backup(),
|
|
1465
|
-
e.width() > 0 && e.emit(t.QueryLexer.TERM),
|
|
1466
|
-
t.QueryLexer.lexEditDistance
|
|
1467
|
-
);
|
|
1468
|
-
if (n == "^")
|
|
1469
|
-
return (
|
|
1470
|
-
e.backup(),
|
|
1471
|
-
e.width() > 0 && e.emit(t.QueryLexer.TERM),
|
|
1472
|
-
t.QueryLexer.lexBoost
|
|
1473
|
-
);
|
|
1474
|
-
if ((n == "+" && e.width() === 1) || (n == "-" && e.width() === 1))
|
|
1475
|
-
return e.emit(t.QueryLexer.PRESENCE), t.QueryLexer.lexText;
|
|
1476
|
-
if (n.match(t.QueryLexer.termSeparator))
|
|
1477
|
-
return t.QueryLexer.lexTerm;
|
|
1478
|
-
}
|
|
1479
|
-
}),
|
|
1480
|
-
(t.QueryParser = function (e, n) {
|
|
1481
|
-
(this.lexer = new t.QueryLexer(e)),
|
|
1482
|
-
(this.query = n),
|
|
1483
|
-
(this.currentClause = {}),
|
|
1484
|
-
(this.lexemeIdx = 0);
|
|
1485
|
-
}),
|
|
1486
|
-
(t.QueryParser.prototype.parse = function () {
|
|
1487
|
-
this.lexer.run(), (this.lexemes = this.lexer.lexemes);
|
|
1488
|
-
for (var e = t.QueryParser.parseClause; e; ) e = e(this);
|
|
1489
|
-
return this.query;
|
|
1490
|
-
}),
|
|
1491
|
-
(t.QueryParser.prototype.peekLexeme = function () {
|
|
1492
|
-
return this.lexemes[this.lexemeIdx];
|
|
1493
|
-
}),
|
|
1494
|
-
(t.QueryParser.prototype.consumeLexeme = function () {
|
|
1495
|
-
var e = this.peekLexeme();
|
|
1496
|
-
return (this.lexemeIdx += 1), e;
|
|
1497
|
-
}),
|
|
1498
|
-
(t.QueryParser.prototype.nextClause = function () {
|
|
1499
|
-
var e = this.currentClause;
|
|
1500
|
-
this.query.clause(e), (this.currentClause = {});
|
|
1501
|
-
}),
|
|
1502
|
-
(t.QueryParser.parseClause = function (e) {
|
|
1503
|
-
var n = e.peekLexeme();
|
|
1504
|
-
if (n != null)
|
|
1505
|
-
switch (n.type) {
|
|
1506
|
-
case t.QueryLexer.PRESENCE:
|
|
1507
|
-
return t.QueryParser.parsePresence;
|
|
1508
|
-
case t.QueryLexer.FIELD:
|
|
1509
|
-
return t.QueryParser.parseField;
|
|
1510
|
-
case t.QueryLexer.TERM:
|
|
1511
|
-
return t.QueryParser.parseTerm;
|
|
1512
|
-
default:
|
|
1513
|
-
var r = "expected either a field or a term, found " + n.type;
|
|
1514
|
-
throw (
|
|
1515
|
-
(n.str.length >= 1 && (r += " with value '" + n.str + "'"),
|
|
1516
|
-
new t.QueryParseError(r, n.start, n.end))
|
|
1517
|
-
);
|
|
1518
|
-
}
|
|
1519
|
-
}),
|
|
1520
|
-
(t.QueryParser.parsePresence = function (e) {
|
|
1521
|
-
var n = e.consumeLexeme();
|
|
1522
|
-
if (n != null) {
|
|
1523
|
-
switch (n.str) {
|
|
1524
|
-
case "-":
|
|
1525
|
-
e.currentClause.presence = t.Query.presence.PROHIBITED;
|
|
1526
|
-
break;
|
|
1527
|
-
case "+":
|
|
1528
|
-
e.currentClause.presence = t.Query.presence.REQUIRED;
|
|
1529
|
-
break;
|
|
1530
|
-
default:
|
|
1531
|
-
var r = "unrecognised presence operator'" + n.str + "'";
|
|
1532
|
-
throw new t.QueryParseError(r, n.start, n.end);
|
|
1533
|
-
}
|
|
1534
|
-
var i = e.peekLexeme();
|
|
1535
|
-
if (i == null) {
|
|
1536
|
-
var r = "expecting term or field, found nothing";
|
|
1537
|
-
throw new t.QueryParseError(r, n.start, n.end);
|
|
1538
|
-
}
|
|
1539
|
-
switch (i.type) {
|
|
1540
|
-
case t.QueryLexer.FIELD:
|
|
1541
|
-
return t.QueryParser.parseField;
|
|
1542
|
-
case t.QueryLexer.TERM:
|
|
1543
|
-
return t.QueryParser.parseTerm;
|
|
1544
|
-
default:
|
|
1545
|
-
var r = "expecting term or field, found '" + i.type + "'";
|
|
1546
|
-
throw new t.QueryParseError(r, i.start, i.end);
|
|
1547
|
-
}
|
|
1548
|
-
}
|
|
1549
|
-
}),
|
|
1550
|
-
(t.QueryParser.parseField = function (e) {
|
|
1551
|
-
var n = e.consumeLexeme();
|
|
1552
|
-
if (n != null) {
|
|
1553
|
-
if (e.query.allFields.indexOf(n.str) == -1) {
|
|
1554
|
-
var r = e.query.allFields
|
|
1555
|
-
.map(function (o) {
|
|
1556
|
-
return "'" + o + "'";
|
|
1557
|
-
})
|
|
1558
|
-
.join(", "),
|
|
1559
|
-
i = "unrecognised field '" + n.str + "', possible fields: " + r;
|
|
1560
|
-
throw new t.QueryParseError(i, n.start, n.end);
|
|
1561
|
-
}
|
|
1562
|
-
e.currentClause.fields = [n.str];
|
|
1563
|
-
var s = e.peekLexeme();
|
|
1564
|
-
if (s == null) {
|
|
1565
|
-
var i = "expecting term, found nothing";
|
|
1566
|
-
throw new t.QueryParseError(i, n.start, n.end);
|
|
1567
|
-
}
|
|
1568
|
-
switch (s.type) {
|
|
1569
|
-
case t.QueryLexer.TERM:
|
|
1570
|
-
return t.QueryParser.parseTerm;
|
|
1571
|
-
default:
|
|
1572
|
-
var i = "expecting term, found '" + s.type + "'";
|
|
1573
|
-
throw new t.QueryParseError(i, s.start, s.end);
|
|
1574
|
-
}
|
|
1575
|
-
}
|
|
1576
|
-
}),
|
|
1577
|
-
(t.QueryParser.parseTerm = function (e) {
|
|
1578
|
-
var n = e.consumeLexeme();
|
|
1579
|
-
if (n != null) {
|
|
1580
|
-
(e.currentClause.term = n.str.toLowerCase()),
|
|
1581
|
-
n.str.indexOf("*") != -1 && (e.currentClause.usePipeline = !1);
|
|
1582
|
-
var r = e.peekLexeme();
|
|
1583
|
-
if (r == null) {
|
|
1584
|
-
e.nextClause();
|
|
1585
|
-
return;
|
|
1586
|
-
}
|
|
1587
|
-
switch (r.type) {
|
|
1588
|
-
case t.QueryLexer.TERM:
|
|
1589
|
-
return e.nextClause(), t.QueryParser.parseTerm;
|
|
1590
|
-
case t.QueryLexer.FIELD:
|
|
1591
|
-
return e.nextClause(), t.QueryParser.parseField;
|
|
1592
|
-
case t.QueryLexer.EDIT_DISTANCE:
|
|
1593
|
-
return t.QueryParser.parseEditDistance;
|
|
1594
|
-
case t.QueryLexer.BOOST:
|
|
1595
|
-
return t.QueryParser.parseBoost;
|
|
1596
|
-
case t.QueryLexer.PRESENCE:
|
|
1597
|
-
return e.nextClause(), t.QueryParser.parsePresence;
|
|
1598
|
-
default:
|
|
1599
|
-
var i = "Unexpected lexeme type '" + r.type + "'";
|
|
1600
|
-
throw new t.QueryParseError(i, r.start, r.end);
|
|
1601
|
-
}
|
|
1602
|
-
}
|
|
1603
|
-
}),
|
|
1604
|
-
(t.QueryParser.parseEditDistance = function (e) {
|
|
1605
|
-
var n = e.consumeLexeme();
|
|
1606
|
-
if (n != null) {
|
|
1607
|
-
var r = parseInt(n.str, 10);
|
|
1608
|
-
if (isNaN(r)) {
|
|
1609
|
-
var i = "edit distance must be numeric";
|
|
1610
|
-
throw new t.QueryParseError(i, n.start, n.end);
|
|
1611
|
-
}
|
|
1612
|
-
e.currentClause.editDistance = r;
|
|
1613
|
-
var s = e.peekLexeme();
|
|
1614
|
-
if (s == null) {
|
|
1615
|
-
e.nextClause();
|
|
1616
|
-
return;
|
|
1617
|
-
}
|
|
1618
|
-
switch (s.type) {
|
|
1619
|
-
case t.QueryLexer.TERM:
|
|
1620
|
-
return e.nextClause(), t.QueryParser.parseTerm;
|
|
1621
|
-
case t.QueryLexer.FIELD:
|
|
1622
|
-
return e.nextClause(), t.QueryParser.parseField;
|
|
1623
|
-
case t.QueryLexer.EDIT_DISTANCE:
|
|
1624
|
-
return t.QueryParser.parseEditDistance;
|
|
1625
|
-
case t.QueryLexer.BOOST:
|
|
1626
|
-
return t.QueryParser.parseBoost;
|
|
1627
|
-
case t.QueryLexer.PRESENCE:
|
|
1628
|
-
return e.nextClause(), t.QueryParser.parsePresence;
|
|
1629
|
-
default:
|
|
1630
|
-
var i = "Unexpected lexeme type '" + s.type + "'";
|
|
1631
|
-
throw new t.QueryParseError(i, s.start, s.end);
|
|
1632
|
-
}
|
|
1633
|
-
}
|
|
1634
|
-
}),
|
|
1635
|
-
(t.QueryParser.parseBoost = function (e) {
|
|
1636
|
-
var n = e.consumeLexeme();
|
|
1637
|
-
if (n != null) {
|
|
1638
|
-
var r = parseInt(n.str, 10);
|
|
1639
|
-
if (isNaN(r)) {
|
|
1640
|
-
var i = "boost must be numeric";
|
|
1641
|
-
throw new t.QueryParseError(i, n.start, n.end);
|
|
1642
|
-
}
|
|
1643
|
-
e.currentClause.boost = r;
|
|
1644
|
-
var s = e.peekLexeme();
|
|
1645
|
-
if (s == null) {
|
|
1646
|
-
e.nextClause();
|
|
1647
|
-
return;
|
|
1648
|
-
}
|
|
1649
|
-
switch (s.type) {
|
|
1650
|
-
case t.QueryLexer.TERM:
|
|
1651
|
-
return e.nextClause(), t.QueryParser.parseTerm;
|
|
1652
|
-
case t.QueryLexer.FIELD:
|
|
1653
|
-
return e.nextClause(), t.QueryParser.parseField;
|
|
1654
|
-
case t.QueryLexer.EDIT_DISTANCE:
|
|
1655
|
-
return t.QueryParser.parseEditDistance;
|
|
1656
|
-
case t.QueryLexer.BOOST:
|
|
1657
|
-
return t.QueryParser.parseBoost;
|
|
1658
|
-
case t.QueryLexer.PRESENCE:
|
|
1659
|
-
return e.nextClause(), t.QueryParser.parsePresence;
|
|
1660
|
-
default:
|
|
1661
|
-
var i = "Unexpected lexeme type '" + s.type + "'";
|
|
1662
|
-
throw new t.QueryParseError(i, s.start, s.end);
|
|
1663
|
-
}
|
|
1664
|
-
}
|
|
1665
|
-
}),
|
|
1666
|
-
(function (e, n) {
|
|
1667
|
-
typeof define == "function" && define.amd
|
|
1668
|
-
? define(n)
|
|
1669
|
-
: typeof me == "object"
|
|
1670
|
-
? (ge.exports = n())
|
|
1671
|
-
: (e.lunr = n());
|
|
1672
|
-
})(this, function () {
|
|
1673
|
-
return t;
|
|
1674
|
-
});
|
|
1675
|
-
})();
|
|
1676
|
-
});
|
|
1677
|
-
var M,
|
|
1678
|
-
G = {
|
|
1679
|
-
getItem() {
|
|
1680
|
-
return null;
|
|
1681
|
-
},
|
|
1682
|
-
setItem() {},
|
|
1683
|
-
},
|
|
1684
|
-
K;
|
|
1685
|
-
try {
|
|
1686
|
-
(K = localStorage), (M = K);
|
|
1687
|
-
} catch {
|
|
1688
|
-
(K = G), (M = G);
|
|
1689
|
-
}
|
|
1690
|
-
var S = {
|
|
1691
|
-
getItem: (t) => M.getItem(t),
|
|
1692
|
-
setItem: (t, e) => M.setItem(t, e),
|
|
1693
|
-
disableWritingLocalStorage() {
|
|
1694
|
-
M = G;
|
|
1695
|
-
},
|
|
1696
|
-
disable() {
|
|
1697
|
-
localStorage.clear(), (M = G);
|
|
1698
|
-
},
|
|
1699
|
-
enable() {
|
|
1700
|
-
M = K;
|
|
1701
|
-
},
|
|
1702
|
-
};
|
|
1703
|
-
window.TypeDoc ||= {
|
|
1704
|
-
disableWritingLocalStorage() {
|
|
1705
|
-
S.disableWritingLocalStorage();
|
|
1706
|
-
},
|
|
1707
|
-
disableLocalStorage: () => {
|
|
1708
|
-
S.disable();
|
|
1709
|
-
},
|
|
1710
|
-
enableLocalStorage: () => {
|
|
1711
|
-
S.enable();
|
|
1712
|
-
},
|
|
1713
|
-
};
|
|
1714
|
-
window.translations ||= {
|
|
1715
|
-
copy: "Copy",
|
|
1716
|
-
copied: "Copied!",
|
|
1717
|
-
normally_hidden:
|
|
1718
|
-
"This member is normally hidden due to your filter settings.",
|
|
1719
|
-
hierarchy_expand: "Expand",
|
|
1720
|
-
hierarchy_collapse: "Collapse",
|
|
1721
|
-
search_index_not_available: "The search index is not available",
|
|
1722
|
-
search_no_results_found_for_0: "No results found for {0}",
|
|
1723
|
-
folder: "Folder",
|
|
1724
|
-
kind_1: "Project",
|
|
1725
|
-
kind_2: "Module",
|
|
1726
|
-
kind_4: "Namespace",
|
|
1727
|
-
kind_8: "Enumeration",
|
|
1728
|
-
kind_16: "Enumeration Member",
|
|
1729
|
-
kind_32: "Variable",
|
|
1730
|
-
kind_64: "Function",
|
|
1731
|
-
kind_128: "Class",
|
|
1732
|
-
kind_256: "Interface",
|
|
1733
|
-
kind_512: "Constructor",
|
|
1734
|
-
kind_1024: "Property",
|
|
1735
|
-
kind_2048: "Method",
|
|
1736
|
-
kind_4096: "Call Signature",
|
|
1737
|
-
kind_8192: "Index Signature",
|
|
1738
|
-
kind_16384: "Constructor Signature",
|
|
1739
|
-
kind_32768: "Parameter",
|
|
1740
|
-
kind_65536: "Type Literal",
|
|
1741
|
-
kind_131072: "Type Parameter",
|
|
1742
|
-
kind_262144: "Accessor",
|
|
1743
|
-
kind_524288: "Get Signature",
|
|
1744
|
-
kind_1048576: "Set Signature",
|
|
1745
|
-
kind_2097152: "Type Alias",
|
|
1746
|
-
kind_4194304: "Reference",
|
|
1747
|
-
kind_8388608: "Document",
|
|
1748
|
-
};
|
|
1749
|
-
var pe = [];
|
|
1750
|
-
function X(t, e) {
|
|
1751
|
-
pe.push({ selector: e, constructor: t });
|
|
1752
|
-
}
|
|
1753
|
-
var Z = class {
|
|
1754
|
-
alwaysVisibleMember = null;
|
|
1755
|
-
constructor() {
|
|
1756
|
-
this.createComponents(document.body),
|
|
1757
|
-
this.ensureFocusedElementVisible(),
|
|
1758
|
-
this.listenForCodeCopies(),
|
|
1759
|
-
window.addEventListener("hashchange", () =>
|
|
1760
|
-
this.ensureFocusedElementVisible(),
|
|
1761
|
-
),
|
|
1762
|
-
document.body.style.display ||
|
|
1763
|
-
(this.ensureFocusedElementVisible(),
|
|
1764
|
-
this.updateIndexVisibility(),
|
|
1765
|
-
this.scrollToHash());
|
|
1766
|
-
}
|
|
1767
|
-
createComponents(e) {
|
|
1768
|
-
pe.forEach((n) => {
|
|
1769
|
-
e.querySelectorAll(n.selector).forEach((r) => {
|
|
1770
|
-
r.dataset.hasInstance ||
|
|
1771
|
-
(new n.constructor({ el: r, app: this }),
|
|
1772
|
-
(r.dataset.hasInstance = String(!0)));
|
|
1773
|
-
});
|
|
1774
|
-
});
|
|
1775
|
-
}
|
|
1776
|
-
filterChanged() {
|
|
1777
|
-
this.ensureFocusedElementVisible();
|
|
1778
|
-
}
|
|
1779
|
-
showPage() {
|
|
1780
|
-
document.body.style.display &&
|
|
1781
|
-
(document.body.style.removeProperty("display"),
|
|
1782
|
-
this.ensureFocusedElementVisible(),
|
|
1783
|
-
this.updateIndexVisibility(),
|
|
1784
|
-
this.scrollToHash());
|
|
1785
|
-
}
|
|
1786
|
-
scrollToHash() {
|
|
1787
|
-
if (location.hash) {
|
|
1788
|
-
let e = document.getElementById(location.hash.substring(1));
|
|
1789
|
-
if (!e) return;
|
|
1790
|
-
e.scrollIntoView({ behavior: "instant", block: "start" });
|
|
1791
|
-
}
|
|
1792
|
-
}
|
|
1793
|
-
ensureActivePageVisible() {
|
|
1794
|
-
let e = document.querySelector(".tsd-navigation .current"),
|
|
1795
|
-
n = e?.parentElement;
|
|
1796
|
-
for (; n && !n.classList.contains(".tsd-navigation"); )
|
|
1797
|
-
n instanceof HTMLDetailsElement && (n.open = !0), (n = n.parentElement);
|
|
1798
|
-
if (e && !rt(e)) {
|
|
1799
|
-
let r =
|
|
1800
|
-
e.getBoundingClientRect().top -
|
|
1801
|
-
document.documentElement.clientHeight / 4;
|
|
1802
|
-
(document.querySelector(".site-menu").scrollTop = r),
|
|
1803
|
-
(document.querySelector(".col-sidebar").scrollTop = r);
|
|
1804
|
-
}
|
|
1805
|
-
}
|
|
1806
|
-
updateIndexVisibility() {
|
|
1807
|
-
let e = document.querySelector(".tsd-index-content"),
|
|
1808
|
-
n = e?.open;
|
|
1809
|
-
e && (e.open = !0),
|
|
1810
|
-
document.querySelectorAll(".tsd-index-section").forEach((r) => {
|
|
1811
|
-
r.style.display = "block";
|
|
1812
|
-
let i = Array.from(r.querySelectorAll(".tsd-index-link")).every(
|
|
1813
|
-
(s) => s.offsetParent == null,
|
|
1814
|
-
);
|
|
1815
|
-
r.style.display = i ? "none" : "block";
|
|
1816
|
-
}),
|
|
1817
|
-
e && (e.open = n);
|
|
1818
|
-
}
|
|
1819
|
-
ensureFocusedElementVisible() {
|
|
1820
|
-
if (
|
|
1821
|
-
(this.alwaysVisibleMember &&
|
|
1822
|
-
(this.alwaysVisibleMember.classList.remove("always-visible"),
|
|
1823
|
-
this.alwaysVisibleMember.firstElementChild.remove(),
|
|
1824
|
-
(this.alwaysVisibleMember = null)),
|
|
1825
|
-
!location.hash)
|
|
1826
|
-
)
|
|
1827
|
-
return;
|
|
1828
|
-
let e = document.getElementById(location.hash.substring(1));
|
|
1829
|
-
if (!e) return;
|
|
1830
|
-
let n = e.parentElement;
|
|
1831
|
-
for (; n && n.tagName !== "SECTION"; ) n = n.parentElement;
|
|
1832
|
-
if (!n) return;
|
|
1833
|
-
let r = n.offsetParent == null,
|
|
1834
|
-
i = n;
|
|
1835
|
-
for (; i !== document.body; )
|
|
1836
|
-
i instanceof HTMLDetailsElement && (i.open = !0), (i = i.parentElement);
|
|
1837
|
-
if (n.offsetParent == null) {
|
|
1838
|
-
(this.alwaysVisibleMember = n), n.classList.add("always-visible");
|
|
1839
|
-
let s = document.createElement("p");
|
|
1840
|
-
s.classList.add("warning"),
|
|
1841
|
-
(s.textContent = window.translations.normally_hidden),
|
|
1842
|
-
n.prepend(s);
|
|
1843
|
-
}
|
|
1844
|
-
r && e.scrollIntoView();
|
|
1845
|
-
}
|
|
1846
|
-
listenForCodeCopies() {
|
|
1847
|
-
document.querySelectorAll("pre > button").forEach((e) => {
|
|
1848
|
-
let n;
|
|
1849
|
-
e.addEventListener("click", () => {
|
|
1850
|
-
e.previousElementSibling instanceof HTMLElement &&
|
|
1851
|
-
navigator.clipboard.writeText(
|
|
1852
|
-
e.previousElementSibling.innerText.trim(),
|
|
1853
|
-
),
|
|
1854
|
-
(e.textContent = window.translations.copied),
|
|
1855
|
-
e.classList.add("visible"),
|
|
1856
|
-
clearTimeout(n),
|
|
1857
|
-
(n = setTimeout(() => {
|
|
1858
|
-
e.classList.remove("visible"),
|
|
1859
|
-
(n = setTimeout(() => {
|
|
1860
|
-
e.textContent = window.translations.copy;
|
|
1861
|
-
}, 100));
|
|
1862
|
-
}, 1e3));
|
|
1863
|
-
});
|
|
1864
|
-
});
|
|
1865
|
-
}
|
|
1866
|
-
};
|
|
1867
|
-
function rt(t) {
|
|
1868
|
-
let e = t.getBoundingClientRect(),
|
|
1869
|
-
n = Math.max(document.documentElement.clientHeight, window.innerHeight);
|
|
1870
|
-
return !(e.bottom < 0 || e.top - n >= 0);
|
|
1871
|
-
}
|
|
1872
|
-
var fe = (t, e = 100) => {
|
|
1873
|
-
let n;
|
|
1874
|
-
return () => {
|
|
1875
|
-
clearTimeout(n), (n = setTimeout(() => t(), e));
|
|
1876
|
-
};
|
|
1877
|
-
};
|
|
1878
|
-
var Ie = nt(ye(), 1);
|
|
1879
|
-
async function R(t) {
|
|
1880
|
-
let e = Uint8Array.from(atob(t), (s) => s.charCodeAt(0)),
|
|
1881
|
-
r = new Blob([e])
|
|
1882
|
-
.stream()
|
|
1883
|
-
.pipeThrough(new DecompressionStream("deflate")),
|
|
1884
|
-
i = await new Response(r).text();
|
|
1885
|
-
return JSON.parse(i);
|
|
1886
|
-
}
|
|
1887
|
-
var Y = "closing",
|
|
1888
|
-
ae = "tsd-overlay";
|
|
1889
|
-
function it() {
|
|
1890
|
-
let t = Math.abs(window.innerWidth - document.documentElement.clientWidth);
|
|
1891
|
-
(document.body.style.overflow = "hidden"),
|
|
1892
|
-
(document.body.style.paddingRight = `${t}px`);
|
|
1893
|
-
}
|
|
1894
|
-
function st() {
|
|
1895
|
-
document.body.style.removeProperty("overflow"),
|
|
1896
|
-
document.body.style.removeProperty("padding-right");
|
|
1897
|
-
}
|
|
1898
|
-
function xe(t, e) {
|
|
1899
|
-
t.addEventListener("animationend", () => {
|
|
1900
|
-
t.classList.contains(Y) &&
|
|
1901
|
-
(t.classList.remove(Y),
|
|
1902
|
-
document.getElementById(ae)?.remove(),
|
|
1903
|
-
t.close(),
|
|
1904
|
-
st());
|
|
1905
|
-
}),
|
|
1906
|
-
t.addEventListener("cancel", (n) => {
|
|
1907
|
-
n.preventDefault(), ve(t);
|
|
1908
|
-
}),
|
|
1909
|
-
e?.closeOnClick &&
|
|
1910
|
-
document.addEventListener(
|
|
1911
|
-
"click",
|
|
1912
|
-
(n) => {
|
|
1913
|
-
t.open && !t.contains(n.target) && ve(t);
|
|
1914
|
-
},
|
|
1915
|
-
!0,
|
|
1916
|
-
);
|
|
1917
|
-
}
|
|
1918
|
-
function Ee(t) {
|
|
1919
|
-
if (t.open) return;
|
|
1920
|
-
let e = document.createElement("div");
|
|
1921
|
-
(e.id = ae), document.body.appendChild(e), t.showModal(), it();
|
|
1922
|
-
}
|
|
1923
|
-
function ve(t) {
|
|
1924
|
-
if (!t.open) return;
|
|
1925
|
-
document.getElementById(ae)?.classList.add(Y), t.classList.add(Y);
|
|
1926
|
-
}
|
|
1927
|
-
var I = class {
|
|
1928
|
-
el;
|
|
1929
|
-
app;
|
|
1930
|
-
constructor(e) {
|
|
1931
|
-
(this.el = e.el), (this.app = e.app);
|
|
1932
|
-
}
|
|
1933
|
-
};
|
|
1934
|
-
var be = document.head.appendChild(document.createElement("style"));
|
|
1935
|
-
be.dataset.for = "filters";
|
|
1936
|
-
var le = {};
|
|
1937
|
-
function we(t) {
|
|
1938
|
-
for (let e of t.split(/\s+/)) if (le.hasOwnProperty(e) && !le[e]) return !0;
|
|
1939
|
-
return !1;
|
|
1940
|
-
}
|
|
1941
|
-
var ee = class extends I {
|
|
1942
|
-
key;
|
|
1943
|
-
value;
|
|
1944
|
-
constructor(e) {
|
|
1945
|
-
super(e),
|
|
1946
|
-
(this.key = `filter-${this.el.name}`),
|
|
1947
|
-
(this.value = this.el.checked),
|
|
1948
|
-
this.el.addEventListener("change", () => {
|
|
1949
|
-
this.setLocalStorage(this.el.checked);
|
|
1950
|
-
}),
|
|
1951
|
-
this.setLocalStorage(this.fromLocalStorage()),
|
|
1952
|
-
(be.innerHTML += `html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; }
|
|
1953
|
-
`),
|
|
1954
|
-
this.app.updateIndexVisibility();
|
|
1955
|
-
}
|
|
1956
|
-
fromLocalStorage() {
|
|
1957
|
-
let e = S.getItem(this.key);
|
|
1958
|
-
return e ? e === "true" : this.el.checked;
|
|
1959
|
-
}
|
|
1960
|
-
setLocalStorage(e) {
|
|
1961
|
-
S.setItem(this.key, e.toString()),
|
|
1962
|
-
(this.value = e),
|
|
1963
|
-
this.handleValueChange();
|
|
1964
|
-
}
|
|
1965
|
-
handleValueChange() {
|
|
1966
|
-
(this.el.checked = this.value),
|
|
1967
|
-
document.documentElement.classList.toggle(this.key, this.value),
|
|
1968
|
-
(le[`tsd-is-${this.el.name}`] = this.value),
|
|
1969
|
-
this.app.filterChanged(),
|
|
1970
|
-
this.app.updateIndexVisibility();
|
|
1971
|
-
}
|
|
1972
|
-
};
|
|
1973
|
-
var Le = 0;
|
|
1974
|
-
async function Se(t, e) {
|
|
1975
|
-
if (!window.searchData) return;
|
|
1976
|
-
let n = await R(window.searchData);
|
|
1977
|
-
(t.data = n), (t.index = Ie.Index.load(n.index)), (e.innerHTML = "");
|
|
1978
|
-
}
|
|
1979
|
-
function _e() {
|
|
1980
|
-
let t = document.getElementById("tsd-search-trigger"),
|
|
1981
|
-
e = document.getElementById("tsd-search"),
|
|
1982
|
-
n = document.getElementById("tsd-search-input"),
|
|
1983
|
-
r = document.getElementById("tsd-search-results"),
|
|
1984
|
-
i = document.getElementById("tsd-search-script"),
|
|
1985
|
-
s = document.getElementById("tsd-search-status");
|
|
1986
|
-
if (!(t && e && n && r && i && s))
|
|
1987
|
-
throw new Error("Search controls missing");
|
|
1988
|
-
let o = { base: document.documentElement.dataset.base };
|
|
1989
|
-
o.base.endsWith("/") || (o.base += "/"),
|
|
1990
|
-
i.addEventListener("error", () => {
|
|
1991
|
-
let a = window.translations.search_index_not_available;
|
|
1992
|
-
Pe(s, a);
|
|
1993
|
-
}),
|
|
1994
|
-
i.addEventListener("load", () => {
|
|
1995
|
-
Se(o, s);
|
|
1996
|
-
}),
|
|
1997
|
-
Se(o, s),
|
|
1998
|
-
ot({ trigger: t, searchEl: e, results: r, field: n, status: s }, o);
|
|
1999
|
-
}
|
|
2000
|
-
function ot(t, e) {
|
|
2001
|
-
let { field: n, results: r, searchEl: i, status: s, trigger: o } = t;
|
|
2002
|
-
xe(i, { closeOnClick: !0 });
|
|
2003
|
-
function a() {
|
|
2004
|
-
Ee(i), n.setSelectionRange(0, n.value.length);
|
|
2005
|
-
}
|
|
2006
|
-
o.addEventListener("click", a),
|
|
2007
|
-
n.addEventListener(
|
|
2008
|
-
"input",
|
|
2009
|
-
fe(() => {
|
|
2010
|
-
at(r, n, s, e);
|
|
2011
|
-
}, 200),
|
|
2012
|
-
),
|
|
2013
|
-
n.addEventListener("keydown", (l) => {
|
|
2014
|
-
if (r.childElementCount === 0 || l.ctrlKey || l.metaKey || l.altKey)
|
|
2015
|
-
return;
|
|
2016
|
-
let d = n.getAttribute("aria-activedescendant"),
|
|
2017
|
-
f = d ? document.getElementById(d) : null;
|
|
2018
|
-
if (f) {
|
|
2019
|
-
let p = !1,
|
|
2020
|
-
v = !1;
|
|
2021
|
-
switch (l.key) {
|
|
2022
|
-
case "Home":
|
|
2023
|
-
case "End":
|
|
2024
|
-
case "ArrowLeft":
|
|
2025
|
-
case "ArrowRight":
|
|
2026
|
-
v = !0;
|
|
2027
|
-
break;
|
|
2028
|
-
case "ArrowDown":
|
|
2029
|
-
case "ArrowUp":
|
|
2030
|
-
p = l.shiftKey;
|
|
2031
|
-
break;
|
|
2032
|
-
}
|
|
2033
|
-
(p || v) && ke(n);
|
|
2034
|
-
}
|
|
2035
|
-
if (!l.shiftKey)
|
|
2036
|
-
switch (l.key) {
|
|
2037
|
-
case "Enter":
|
|
2038
|
-
f?.querySelector("a")?.click();
|
|
2039
|
-
break;
|
|
2040
|
-
case "ArrowUp":
|
|
2041
|
-
Te(r, n, f, -1), l.preventDefault();
|
|
2042
|
-
break;
|
|
2043
|
-
case "ArrowDown":
|
|
2044
|
-
Te(r, n, f, 1), l.preventDefault();
|
|
2045
|
-
break;
|
|
2046
|
-
}
|
|
2047
|
-
});
|
|
2048
|
-
function c() {
|
|
2049
|
-
ke(n);
|
|
2050
|
-
}
|
|
2051
|
-
n.addEventListener("change", c),
|
|
2052
|
-
n.addEventListener("blur", c),
|
|
2053
|
-
n.addEventListener("click", c),
|
|
2054
|
-
document.body.addEventListener("keydown", (l) => {
|
|
2055
|
-
if (l.altKey || l.metaKey || l.shiftKey) return;
|
|
2056
|
-
let d = l.ctrlKey && l.key === "k",
|
|
2057
|
-
f = !l.ctrlKey && !ut() && l.key === "/";
|
|
2058
|
-
(d || f) && (l.preventDefault(), a());
|
|
2059
|
-
});
|
|
2060
|
-
}
|
|
2061
|
-
function at(t, e, n, r) {
|
|
2062
|
-
if (!r.index || !r.data) return;
|
|
2063
|
-
(t.innerHTML = ""), (n.innerHTML = ""), (Le += 1);
|
|
2064
|
-
let i = e.value.trim(),
|
|
2065
|
-
s;
|
|
2066
|
-
if (i) {
|
|
2067
|
-
let a = i
|
|
2068
|
-
.split(" ")
|
|
2069
|
-
.map((c) => (c.length ? `*${c}*` : ""))
|
|
2070
|
-
.join(" ");
|
|
2071
|
-
s = r.index.search(a).filter(({ ref: c }) => {
|
|
2072
|
-
let l = r.data.rows[Number(c)].classes;
|
|
2073
|
-
return !l || !we(l);
|
|
2074
|
-
});
|
|
2075
|
-
} else s = [];
|
|
2076
|
-
if (s.length === 0 && i) {
|
|
2077
|
-
let a = window.translations.search_no_results_found_for_0.replace(
|
|
2078
|
-
"{0}",
|
|
2079
|
-
` "<strong>${te(i)}</strong>" `,
|
|
2080
|
-
);
|
|
2081
|
-
Pe(n, a);
|
|
2082
|
-
return;
|
|
2083
|
-
}
|
|
2084
|
-
for (let a = 0; a < s.length; a++) {
|
|
2085
|
-
let c = s[a],
|
|
2086
|
-
l = r.data.rows[Number(c.ref)],
|
|
2087
|
-
d = 1;
|
|
2088
|
-
l.name.toLowerCase().startsWith(i.toLowerCase()) &&
|
|
2089
|
-
(d *= 10 / (1 + Math.abs(l.name.length - i.length))),
|
|
2090
|
-
(c.score *= d);
|
|
2091
|
-
}
|
|
2092
|
-
s.sort((a, c) => c.score - a.score);
|
|
2093
|
-
let o = Math.min(10, s.length);
|
|
2094
|
-
for (let a = 0; a < o; a++) {
|
|
2095
|
-
let c = r.data.rows[Number(s[a].ref)],
|
|
2096
|
-
d = `<svg width="20" height="20" viewBox="0 0 24 24" fill="none" class="tsd-kind-icon" aria-label="${window.translations[`kind_${c.kind}`].replaceAll('"', """)}"><use href="#icon-${c.icon || c.kind}"></use></svg>`,
|
|
2097
|
-
f = Ce(c.name, i);
|
|
2098
|
-
globalThis.DEBUG_SEARCH_WEIGHTS &&
|
|
2099
|
-
(f += ` (score: ${s[a].score.toFixed(2)})`),
|
|
2100
|
-
c.parent &&
|
|
2101
|
-
(f = `<span class="parent">
|
|
2102
|
-
${Ce(c.parent, i)}.</span>${f}`);
|
|
2103
|
-
let p = document.createElement("li");
|
|
2104
|
-
(p.id = `tsd-search:${Le}-${a}`),
|
|
2105
|
-
(p.role = "option"),
|
|
2106
|
-
(p.ariaSelected = "false"),
|
|
2107
|
-
(p.classList.value = c.classes ?? "");
|
|
2108
|
-
let v = document.createElement("a");
|
|
2109
|
-
(v.tabIndex = -1),
|
|
2110
|
-
(v.href = r.base + c.url),
|
|
2111
|
-
(v.innerHTML = d + `<span class="text">${f}</span>`),
|
|
2112
|
-
p.append(v),
|
|
2113
|
-
t.appendChild(p);
|
|
2114
|
-
}
|
|
2115
|
-
}
|
|
2116
|
-
function Te(t, e, n, r) {
|
|
2117
|
-
let i;
|
|
2118
|
-
if (
|
|
2119
|
-
(r === 1
|
|
2120
|
-
? (i = n?.nextElementSibling || t.firstElementChild)
|
|
2121
|
-
: (i = n?.previousElementSibling || t.lastElementChild),
|
|
2122
|
-
i !== n)
|
|
2123
|
-
) {
|
|
2124
|
-
if (!i || i.role !== "option") {
|
|
2125
|
-
console.error("Option missing");
|
|
2126
|
-
return;
|
|
2127
|
-
}
|
|
2128
|
-
(i.ariaSelected = "true"),
|
|
2129
|
-
i.scrollIntoView({ behavior: "smooth", block: "nearest" }),
|
|
2130
|
-
e.setAttribute("aria-activedescendant", i.id),
|
|
2131
|
-
n?.setAttribute("aria-selected", "false");
|
|
2132
|
-
}
|
|
2133
|
-
}
|
|
2134
|
-
function ke(t) {
|
|
2135
|
-
let e = t.getAttribute("aria-activedescendant");
|
|
2136
|
-
(e ? document.getElementById(e) : null)?.setAttribute(
|
|
2137
|
-
"aria-selected",
|
|
2138
|
-
"false",
|
|
2139
|
-
),
|
|
2140
|
-
t.setAttribute("aria-activedescendant", "");
|
|
2141
|
-
}
|
|
2142
|
-
function Ce(t, e) {
|
|
2143
|
-
if (e === "") return t;
|
|
2144
|
-
let n = t.toLocaleLowerCase(),
|
|
2145
|
-
r = e.toLocaleLowerCase(),
|
|
2146
|
-
i = [],
|
|
2147
|
-
s = 0,
|
|
2148
|
-
o = n.indexOf(r);
|
|
2149
|
-
for (; o != -1; )
|
|
2150
|
-
i.push(
|
|
2151
|
-
te(t.substring(s, o)),
|
|
2152
|
-
`<mark>${te(t.substring(o, o + r.length))}</mark>`,
|
|
2153
|
-
),
|
|
2154
|
-
(s = o + r.length),
|
|
2155
|
-
(o = n.indexOf(r, s));
|
|
2156
|
-
return i.push(te(t.substring(s))), i.join("");
|
|
2157
|
-
}
|
|
2158
|
-
var lt = {
|
|
2159
|
-
"&": "&",
|
|
2160
|
-
"<": "<",
|
|
2161
|
-
">": ">",
|
|
2162
|
-
"'": "'",
|
|
2163
|
-
'"': """,
|
|
2164
|
-
};
|
|
2165
|
-
function te(t) {
|
|
2166
|
-
return t.replace(/[&<>"'"]/g, (e) => lt[e]);
|
|
2167
|
-
}
|
|
2168
|
-
function Pe(t, e) {
|
|
2169
|
-
t.innerHTML = e ? `<div>${e}</div>` : "";
|
|
2170
|
-
}
|
|
2171
|
-
var ct = [
|
|
2172
|
-
"button",
|
|
2173
|
-
"checkbox",
|
|
2174
|
-
"file",
|
|
2175
|
-
"hidden",
|
|
2176
|
-
"image",
|
|
2177
|
-
"radio",
|
|
2178
|
-
"range",
|
|
2179
|
-
"reset",
|
|
2180
|
-
"submit",
|
|
2181
|
-
];
|
|
2182
|
-
function ut() {
|
|
2183
|
-
let t = document.activeElement;
|
|
2184
|
-
return t
|
|
2185
|
-
? t.isContentEditable ||
|
|
2186
|
-
t.tagName === "TEXTAREA" ||
|
|
2187
|
-
t.tagName === "SEARCH"
|
|
2188
|
-
? !0
|
|
2189
|
-
: t.tagName === "INPUT" && !ct.includes(t.type)
|
|
2190
|
-
: !1;
|
|
2191
|
-
}
|
|
2192
|
-
var D = "mousedown",
|
|
2193
|
-
Me = "mousemove",
|
|
2194
|
-
$ = "mouseup",
|
|
2195
|
-
ne = { x: 0, y: 0 },
|
|
2196
|
-
Qe = !1,
|
|
2197
|
-
ce = !1,
|
|
2198
|
-
dt = !1,
|
|
2199
|
-
F = !1,
|
|
2200
|
-
Oe = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
|
|
2201
|
-
navigator.userAgent,
|
|
2202
|
-
);
|
|
2203
|
-
document.documentElement.classList.add(Oe ? "is-mobile" : "not-mobile");
|
|
2204
|
-
Oe &&
|
|
2205
|
-
"ontouchstart" in document.documentElement &&
|
|
2206
|
-
((dt = !0), (D = "touchstart"), (Me = "touchmove"), ($ = "touchend"));
|
|
2207
|
-
document.addEventListener(D, (t) => {
|
|
2208
|
-
(ce = !0), (F = !1);
|
|
2209
|
-
let e = D == "touchstart" ? t.targetTouches[0] : t;
|
|
2210
|
-
(ne.y = e.pageY || 0), (ne.x = e.pageX || 0);
|
|
2211
|
-
});
|
|
2212
|
-
document.addEventListener(Me, (t) => {
|
|
2213
|
-
if (ce && !F) {
|
|
2214
|
-
let e = D == "touchstart" ? t.targetTouches[0] : t,
|
|
2215
|
-
n = ne.x - (e.pageX || 0),
|
|
2216
|
-
r = ne.y - (e.pageY || 0);
|
|
2217
|
-
F = Math.sqrt(n * n + r * r) > 10;
|
|
2218
|
-
}
|
|
2219
|
-
});
|
|
2220
|
-
document.addEventListener($, () => {
|
|
2221
|
-
ce = !1;
|
|
2222
|
-
});
|
|
2223
|
-
document.addEventListener("click", (t) => {
|
|
2224
|
-
Qe && (t.preventDefault(), t.stopImmediatePropagation(), (Qe = !1));
|
|
2225
|
-
});
|
|
2226
|
-
var re = class extends I {
|
|
2227
|
-
active;
|
|
2228
|
-
className;
|
|
2229
|
-
constructor(e) {
|
|
2230
|
-
super(e),
|
|
2231
|
-
(this.className = this.el.dataset.toggle || ""),
|
|
2232
|
-
this.el.addEventListener($, (n) => this.onPointerUp(n)),
|
|
2233
|
-
this.el.addEventListener("click", (n) => n.preventDefault()),
|
|
2234
|
-
document.addEventListener(D, (n) => this.onDocumentPointerDown(n)),
|
|
2235
|
-
document.addEventListener($, (n) => this.onDocumentPointerUp(n));
|
|
2236
|
-
}
|
|
2237
|
-
setActive(e) {
|
|
2238
|
-
if (this.active == e) return;
|
|
2239
|
-
(this.active = e),
|
|
2240
|
-
document.documentElement.classList.toggle("has-" + this.className, e),
|
|
2241
|
-
this.el.classList.toggle("active", e);
|
|
2242
|
-
let n = (this.active ? "to-has-" : "from-has-") + this.className;
|
|
2243
|
-
document.documentElement.classList.add(n),
|
|
2244
|
-
setTimeout(() => document.documentElement.classList.remove(n), 500);
|
|
2245
|
-
}
|
|
2246
|
-
onPointerUp(e) {
|
|
2247
|
-
F || (this.setActive(!0), e.preventDefault());
|
|
2248
|
-
}
|
|
2249
|
-
onDocumentPointerDown(e) {
|
|
2250
|
-
if (this.active) {
|
|
2251
|
-
if (e.target.closest(".col-sidebar, .tsd-filter-group")) return;
|
|
2252
|
-
this.setActive(!1);
|
|
2253
|
-
}
|
|
2254
|
-
}
|
|
2255
|
-
onDocumentPointerUp(e) {
|
|
2256
|
-
if (!F && this.active && e.target.closest(".col-sidebar")) {
|
|
2257
|
-
let n = e.target.closest("a");
|
|
2258
|
-
if (n) {
|
|
2259
|
-
let r = window.location.href;
|
|
2260
|
-
r.indexOf("#") != -1 && (r = r.substring(0, r.indexOf("#"))),
|
|
2261
|
-
n.href.substring(0, r.length) == r &&
|
|
2262
|
-
setTimeout(() => this.setActive(!1), 250);
|
|
2263
|
-
}
|
|
2264
|
-
}
|
|
2265
|
-
}
|
|
2266
|
-
};
|
|
2267
|
-
var ue = new Map(),
|
|
2268
|
-
de = class {
|
|
2269
|
-
open;
|
|
2270
|
-
accordions = [];
|
|
2271
|
-
key;
|
|
2272
|
-
constructor(e, n) {
|
|
2273
|
-
(this.key = e), (this.open = n);
|
|
2274
|
-
}
|
|
2275
|
-
add(e) {
|
|
2276
|
-
this.accordions.push(e),
|
|
2277
|
-
(e.open = this.open),
|
|
2278
|
-
e.addEventListener("toggle", () => {
|
|
2279
|
-
this.toggle(e.open);
|
|
2280
|
-
});
|
|
2281
|
-
}
|
|
2282
|
-
toggle(e) {
|
|
2283
|
-
for (let n of this.accordions) n.open = e;
|
|
2284
|
-
S.setItem(this.key, e.toString());
|
|
2285
|
-
}
|
|
2286
|
-
},
|
|
2287
|
-
ie = class extends I {
|
|
2288
|
-
constructor(e) {
|
|
2289
|
-
super(e);
|
|
2290
|
-
let n = this.el.querySelector("summary"),
|
|
2291
|
-
r = n.querySelector("a");
|
|
2292
|
-
r &&
|
|
2293
|
-
r.addEventListener("click", () => {
|
|
2294
|
-
location.assign(r.href);
|
|
2295
|
-
});
|
|
2296
|
-
let i = `tsd-accordion-${n.dataset.key ?? n.textContent.trim().replace(/\s+/g, "-").toLowerCase()}`,
|
|
2297
|
-
s;
|
|
2298
|
-
if (ue.has(i)) s = ue.get(i);
|
|
2299
|
-
else {
|
|
2300
|
-
let o = S.getItem(i),
|
|
2301
|
-
a = o ? o === "true" : this.el.open;
|
|
2302
|
-
(s = new de(i, a)), ue.set(i, s);
|
|
2303
|
-
}
|
|
2304
|
-
s.add(this.el);
|
|
2305
|
-
}
|
|
2306
|
-
};
|
|
2307
|
-
function He(t) {
|
|
2308
|
-
let e = S.getItem("tsd-theme") || "os";
|
|
2309
|
-
(t.value = e),
|
|
2310
|
-
Ae(e),
|
|
2311
|
-
t.addEventListener("change", () => {
|
|
2312
|
-
S.setItem("tsd-theme", t.value), Ae(t.value);
|
|
2313
|
-
});
|
|
2314
|
-
}
|
|
2315
|
-
function Ae(t) {
|
|
2316
|
-
document.documentElement.dataset.theme = t;
|
|
2317
|
-
}
|
|
2318
|
-
var se;
|
|
2319
|
-
function Ne() {
|
|
2320
|
-
let t = document.getElementById("tsd-nav-script");
|
|
2321
|
-
t && (t.addEventListener("load", Re), Re());
|
|
2322
|
-
}
|
|
2323
|
-
async function Re() {
|
|
2324
|
-
let t = document.getElementById("tsd-nav-container");
|
|
2325
|
-
if (!t || !window.navigationData) return;
|
|
2326
|
-
let e = await R(window.navigationData);
|
|
2327
|
-
(se = document.documentElement.dataset.base),
|
|
2328
|
-
se.endsWith("/") || (se += "/"),
|
|
2329
|
-
(t.innerHTML = "");
|
|
2330
|
-
for (let n of e) Be(n, t, []);
|
|
2331
|
-
window.app.createComponents(t),
|
|
2332
|
-
window.app.showPage(),
|
|
2333
|
-
window.app.ensureActivePageVisible();
|
|
2334
|
-
}
|
|
2335
|
-
function Be(t, e, n) {
|
|
2336
|
-
let r = e.appendChild(document.createElement("li"));
|
|
2337
|
-
if (t.children) {
|
|
2338
|
-
let i = [...n, t.text],
|
|
2339
|
-
s = r.appendChild(document.createElement("details"));
|
|
2340
|
-
s.className = t.class ? `${t.class} tsd-accordion` : "tsd-accordion";
|
|
2341
|
-
let o = s.appendChild(document.createElement("summary"));
|
|
2342
|
-
(o.className = "tsd-accordion-summary"),
|
|
2343
|
-
(o.dataset.key = i.join("$")),
|
|
2344
|
-
(o.innerHTML =
|
|
2345
|
-
'<svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>'),
|
|
2346
|
-
De(t, o);
|
|
2347
|
-
let a = s.appendChild(document.createElement("div"));
|
|
2348
|
-
a.className = "tsd-accordion-details";
|
|
2349
|
-
let c = a.appendChild(document.createElement("ul"));
|
|
2350
|
-
c.className = "tsd-nested-navigation";
|
|
2351
|
-
for (let l of t.children) Be(l, c, i);
|
|
2352
|
-
} else De(t, r, t.class);
|
|
2353
|
-
}
|
|
2354
|
-
function De(t, e, n) {
|
|
2355
|
-
if (t.path) {
|
|
2356
|
-
let r = e.appendChild(document.createElement("a"));
|
|
2357
|
-
if (
|
|
2358
|
-
((r.href = se + t.path),
|
|
2359
|
-
n && (r.className = n),
|
|
2360
|
-
location.pathname === r.pathname &&
|
|
2361
|
-
!r.href.includes("#") &&
|
|
2362
|
-
(r.classList.add("current"), (r.ariaCurrent = "page")),
|
|
2363
|
-
t.kind)
|
|
2364
|
-
) {
|
|
2365
|
-
let i = window.translations[`kind_${t.kind}`].replaceAll('"', """);
|
|
2366
|
-
r.innerHTML = `<svg width="20" height="20" viewBox="0 0 24 24" fill="none" class="tsd-kind-icon" aria-label="${i}"><use href="#icon-${t.icon || t.kind}"></use></svg>`;
|
|
2367
|
-
}
|
|
2368
|
-
r.appendChild(Fe(t.text, document.createElement("span")));
|
|
2369
|
-
} else {
|
|
2370
|
-
let r = e.appendChild(document.createElement("span")),
|
|
2371
|
-
i = window.translations.folder.replaceAll('"', """);
|
|
2372
|
-
(r.innerHTML = `<svg width="20" height="20" viewBox="0 0 24 24" fill="none" class="tsd-kind-icon" aria-label="${i}"><use href="#icon-folder"></use></svg>`),
|
|
2373
|
-
r.appendChild(Fe(t.text, document.createElement("span")));
|
|
2374
|
-
}
|
|
2375
|
-
}
|
|
2376
|
-
function Fe(t, e) {
|
|
2377
|
-
let n = t.split(
|
|
2378
|
-
/(?<=[^A-Z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])|(?<=[_-])(?=[^_-])/,
|
|
2379
|
-
);
|
|
2380
|
-
for (let r = 0; r < n.length; ++r)
|
|
2381
|
-
r !== 0 && e.appendChild(document.createElement("wbr")),
|
|
2382
|
-
e.appendChild(document.createTextNode(n[r]));
|
|
2383
|
-
return e;
|
|
2384
|
-
}
|
|
2385
|
-
var oe = document.documentElement.dataset.base;
|
|
2386
|
-
oe.endsWith("/") || (oe += "/");
|
|
2387
|
-
function $e() {
|
|
2388
|
-
document.querySelector(".tsd-full-hierarchy")
|
|
2389
|
-
? ht()
|
|
2390
|
-
: document.querySelector(".tsd-hierarchy") && pt();
|
|
2391
|
-
}
|
|
2392
|
-
function ht() {
|
|
2393
|
-
document.addEventListener("click", (r) => {
|
|
2394
|
-
let i = r.target;
|
|
2395
|
-
for (; i.parentElement && i.parentElement.tagName != "LI"; )
|
|
2396
|
-
i = i.parentElement;
|
|
2397
|
-
i.dataset.dropdown &&
|
|
2398
|
-
(i.dataset.dropdown = String(i.dataset.dropdown !== "true"));
|
|
2399
|
-
});
|
|
2400
|
-
let t = new Map(),
|
|
2401
|
-
e = new Set();
|
|
2402
|
-
for (let r of document.querySelectorAll(
|
|
2403
|
-
".tsd-full-hierarchy [data-refl]",
|
|
2404
|
-
)) {
|
|
2405
|
-
let i = r.querySelector("ul");
|
|
2406
|
-
t.has(r.dataset.refl)
|
|
2407
|
-
? e.add(r.dataset.refl)
|
|
2408
|
-
: i && t.set(r.dataset.refl, i);
|
|
2409
|
-
}
|
|
2410
|
-
for (let r of e) n(r);
|
|
2411
|
-
function n(r) {
|
|
2412
|
-
let i = t.get(r).cloneNode(!0);
|
|
2413
|
-
i.querySelectorAll("[id]").forEach((s) => {
|
|
2414
|
-
s.removeAttribute("id");
|
|
2415
|
-
}),
|
|
2416
|
-
i.querySelectorAll("[data-dropdown]").forEach((s) => {
|
|
2417
|
-
s.dataset.dropdown = "false";
|
|
2418
|
-
});
|
|
2419
|
-
for (let s of document.querySelectorAll(`[data-refl="${r}"]`)) {
|
|
2420
|
-
let o = gt(),
|
|
2421
|
-
a = s.querySelector("ul");
|
|
2422
|
-
s.insertBefore(o, a),
|
|
2423
|
-
(o.dataset.dropdown = String(!!a)),
|
|
2424
|
-
a || s.appendChild(i.cloneNode(!0));
|
|
2425
|
-
}
|
|
2426
|
-
}
|
|
2427
|
-
}
|
|
2428
|
-
function pt() {
|
|
2429
|
-
let t = document.getElementById("tsd-hierarchy-script");
|
|
2430
|
-
t && (t.addEventListener("load", Ve), Ve());
|
|
2431
|
-
}
|
|
2432
|
-
async function Ve() {
|
|
2433
|
-
let t = document.querySelector(".tsd-panel.tsd-hierarchy:has(h4 a)");
|
|
2434
|
-
if (!t || !window.hierarchyData) return;
|
|
2435
|
-
let e = +t.dataset.refl,
|
|
2436
|
-
n = await R(window.hierarchyData),
|
|
2437
|
-
r = t.querySelector("ul"),
|
|
2438
|
-
i = document.createElement("ul");
|
|
2439
|
-
if (
|
|
2440
|
-
(i.classList.add("tsd-hierarchy"),
|
|
2441
|
-
ft(i, n, e),
|
|
2442
|
-
r.querySelectorAll("li").length == i.querySelectorAll("li").length)
|
|
2443
|
-
)
|
|
2444
|
-
return;
|
|
2445
|
-
let s = document.createElement("span");
|
|
2446
|
-
s.classList.add("tsd-hierarchy-toggle"),
|
|
2447
|
-
(s.textContent = window.translations.hierarchy_expand),
|
|
2448
|
-
t.querySelector("h4 a")?.insertAdjacentElement("afterend", s),
|
|
2449
|
-
s.insertAdjacentText("beforebegin", ", "),
|
|
2450
|
-
s.addEventListener("click", () => {
|
|
2451
|
-
s.textContent === window.translations.hierarchy_expand
|
|
2452
|
-
? (r.insertAdjacentElement("afterend", i),
|
|
2453
|
-
r.remove(),
|
|
2454
|
-
(s.textContent = window.translations.hierarchy_collapse))
|
|
2455
|
-
: (i.insertAdjacentElement("afterend", r),
|
|
2456
|
-
i.remove(),
|
|
2457
|
-
(s.textContent = window.translations.hierarchy_expand));
|
|
2458
|
-
});
|
|
2459
|
-
}
|
|
2460
|
-
function ft(t, e, n) {
|
|
2461
|
-
let r = e.roots.filter((i) => mt(e, i, n));
|
|
2462
|
-
for (let i of r) t.appendChild(je(e, i, n));
|
|
2463
|
-
}
|
|
2464
|
-
function je(t, e, n, r = new Set()) {
|
|
2465
|
-
if (r.has(e)) return;
|
|
2466
|
-
r.add(e);
|
|
2467
|
-
let i = t.reflections[e],
|
|
2468
|
-
s = document.createElement("li");
|
|
2469
|
-
if ((s.classList.add("tsd-hierarchy-item"), e === n)) {
|
|
2470
|
-
let o = s.appendChild(document.createElement("span"));
|
|
2471
|
-
(o.textContent = i.name), o.classList.add("tsd-hierarchy-target");
|
|
2472
|
-
} else {
|
|
2473
|
-
for (let a of i.uniqueNameParents || []) {
|
|
2474
|
-
let c = t.reflections[a],
|
|
2475
|
-
l = s.appendChild(document.createElement("a"));
|
|
2476
|
-
(l.textContent = c.name),
|
|
2477
|
-
(l.href = oe + c.url),
|
|
2478
|
-
(l.className = c.class + " tsd-signature-type"),
|
|
2479
|
-
s.append(document.createTextNode("."));
|
|
2480
|
-
}
|
|
2481
|
-
let o = s.appendChild(document.createElement("a"));
|
|
2482
|
-
(o.textContent = t.reflections[e].name),
|
|
2483
|
-
(o.href = oe + i.url),
|
|
2484
|
-
(o.className = i.class + " tsd-signature-type");
|
|
2485
|
-
}
|
|
2486
|
-
if (i.children) {
|
|
2487
|
-
let o = s.appendChild(document.createElement("ul"));
|
|
2488
|
-
o.classList.add("tsd-hierarchy");
|
|
2489
|
-
for (let a of i.children) {
|
|
2490
|
-
let c = je(t, a, n, r);
|
|
2491
|
-
c && o.appendChild(c);
|
|
2492
|
-
}
|
|
2493
|
-
}
|
|
2494
|
-
return r.delete(e), s;
|
|
2495
|
-
}
|
|
2496
|
-
function mt(t, e, n) {
|
|
2497
|
-
if (e === n) return !0;
|
|
2498
|
-
let r = new Set(),
|
|
2499
|
-
i = [t.reflections[e]];
|
|
2500
|
-
for (; i.length; ) {
|
|
2501
|
-
let s = i.pop();
|
|
2502
|
-
if (!r.has(s)) {
|
|
2503
|
-
r.add(s);
|
|
2504
|
-
for (let o of s.children || []) {
|
|
2505
|
-
if (o === n) return !0;
|
|
2506
|
-
i.push(t.reflections[o]);
|
|
2507
|
-
}
|
|
2508
|
-
}
|
|
2509
|
-
}
|
|
2510
|
-
return !1;
|
|
2511
|
-
}
|
|
2512
|
-
function gt() {
|
|
2513
|
-
let t = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
2514
|
-
return (
|
|
2515
|
-
t.setAttribute("width", "20"),
|
|
2516
|
-
t.setAttribute("height", "20"),
|
|
2517
|
-
t.setAttribute("viewBox", "0 0 24 24"),
|
|
2518
|
-
t.setAttribute("fill", "none"),
|
|
2519
|
-
(t.innerHTML = '<use href="#icon-chevronDown"></use>'),
|
|
2520
|
-
t
|
|
2521
|
-
);
|
|
2522
|
-
}
|
|
2523
|
-
X(re, "a[data-toggle]");
|
|
2524
|
-
X(ie, ".tsd-accordion");
|
|
2525
|
-
X(ee, ".tsd-filter-item input[type=checkbox]");
|
|
2526
|
-
var qe = document.getElementById("tsd-theme");
|
|
2527
|
-
qe && He(qe);
|
|
2528
|
-
var yt = new Z();
|
|
2529
|
-
Object.defineProperty(window, "app", { value: yt });
|
|
2530
|
-
_e();
|
|
2531
|
-
Ne();
|
|
2532
|
-
$e();
|
|
2533
|
-
"virtualKeyboard" in navigator &&
|
|
2534
|
-
(navigator.virtualKeyboard.overlaysContent = !0);
|
|
2535
|
-
})();
|
|
2536
|
-
/*! Bundled license information:
|
|
2537
|
-
|
|
2538
|
-
lunr/lunr.js:
|
|
2539
|
-
(**
|
|
2540
|
-
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9
|
|
2541
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
2542
|
-
* @license MIT
|
|
2543
|
-
*)
|
|
2544
|
-
(*!
|
|
2545
|
-
* lunr.utils
|
|
2546
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
2547
|
-
*)
|
|
2548
|
-
(*!
|
|
2549
|
-
* lunr.Set
|
|
2550
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
2551
|
-
*)
|
|
2552
|
-
(*!
|
|
2553
|
-
* lunr.tokenizer
|
|
2554
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
2555
|
-
*)
|
|
2556
|
-
(*!
|
|
2557
|
-
* lunr.Pipeline
|
|
2558
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
2559
|
-
*)
|
|
2560
|
-
(*!
|
|
2561
|
-
* lunr.Vector
|
|
2562
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
2563
|
-
*)
|
|
2564
|
-
(*!
|
|
2565
|
-
* lunr.stemmer
|
|
2566
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
2567
|
-
* Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt
|
|
2568
|
-
*)
|
|
2569
|
-
(*!
|
|
2570
|
-
* lunr.stopWordFilter
|
|
2571
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
2572
|
-
*)
|
|
2573
|
-
(*!
|
|
2574
|
-
* lunr.trimmer
|
|
2575
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
2576
|
-
*)
|
|
2577
|
-
(*!
|
|
2578
|
-
* lunr.TokenSet
|
|
2579
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
2580
|
-
*)
|
|
2581
|
-
(*!
|
|
2582
|
-
* lunr.Index
|
|
2583
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
2584
|
-
*)
|
|
2585
|
-
(*!
|
|
2586
|
-
* lunr.Builder
|
|
2587
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
2588
|
-
*)
|
|
2589
|
-
*/
|